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

From OnnoWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Install Web Server & SSH Server
+
Install [[Web Server]] & [[SSH Server]]
  
  # apt-get install apache2 openssh-server
+
  apt-get install apache2 openssh-server
  
Mungkin akan lebih baik kalau dapat menginstalasi sekaligus dengan MySQL, PHP dll.
+
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 \
+
  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
 
  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==
 
==Restart Server==
Line 18: 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]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

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