Apache Virtual Host dan Webmin

on Friday, December 26, 2008



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

Powered by putra koreng ( meta: Putra Koreng blog's, naruto, Putra Koreng blog's, mp3, video, software, naruto, naruto episodes, naruto manga, naruto shows, naruto characters, naruto games, naruto music, naruto wallpapers, naruto movies, naruto manga, naruto chapter, naruto shippuuden, sasuke, sakura, download naruto, episode, season, character profile, akatsuki, konoha ninja, Tsunade, jiraiya, hatake kakashi, orochimaru, rock lee, neji hyuga, Gaara, kankuro, pain, konan, kakuzu, kisame, sasori, tobi, itachi, shikamaru, temari, tenten, zetsu, hokage, kazekage, kyuubi, jinchuriki, kurenai, asuma, sarutobi, maito gai, madara, uchiha, hidan, deidara, team, bleach, Free download, free Mp3, Soft-best, Softarchive, adsense, free money online, new movie, new mp3, programming, full software, eset update, nod32, Tips Adsense, Mac PC)