Ubuntu Lucid 10.4 LTS Server – Apache, PHP, MySQL, PHPmyadmin, ProFTPd and more

Инсталиране на ssh

sudo apt-get install ssh openssh-server

Инсталиране на apache, php, mysql, phpmyadmin и др.

sudo apt-get install apache2 apache2.2-common apache2-doc \
apache2-mpm-prefork apache2-utils libexpat1 ssl-cert php5 \
libapache2-mod-php5 mysql-server mysql-client php5-mysql \
php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap \
php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell \
php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc \
php5-xsl php5-common php5-cli php5-cgi libapache2-mod-fcgid \
apache2-suexec php-auth mcrypt imagemagick \
libapache2-mod-suphp libopenssl-ruby phpmyadmin

Зареждане на apache модулите

sudo a2enmod suexec rewrite ssl actions include

Рестартиране на apache

sudo /etc/init.d/apache2 restart

Инсталиране на ntp, bind, proftpd и други

sudo apt-get install ntp bind9 proftpd htop bmon traceroute nmap mc

В конфигурационния файл /etc/proftpd/proftpd.conf трябва да се добави

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

Рестартиране на proftpd.conf

sudo /etc/init.d/proftpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *