Apache Virtual Host dan Webmin

Setelah DNS sudah berhasil akan coba dibuat apache virtual, sehingga orang lain atau client dapat melihat website kita dengan server mesin kita, akan coba juga diinstal webmin untuk memudahkan pengaturan website.

IP 192.168.0.1, domain rhesa.swiftco.net

Biasanya service httpd sudah include di dalam paket centos.

1. Tambahkan baris seperti dibawah ini pada file /etc/httpd/conf/httpd.conf

[root@rhesa ~]# nano /etc/httpd/conf/httpd.conf

ServerAdmin webmaster@rhesa.swiftco.net
DocumentRoot /var/www/html/
ServerName rhesa.swiftco.net

2. Setelah itu jalankan service httpd

[root@rhesa ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

kemudian silahkan buka rhesa.swiftco.net

traataaa…..

3. Kemudian kita juga akan coba install webmin 1.3.60.
apabila belum terdapat dalam paket dapat download disini kemudian extract file tersebut

[root@rhesa ~]# tar -xzvf webmin-1.360.tar.gz

processing….

kemudian setelah proses selesai masuk ke directory webmin-1.360 install dengan perintah
[root@rhesa ~]#./setup.sh

processing….

***********************************************************************
* Welcome to the Webmin setup script, version 1.360 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /root/webmin-1.360 …
***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]: tekan enter
Log file directory [/var/webmin]: tekan enter
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
Full path to perl (default /usr/bin/perl): tekan enter
Testing Perl …
Perl seems to be installed ok
Operating system name: Centos
Operating system version: 4-i386
***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
– What port to run the web server on. There must not be another
web server already using this port.
– The login name required to access the web server.
– The password required to access the web server.
– If the webserver should use SSL (if your system supports it).
– Whether to start webmin at boot time.
Web server port (default 10000): 666
Login name (default admin): admin
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): Y
***********************************************************************
Creating web server config files..
..done
Creating access control file..
..done
Inserting path to perl into scripts..
..done
Creating start and stop scripts..
..done
Copying config files..
..done
Configuring Webmin to start at boot time..
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
: Permission denied
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /root/webmin-1.360
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web browser to go to

http://rhesa.swiftco.net:666/
and login with the name and password you entered previously.

setelah proses diatas berjalan dengan baik anda dapat langsung mengakses webmin dengan pada website anda..

0 Responses to “Apache Virtual Host dan Webmin”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow me

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Status

Kirim Pesan YM