Thứ Hai, 21 tháng 5, 2012

Auto Install software in ubuntu

Install software in ubuntu


#!/bin/bash

# update software
apt-get update


# install mysql-server
debconf-set-selections <<< 'mysql-server-5.1 mysql-server/root_password password password'
debconf-set-selections <<< 'mysql-server-5.1 mysql-server/root_password_again password password'
apt-get -y install mysql-server


# install sqlite
apt-get -y install sqlite libsqlite3-0 libsqlite3-dev


# install php5-cli
apt-get -y install php5-cli


# install php5-cgi
apt-get -y install php5-cgi


# install php5-curl
apt-get -y install php5-curl


# install php5-mysql
apt-get -y install php5-mysql


# install php5-sqlite
apt-get -y install php5-sqlite


# install php5-memcache
apt-get -y install php5-memcache


# install php5-gd
apt-get -y install php5-gd


# install php5-common
apt-get -y install php5-common


# install php5-pear
apt-get -y install php-pear


# install php5-dev
apt-get -y install php5-dev


#install apache2
apt-get -y install apache2
apt-get -y install php5
apt-get -y install libapache2-mod-php5


#install phpmyadmin
#apt-get -y install phpmyadmin


#install zend-framework
apt-get -y install zend-framework
#sudo gedit /etc/php5/apache2/php.ini
#;UNIX: ";/path1:/path2";
#;include_path = ".:/usr/share/php";
#include_path = ".:/usr/share/php:/usr/local/ZendFramework/library"


# install sendmail
apt-get -y install sendmail


# install timeout
apt-get -y install timeout
apt-get -y install coreutils


# install unrar
apt-get -y install unrar


# install p7zip
apt-get -y install p7zip p7zip-full


# install subversion
apt-get -y install subversion


# install imagemagick
apt-get -y install imagemagick

Không có nhận xét nào:

Đăng nhận xét