SchoolOnffLine: Instalasi Apache2 & OpenSSH Server

From SpeedyWiki

Jump to: navigation, search

Install Web Server & SSH Server

apt-get install apache2 openssh-server

Mungkin akan lebih baik kalau dapat menginstalasi sekaligus dengan MySQL, PHP dll.

apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev \
php5-mysql php5-gd php5-curl php-pear unzip php5-xmlrpc libnet-ssleay-perl openssh-server catdoc

Perbaiki MySQL

chown -R mysql.mysql /var/run/mysqld/
chmod 755 /var/run/mysqld/
/usr/bin/mysqld_safe &

Buang index.html dari /var/www/

rm /var/www/index.*

[edit] Restart Server

/etc/init.d/apache2 restart
/etc/init.d/ssh restart
/etc/init.d/mysql restart

[edit] Pranala Menarik

Personal tools