Cara Install Webmin di Ubuntu/Debian Server

Installasi webmin sendiri, pada ubuntu dan debian mirip ya, jadi tutorial ini bisa diaplikasikan ke dua distro linux tersebut, karena seperti yang anda ketahui bahwa ubuntu adalah turunan dari distro debian.

Gambar 1.0

Langsung saja login ke server anda dengan ssh menggunakan aplikasi Putty atau sejenisnya.

Disini juga akan dijelaskan dengan 2 cara installasi, yaitu via deb package atau APT repo.

  1. Install via Deb Package
    Pertama update dulu server anda, dan install aplikasi yang dibutuhkan

    apt-get update
    apt-get upgrade -y
    apt-get install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python -y
    

    Download file webmin dan lakukan install

    wget http://prdownloads.sourceforge.net/webadmin/webmin_1.881_all.deb
    dpkg --install webmin_1.881_all.deb
    

    Hasilnya akan tampil seperti berikut :

    root@cana:~# dpkg --install webmin_1.881_all.deb
    Selecting previously unselected package webmin.
    (Reading database ... 28928 files and directories currently installed.)
    Preparing to unpack webmin_1.881_all.deb ...
    Unpacking webmin (1.881) ...
    Setting up webmin (1.881) ...
    Webmin install complete. You can now login to https://xxxxx:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.
    Processing triggers for systemd (215-17+deb8u7) ...
    root@cana:~# 
    

    Selanjutnya login ke webmin dari URL https://IPVPS:10000/ dengan user dan password sama dengan ssh root anda.

    Gambar 1.1 (Login Webmin)

    Tapi kami tetap menyarankan anda install melalui APT repo, karena installasi webmin versi terbaru.

  2. Install via APT Repo
    Pertama, update server anda dan install aplikasi pendukung

    apt-get update
    apt-get upgrade -y
    apt-get install nano -y
    cd /root
    wget http://www.webmin.com/jcameron-key.asc
    apt-key add jcameron-key.asc
    

    Jalankan command: nano /etc/apt/sources.list , pastekan dipaling bawah :

    deb https://download.webmin.com/download/repository sarge contrib
    

    Tekan CTRL +X kemudian Y untuk menyimpan

    Lanjut, jalankan command berikut untuk installasi :

    apt-get install apt-transport-https -y
    apt-get update
    apt-get install webmin -y
    
    root@fra:~# apt-get install webmin -y
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
     apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpython-stdlib
     libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal
    Suggested packages:
     python-doc python-tk python2.7-doc binutils binfmt-support
    The following NEW packages will be installed:
     apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpython-stdlib
     libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal webmin
    0 upgraded, 13 newly installed, 0 to remove and 1 not upgraded.
    Need to get 19.7 MB of archives.
    After this operation, 187 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [340 kB]
    Get:2 https://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.881 [15.4 MB]
    Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.3 [1,261 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-minimal amd64 2.7.12-1~16.04 [28.1 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.3 [1,880 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.3 [224 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-stdlib amd64 2.7.12-1~16.04 [7,768 B]
    Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python amd64 2.7.12-1~16.04 [137 kB]
    Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libnet-ssleay-perl amd64 1.72-1build1 [259 kB]
    Get:10 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libauthen-pam-perl amd64 0.16-3build2 [23.9 kB]
    Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libio-pty-perl amd64 1:1.08-1.1build1 [30.2 kB]
    Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libapt-pkg-perl amd64 0.1.29build7 [65.3 kB]
    Get:13 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 apt-show-versions all 0.22.7 [29.6 kB]
    Fetched 19.7 MB in 3s (5,180 kB/s)
    Selecting previously unselected package libpython2.7-minimal:amd64.
    (Reading database ... 91544 files and directories currently installed.)
    Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
    Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
    Selecting previously unselected package python2.7-minimal.
    Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
    Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
    Selecting previously unselected package python-minimal.
    Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
    Unpacking python-minimal (2.7.12-1~16.04) ...
    Selecting previously unselected package libpython2.7-stdlib:amd64.
    Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
    Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
    Selecting previously unselected package python2.7.
    Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.3_amd64.deb ...
    Unpacking python2.7 (2.7.12-1ubuntu0~16.04.3) ...
    Selecting previously unselected package libpython-stdlib:amd64.
    Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_amd64.deb ...
    Unpacking libpython-stdlib:amd64 (2.7.12-1~16.04) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for mime-support (3.59ubuntu1) ...
    Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.3) ...
    Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.3) ...
    Linking and byte-compiling packages for runtime python2.7...
    Setting up python-minimal (2.7.12-1~16.04) ...
    Selecting previously unselected package python.
    (Reading database ... 92290 files and directories currently installed.)
    Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
    Unpacking python (2.7.12-1~16.04) ...
    Selecting previously unselected package libnet-ssleay-perl.
    Preparing to unpack .../libnet-ssleay-perl_1.72-1build1_amd64.deb ...
    Unpacking libnet-ssleay-perl (1.72-1build1) ...
    Selecting previously unselected package libauthen-pam-perl.
    Preparing to unpack .../libauthen-pam-perl_0.16-3build2_amd64.deb ...
    Unpacking libauthen-pam-perl (0.16-3build2) ...
    Selecting previously unselected package libio-pty-perl.
    Preparing to unpack .../libio-pty-perl_1%3a1.08-1.1build1_amd64.deb ...
    Unpacking libio-pty-perl (1:1.08-1.1build1) ...
    Selecting previously unselected package libapt-pkg-perl.
    Preparing to unpack .../libapt-pkg-perl_0.1.29build7_amd64.deb ...
    Unpacking libapt-pkg-perl (0.1.29build7) ...
    Selecting previously unselected package apt-show-versions.
    Preparing to unpack .../apt-show-versions_0.22.7_all.deb ...
    Unpacking apt-show-versions (0.22.7) ...
    Selecting previously unselected package webmin.
    Preparing to unpack .../archives/webmin_1.881_all.deb ...
    Unpacking webmin (1.881) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for systemd (229-4ubuntu21.1) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.3) ...
    Setting up python2.7 (2.7.12-1ubuntu0~16.04.3) ...
    Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
    Setting up python (2.7.12-1~16.04) ...
    Setting up libnet-ssleay-perl (1.72-1build1) ...
    Setting up libauthen-pam-perl (0.16-3build2) ...
    Setting up libio-pty-perl (1:1.08-1.1build1) ...
    Setting up libapt-pkg-perl (0.1.29build7) ...
    Setting up apt-show-versions (0.22.7) ...
    ** initializing cache. This may take a while **
    Setting up webmin (1.881) ...
    Webmin install complete. You can now login to https://xxxxx:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.
    Processing triggers for systemd (229-4ubuntu21.1) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    root@fra:~#
    

    Selanjutnya login ke webmin dari URL https://IPVPS:10000/ dengan user dan password sama dengan ssh root anda.

    Gambar 1.1 (Login Webmin)

Catatan :
Jika anda tidak menggunakan root akun, pastikan anda menambahkan sudo disetiap command

sudo apt-get update
sudo apt-get upgrade -y

Leave a Reply

Your email address will not be published. Required fields are marked *