SchoolOnffLine: Instalasi Apache2 & OpenSSH Server: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
No edit summary
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


Line 11: Line 11:
Buang index.html dari /var/www/
Buang index.html dari /var/www/


  # rm /var/www/index.*
  rm /var/www/index.*
 
 
 


==Restart Server==
==Restart Server==

Revision as of 12:38, 17 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


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