Webmin III

Nah saatnya kali ini kita masuk ke tahap penginstalasian Webmin, pembaca dapat mendownload Webmin ini di situs resminya, yaitu http://webmin.com/. Disana terdapat banyak pilihan untuk versi filenya, sesuaikan dengan kebutuhan dari pembaca. kali ini penulis menggunakan paket Webmin yang berextensi tarball.

nah kalau sudah di download, mari kita mulai bekerja.

Langkah Pertama yang harus kita lakukan, kita copy kan terlebih dahulu file webmin yang telah di download sebelumnya ke direktori /usr/local/src

root@cupid-laptop:~# cp /media/disk/downloads/webmin-1.441.tar.gz /usr/local/src/

Langkah Kedua, cek terlebih dahulu apakah file webmin tersebut telah tercopy atau belum

root@cupid-laptop:~# ls /usr/local/src/
webmin-1.441.tar.gz

Langkah Ketiga, Extract file Webmin tersebut

root@cupid-laptop:/usr/local/src# tar -xzvf webmin-1.441.tar.gz

Langkah Keempat, pindah direktori ke direktori webmin yang telah diExtract

root@cupid-laptop:/usr/local/src# cd webmin-1.441

Langkah Kelima, ada baiknya kita membaca file README terlebih dahulu sebelum memulai proses instalasi (ini sifatnya wajib)

root@cupid-laptop:/usr/local/src/webmin-1.441# cat README

Langkah Keenam, kita jalankan file setup.sh, hal ini dilakukan sesuai dengan petunjuk dari file README yang telah kita baca sebelumnya.

root@cupid-laptop:/usr/local/src/webmin-1.441# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.441        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/src/webmin-1.441 …

***********************************************************************
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]:  //Enter
Log file directory [/var/webmin]:  //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):  //Enter

Testing Perl …
Perl seems to be installed ok

***********************************************************************
Operating system name:    Ubuntu Linux
Operating system version: 8.10

***********************************************************************
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):  //Default port untuk webmin adalah 10000, bisa dirubah terserah anda.
Login name (default admin):  //Enter (username defaultnya adalah admin)
Login password:  //Masukkan Passwordnya
Password again:   //Masukkan lagi Passwordnya
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y // Tekan huruf 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..
Created init script /etc/init.d/webmin
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/src/webmin-1.441
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

http://cupid-laptop:10000/

and login with the name and password you entered previously.

Langkah Ketujuh, Menginstall paket SSL, hal ini dilakukan agar webmin yang kita miliki dapat sedikit aman dari tindakan sniffer. Disini nantinya kita menggunakan protokol https dengan nomor port defaultnya adalah 443.

root@cupid-laptop:/usr/local/src/webmin-1.441# sudo apt-get install libauthen-pam-perl libnet-ssleay-perl libpam-runtime

Langkah Kedelapan, aktifkan modul SSL yang telah kita install sebelumnya.

root@cupid-laptop:/usr/local/src/webmin-1.441# cd /etc/webmin/
root@cupid-laptop:/etc/webmin# vi miniserv.conf

port=10000
root=/usr/local/src/webmin-1.441
mimetypes=/usr/local/src/webmin-1.441/mime.types
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/var/webmin/miniserv.log
errorlog=/var/webmin/miniserv.error
pidfile=/var/webmin/miniserv.pid
logtime=168
ppath=
ssl=0  //Ubah angka 0 menjadi angka 1 untuk mengaktifkan modul SSL
env_WEBMIN_CONFIG=/etc/webmin
env_WEBMIN_VAR=/var/webmin
atboot=1
logout=/etc/webmin/logout-flag
listen=10000
denyfile=\.pl$
log=1
blockhost_failures=5
blockhost_time=60
syslog=1
session=1
userfile=/etc/webmin/miniserv.users
keyfile=/etc/webmin/miniserv.pem
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
preroot=blue-theme
passdelay=1

Langkah Terakhir, kita test webmin yang telah kita install sebelumnya.
webmin 1

webmin 2

webmin 3

webmin 4

webmin 5

webmin 6

~ by cupid13 on November 21, 2008.

Leave a Reply