Created
July 30, 2012 15:36
-
-
Save nicolasramy/3207869 to your computer and use it in GitHub Desktop.
Installation script for debian / ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First step | |
apt-get update | |
apt-get upgrade | |
# Error | |
# W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. | |
# W: mdadm: no arrays defined in configuration file. | |
>> Need a solution to solve this problem | |
# Install first tools | |
apt-get install vim htop tree | |
# Add dotdeb repositories | |
vim /etc/apt/sources.list | |
deb http://packages.dotdeb.org squeeze all | |
deb-src http://packages.dotdeb.org squeeze all | |
# Get dotdeb Key | |
cd /tmp | |
wget http://www.dotdeb.org/dotdeb.gpg | |
cat dotdeb.gpg | apt-key add - | |
apt-get update | |
# Nginx | |
apt-get install nginx | |
# Nginx + PHP5-FPM | |
apt-get install nginx php5-common php5-curl php5-fpm php5-gd php5-imap php5-mcrypt php5-mysql php5-suhosin | |
# Apache2 | |
apt-get install apache2 | |
# Apache2 + PHP5 | |
apt-get install apache2 libapache2-mod-php5 php5-common php5-curl php5-fpm php5-gd php5-imap php5-mcrypt php5-mysql php5-suhosin | |
# MySQL | |
apt-get install mysql-server | |
# Jenkins | |
vim /etc/apt/sources.list | |
deb http://pkg.jenkins-ci.org/debian binary/ | |
cd /tmp | |
wget http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | |
cat jenkins-ci.org.key | apt-key add - | |
apt-get update | |
apt-get install jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment