Difference between revisions of "SchoolOnffLine: Instalasi Apache2 & OpenSSH Server"

From OnnoWiki
Jump to navigation Jump to search
 
Line 8: Line 8:
 
  php5-mysql php5-gd php5-curl php-pear unzip php5-xmlrpc libnet-ssleay-perl openssh-server catdoc
 
  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/
 
Buang index.html dari /var/www/

Latest revision as of 10:51, 26 November 2010

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.*

Restart Server

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

Pranala Menarik