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

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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/
Line 21: Line 26:
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 +
* [[Mengatasi Masalah Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock']]
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 
* [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]

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