Skip to content

Commit dad9ca9

Browse files
committedMar 14, 2019
Formatting of files
1 parent 8c81294 commit dad9ca9

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed
 

‎LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# License
22

3-
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Backend Stuff</span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Francisco Quintero</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
3+
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Backend Stuff</span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Francisco Quintero</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.

‎README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
# Stuff for Backends
22

3-
A collection of configuration scripts for Ubuntu servers. Most of the work present here works from Ubuntu 12.04.
3+
A collection of configuration scripts for Ruby on Rails applications(mainly) hosted in Ubuntu servers. Most of the work present here should work for Ubuntu 12.04+ machines.
44

5-
Scrips located in [dependencies](dependencies/) folder are meatn to work with [debian-based](https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based) distros:
6-
7-
- Ubuntu
8-
- Linux Mint
9-
- ElementaryOS
10-
- Kubuntu
11-
- Lubuntu
5+
Scrips located in [dependencies](dependencies/) folder are meant to work with [debian-based Linux distros](https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based).
126

137
**Notice**
148

15-
All scripts asume you're setting up an AWS Ubuntu EC2 instance. This means that the system user in all scripts is always _ubuntu_.
9+
All scripts asume you're setting up an AWS Ubuntu EC2 instance. This means that the system user in all scripts is always _ubuntu_. Bear it in mind when applying these scripts to a different system user.
1610

1711
## Usage
1812

19-
Just run scripts with _sudo bash_ command:
13+
Run scripts with _sudo bash_ command:
2014

2115
```bash
2216
$ sudo bash ./dependencies/install_nginx.sh
2317
```
2418

25-
Except `dependencies/install_rvm.sh` which SHOULD be run only with _bash_ command. Doing as super user, would install it under `/root` folder.
19+
Except `dependencies/install_rvm.sh` which SHOULD be run only with _bash_ command. Doing as super user, would install RVM under `/root` folder.
2620

2721
## Folders
2822

‎dependencies/install_image_magick.sh

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
#!/bin/bash
22

3-
echo "--> Installing Image magick in the machine..."
3+
echo "Installing Image magick from source"
4+
45
apt-get update
5-
apt-get -y install libpng12-dev libglib2.0-dev zlib1g-dev libbz2-dev libtiff4-dev libjpeg8-dev
6+
apt-get -y install \
7+
libpng12-dev \
8+
libglib2.0-dev \
9+
zlib1g-dev \
10+
libbz2-dev \
11+
libtiff4-dev \
12+
libjpeg8-dev
13+
614
mkdir -p ~/image_magick_download
15+
716
cd ~/image_magick_download
817
wget http://www.imagemagick.org/download/ImageMagick.tar.gz
918
tar -xzf ImageMagick.tar.gz
19+
1020
cd ImageMagick-*
1121
echo "Proceding to compile ImageMagick"
22+
1223
sudo ./configure
1324
sudo make
1425
sudo make install
1526
sudo ldconfig /usr/local/lib
27+
1628
echo "Image magick installation is now completed... Hopefully"

‎dependencies/install_java8.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
add-apt-repository -y ppa:webupd8team/java
99
apt-get update
10-
apt-get -y install oracle-java8-installer
10+
apt-get -y install oracle-java8-installer

‎dependencies/install_jenkins.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
44
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
55
sudo apt-get update
6-
sudo apt-get -y install jenkins
6+
sudo apt-get -y install jenkins

0 commit comments

Comments
 (0)