Blogroll





Jumat, 28 Desember 2012

Cara install webmin di Ubuntu


Bagi yang belum tahu cara untuk install webmin di ubuntu khususnya, disini saya akan berbagi cara untuk menginstall webmin di ubuntu dengan menggunakan “apt-get”. Sebelumnya pastikan ubuntu sudah terinstall dengan baik dan terhubung ke internet. dimana aplikasi webmin ini akan memudahkan kita untuk mengatur dan memonitor server ubuntu.
Langkah2 Cara install webmin di ubuntu:
  1. Buka putty dan login ke ubuntu server kalian masing2 kemudian jadikan super user (sudo su)
  2. ketikkan perintah:
  3. vi /etc/apt/sources.list
  4. Setelah program editor vi terbuka isikan kode berikut (sebelumnya tekan tombol “insert”):
  5. deb http://download.webmin.com/download/repository sarge contrib
    Setelah itu simpan dan keluar dari program editor vi (tekan tombol “esc” 1x) dan ketikkan perintah:
    :wq
  6. Kemudian Lakukan update source dengan mengetikkan perintah:
  7. apt-get update
    Catatan: kalo nongol error seperti ini: W: GPG error: http://download.webmin.com sarge Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D97A3AE911F63, ketikkan perintah:
    gpg --keyserver pgpkeys.mit.edu --recv-key D97A3AE911F63C51 && gpg -a --export D97A3AE911F63C51 | sudo apt-key add -
  8. Setelah itu installah webmin dengan mengetikkan perintah:
  9. apt-get install webmin
  10. Tekan tombol yes untuk melanjutkan proses penginstallan, setelah semua paket terinstall kita bisa mengakses webmin dengan browser dan ketikkan alamat: https://192.168.0.200:10000
  11. Dengan catatan: 192.168.0.200 adalah ip address server ubuntu kita.
Sebelumnya ganti dahulu password root untuk webminnya dengan cara mengetikkan perintah:
/usr/share/webmin/changepass.pl /etc/webmin root 123456
Selesai sudah, kita tinggal login menggunakan username: root dan passowrd: 123456
Cara lain untuk menginstall webmin di Ubuntu Linux 11.10 Server
Disini saya akan menginstall paket yang ada untuk debian yaitu webmin 1.580.
Sebelumnya install dulu paket pendukung nya:
root@ProxyScan:/etc/squid# aptitude -y install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl apt-show-versions libapt-pkg-perl
Couldn't find any package whose name or description matched "libmd5-perl"
Couldn't find any package whose name or description matched "libmd5-perl"
The following NEW packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
0 packages upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 193 kB of archives. After unpacking 823 kB will be used.
Get: 1 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libapt-pkg-perl i386 0.1.24build3 [89.6 kB]
Get: 2 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe apt-show-versions all 0.17 [32.9 kB]
Get: 3 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe libauthen-pam-perl i386 0.16-2build1 [31.4 kB]
Get: 4 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libio-pty-perl i386 1:1.08-1build1 [39.5 kB]
Fetched 193 kB in 1s (101 kB/s)
Selecting previously deselected package libapt-pkg-perl.
(Reading database ... 58014 files and directories currently installed.)
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.24build3_i386.deb) ...
Selecting previously deselected package apt-show-versions.
Unpacking apt-show-versions (from .../apt-show-versions_0.17_all.deb) ...
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-2build1_i386.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1build1_i386.deb) ...
Processing triggers for man-db ...
Setting up libapt-pkg-perl (0.1.24build3) ...
Setting up apt-show-versions (0.17) ...
** initializing cache. This may take a while **
Setting up libauthen-pam-perl (0.16-2build1) ...
Setting up libio-pty-perl (1:1.08-1build1) ...
Ada kesalahan installing paket libmd5-perl
Couldn’t find any package whose name or description matched “libmd5-perl”
Buka browser dan Download secara manual paket libmd5-perl (libmd5-perl_2.03-1_all.deb) terbaru di:
http://packages.ubuntu.com/hardy/all/libmd5-perl/download
root@ProxyScan:/home/hong# wget http://www.rpmseek.com/download/http://mirror.lupaworld.com/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb?hl=com&nid=43543:589
[1] 3260
root@ProxyScan:/home/hong# --2012-06-02 09:17:06--  http://www.rpmseek.com/download/http://mirror.lupaworld.com/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb?hl=com
Resolving www.rpmseek.com... 85.25.176.251
Connecting to www.rpmseek.com|85.25.176.251|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://mirror.lupaworld.com/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb [following]
--2012-06-02 09:17:06--  http://mirror.lupaworld.com/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
Resolving mirror.lupaworld.com... 115.238.55.232
Connecting to mirror.lupaworld.com|115.238.55.232|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5680 (5.5K) [application/octet-stream]
Saving to: `libmd5-perl_2.03-1_all.deb'
100%[====================================================================================================>] 5,680       15.0K/s   in 0.4s
 
2012-06-02 09:17:08 (15.0 KB/s) - `libmd5-perl_2.03-1_all.deb' saved [5680/5680]
Selanjutnya install:
root@ProxyScan:/home/hong# dpkg -i libmd5-perl_2.03-1_all.deb
Selecting previously deselected package libmd5-perl.
(Reading database ... 58087 files and directories currently installed.)
Unpacking libmd5-perl (from libmd5-perl_2.03-1_all.deb) ...
Setting up libmd5-perl (2.03-1) ...
Processing triggers for man-db ...
Kemudian download paket webmin terbaru di:
http://sourceforge.net/projects/webadmin/files/
root@ProxyScan:/home/hong# wget http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin_1.580_all.deb?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwebadmin%2Ffiles%2Fwebmin%2F1.580%2F&ts=1338603029&use_mirror=nchc
[1] 5122
[2] 5123
root@ProxyScan:/home/hong# --2012-06-02 10:10:43--  http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin_1.580_all.deb?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwebadmin%2Ffiles%2Fwebmin%2F1.580%2F
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://nchc.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin_1.580_all.deb [following]
--2012-06-02 10:10:45--  http://nchc.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin_1.580_all.deb
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15756528 (15M) [application/octet-stream]
Saving to: `webmin_1.580_all.deb'
 
100%[====================================================================================================>] 15,756,528   120K/s   in 4m 15s
 
2012-06-02 10:15:03 (60.2 KB/s) - `webmin_1.580_all.deb' saved [15756528/15756528]
Kemudian install webminnya:
root@ProxyScan:/home/hong# dpkg -i webmin_1.580_all.deb
Selecting previously deselected package webmin.
(Reading database ... 58093 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to https://ProxyScan:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Demikian sekedar catatan ringan saya tentang cara install webmin di ubuntu server.

Tidak ada komentar:

Posting Komentar