Wednesday, November 18, 2015

Cara Install Webmin dan Virtualmin

Virtualmin bisa diinstall dgn 2 cara:
1. Automatis pke script installer
2. Manual instalation (not recommended)
jadi kita pke yg automatis aja okeeehhh…. biar smua senang… (nb: cara2 berikut ini merupakan cara yg umum, tetapi bisa bervariasi jg)

1. Sangat dianjurkan untuk memulai dari OS fresh install, menghindari crash dgn system yg lain, lebih aman menggunakan OS yang udah umum misalnya centos dan debian
2. Selesai instalasi OS, masuk ssh lewat putty utk akun root (krn ini utk mengatur keseluruhan sistem di server maka harus menggunakan akun root)
3, Downlod installer scriptnya si virtualmin
root@server:~# wget http://software.virtualmin.com/gpl/scripts/install.sh
4. Cek hostname apakah hostname anda sdh fully qualified domain name (fqdn), kalau belum silahkan di seting dulu, krn bs mengganggu proses berikut2nya…
root@server:~# hostname -f
subdomain.domain.com kluar tulisan spt itu, tp itu cm contoh aja, punya saya si kluarnya aura.kotabatu.net

So set the hostname to a different name, until the next reboot, you could run:
hostname vps.mydomain.com
Then, to configure your server to set it up properly next time it reboots, you can edit /etc/sysconfig/network, and in there you can change theHOSTNAME= so that it uses your desired hostname.

To Start vi


To use vi on a file, type in vi filename. If the file named filename exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text.

*vi filenameedit filename starting at line 1

To Exit vi


Usually the new or modified file is saved when you leave vi. However, it is also possible to quit vi without saving the file.
Note: The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the <Return> (or <Enter>) key.

*:x<Return>quit vi, writing out modified file to file named in original invocation
 :wq<Return>quit vi, writing out modified file to file named in original invocation
 :q<Return>quit (or exit) vi
*:q!<Return>quit vi even though latest changes have not been saved for this vi call
5. Jalankan installer scriptnya
root@server:~# /bin/sh install.sh
6. Tunggu sampai selesai, liat facebook dl jg boleh….
7. Setelah instalasi selesai silahkan buka dgn browser anda utk alamat https://domainanda.com:10000
Port 10000 adalah port standar kluarga webmin/virtualmin, bisa diedit kemudian
https jg standar webmin/virtualmin, tp bisa diset utk dihilangkan kemudian
8. Selesai deh install virtualmin+webmin nya. Untuk penggunaan selanjutnya tinggal cari menu create virtual server yg bisa digunakan untuk mengatur website anda
catt: klo stlh jalankan install.sh macet krn blm ada perl silahkan install perl dl
contoh utk centos :
yum install perl
(sumber: http://virtualmin.com)

 http://blog.kotabatu.net/install-virtualmin