Home > Linux, Networking > Install Webmin di CentOS 5

Install Webmin di CentOS 5

Webmin adalah suatu antarmuka berbasis web untuk melakukan administrasi sistem pada Unix/Linux. Dengan webmin, kita dapat mengatur setting user account, file sharing, DNS, Apache, dan masih banyak lagi. Webmin mengandung skrip CGI yang secara langsung melakukan update terhadap file-file sistem seperti /etc/passwd dan /etc/inetd.conf. Karena berbasis web, maka webmin bisa diakses dari berbagai distro dan sistem operasi lain, seperti Windows dan Macintosh.

Instalasi Webmin:
1. Download paket webmin di website http://www.webmin.com. Di sana tersedia berbagai macam format file, seperti tar,gz, rpm, pkg.gz, deb dan zip.
Unix tar/gzip format
http://prdownloads.sourceforge.net/webadmin/webmin-1.450.tar.gz 14M
RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux
http://prdownloads.sourceforge.net/webadmin/webmin-1.450-1.noarch.rpm 15M
Debian package suitable for Debian, Ubuntu or other derived Linux
http://prdownloads.sourceforge.net/webadmin/webmin_1.450_all.deb 14M
Source RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux
http://prdownloads.sourceforge.net/webadmin/webmin-1.450-1.src.rpm 14M
Solaris package format
http://prdownloads.sourceforge.net/webadmin/webmin-1.450.pkg.gz 14M
ZIP format suitable for Windows
http://prdownloads.sourceforge.net/webadmin/webmin-1.450.zip 18M
Minimal version of Webmin, Unix tar/gzip format
http://prdownloads.sourceforge.net/webadmin/webmin-1.450-minimal.tar.gz 1.6M


Disini saya menggunakan format tar.gz.
Masuk ke dir /usr/src/ dan download webmin.

[root@bagelen ~]# cd /usr/src/
[root@bagelen] [/usr/src]# wget http://transact.dl.sourceforge.net/sourceforge/webadmin/webmin-1.450.tar.gz
--11:27:40--  http://transact.dl.sourceforge.net/sourceforge/webadmin/webmin-1.450.tar.gz
Resolving transact.dl.sourceforge.net... 202.55.147.10
Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14023725 (13M) [application/x-gzip]
Saving to: `webmin-1.450.tar.gz'

100%[====================================================================================>] 14,023,725   752K/s   in 20s

11:28:06 (693 KB/s) - `webmin-1.450.tar.gz' saved [14023725/14023725]

2. Pastikan sistem Andah sudah terinstall perl versi 5. Untuk mengecek apakah sudah terinstall Perl versi 5, gunakan perintah “perl -v”

[root@bagelen] [/usr/src]# perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Jika belum, maka install dl perl module Net::SSLeay.

[root@bagelen] [/usr/src]# yum -y install perl-Net-SSLeay
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Determining fastest mirrors
 * base: mirrors.liquidweb.com
 * updates: updates.interworx.info
 * addons: mirror.steadfast.net
 * extras: mirror.steadfast.net
Reading repository metadata in from local files
Parsing package install arguments

3. Ekstrak file webmin-1.450.tar.gz. Sehingga akan muncul direktori webmin-1.450. Masuk ke direktori webmin-1.450

[root@bagelen] [/usr/src]# tar -xzvf webmin-1.450.tar.gz
[root@bagelen] [/usr/src]# cd webmin-1.450

4. Jalankan file setup.sh, untuk menjalankan setup.sh harus sebagai root.

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

Installing Webmin in /usr/src/webmin-1.450 ...

***********************************************************************
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):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 5

***********************************************************************
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):
Login name (default admin): admin
Login password:
Password again:
Use SSL (y/n): y
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..
Created init script /etc/rc.d/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/src/webmin-1.450
..done

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

  https://bagelen.net:10000/

and login with the name and password you entered previously.

Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

Keterangan :
Config file directory : tempat semua file konfigurasi Webmin disimpan, defaultnya /etc/webmin/
Log file directory : direktori dimana log webmin, defaultnya /var/webmin/
Full path to perl (default /usr/bin/perl)
Web server port (default 10000): port yang digunakan untuk webmin
Login name (default admin): username yang dipakai untuk menjalankan webmin
Login password: passwordnya
Password again: passwordnya
Use SSL (y/n): pertanyaan ini ada jika sudah terinstall library Perl SSL.
Start Webmin at boot time (y/n): menjalankan secara otomatis pada saat boot.

Nah, sekarang sudah selesai menginstall webmin dalam server. Untuk mencoba webmin, buka browser dan ketikkan : http://namaserver:10000/, sebagai contoh http://bagelen.net:10000/


Karena saya install dengan SSL maka alamat seharusnya diakses : https://bagelen.net:10000/

Login dengan username dan passwordnya.

Referensi :
1. Google.
2. http://www.webmin.com/
3. Eksperimen

  1. January 29th, 2011 at 20:58 | #1
    Using Mozilla Firefox Mozilla Firefox 3.6.13 on Windows Windows XP

    numpang copas nanti nya 🙂
    nais share

  2. April 1st, 2011 at 15:10 | #2
    Using Google Chrome Google Chrome 10.0.648.203 on Linux Linux

    Assalamu’alaikum

    Lagi nyari referensi webmin eh nyasar ksini 🙂
    gimana kabarnya?
    dah lulus blom?

    wassalam
    fb: acegaliz@gmail.com

  3. November 22nd, 2011 at 11:30 | #3
    Using Mozilla Firefox Mozilla Firefox 7.0.1 on Windows Windows XP

    terimah atas artikelnya saya orang baru di dunia linux, dan masih banyak belajar dari para master

  4. February 6th, 2012 at 09:07 | #4
    Using Mozilla Firefox Mozilla Firefox 7.0.1 on Windows Windows XP

    nice artikel..

  1. No trackbacks yet.

*

Bad Behavior has blocked 80 access attempts in the last 7 days.