Tutorial Webmin Virtualmin Ubuntu
Tutorial Webmin Virtualmin Ubuntu
id
Pengantar
Langkah Umum : 1. Instalasi Ubuntu Server 11.04 2. Instalasi Webmin 3. Instalasi Virtualmin 4. Install Virtualmin Framed Theme (opsional) 5. Menambahkan Domain baru
1. Instalasi Ubuntu Server Instalasi Ubuntu Server seperti sudah jelas. Hanya sebagai catatan saya beberapa yang perlu diperhatikan antara lain : 1. Setting IP Publik yang anda miliki 2. Jangan lupa Setting DNS dan Gateway yang benar. 3. Jika setting IP sudah benar dan Instalasi Sudah selesai, Server bisa di tempatkan di Public Network /DMZ yang memungkinkan Server bisa diakses darimana saja. 4. Jika server sudah benar makan Webserver sudah langsung bisa diakses lewat web :
1|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
Imam Suharjo IT Blogger Jogja http://imm.web.id 2. Instalasi Webmin Langkah Instalasi webmin : 1. Lebih baik jika anda mengkases Server dengan cara remote misal dengan SSH /Putty Download putty : http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html 2. Login ke server dengan SSH 3. Download dengan wget , copy paste URL paket webmin yang sesuai bisa dilihat di webmin.com/download.html 4. Jika anda menggunakan Ubuntu/deban, cara install ada disini webmin.com/deb.html Berikut Cara Install webmin (versi 1.570 pada Ubuntu 11.04): 1. wget http://prdownloads.sourceforge.net/webadmin/webmin-1.570_all.deb 2. sudo dpkg --install webmin_1.570_all.deb 3. sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-ptyperl apt-show-versions python 4. Jika masih error : sudo apt-get f install Jika sukses pada bagian akhir instalasi akan berbunyi :
Setting up webmin (1.570) ... apt-get -f instal Webmin install complete. You can now login to https://mailserver:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Anda sudah bisa Login ke Server ketik IP:10000 di URL, misal 192.168.0.1:10000 Login dengan User di Ubuntu
2|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
Imam Suharjo IT Blogger Jogja http://imm.web.id 3. Proses Instalasi Virtualmin Virtualmin adalah salah satu web Control panel yang open Source dan Gratis. Virtualmin memiliki fungsi mirip dengan Cpanel. Virtualmin bisa diinstall secara terpisah atau tergabung dengan webmin. Selain versi free ada juga Virtaulmin Pro (tidak Gratis). Tutorial ini saya asumsikan sudah ada webmin terpasang di Ubuntu Server anda. 1. Install Modul Virtualmin Akses dari menu Webmin Webmin Configuratin webmin Module
Install Modul ada 2 yaitu : Virtualmin dan Virtualmin Theme : Bisa diambil disini : Buka : http://webmin.com/vdownload.html
http://download.webmin.com/download/virtualmin/virtual-server-3.88.gpl.wbm.gz http://download.webmin.com/download/virtualmin/virtual-server-theme-8.1.wbt.gz
3|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
4|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
3. Post Installatin Wizard Digunakan untuk melakukan pengecekann apakah server kita sudah Siap sebagai Webserver menurut Virtualmin. Perlu kesabaran untuk proses ini, pastikan semua konfigurasi sukses. Mungkin banyak error yang nantinya anda temukan disini :
5|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
6|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
CEK STATUS 1 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add 127.0.0.1 to the list of DNS servers, or turn off the BIND feature on the module config page. It appears that DHCP is being used to dynamically configure your network interfaces, which can cause the DNS servers to be set based on settings provided by the DHCP server. Using a static IP address is strongly recommended with Virtualmin. .. your system is not ready for use by Virtualmin.
SOLUSI 1 :
7|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
CEK STATUS 2 :
Pesan error :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Detected mail server Postfix. A problem was found with your Postfix virtual maps : No map sources were found in the Postfix configuration .. your system is not ready for use by Virtualmin.
SOLUSI 2
8|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
CEK STATUS 3 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Your Postfix configuration is missing the system's mail hostname svr3.umbyogya.com from the mydestination line, which will cause mail to bounce. .. your system is not ready for use by Virtualmin.
SOLUSI 3
CEK STATUS 4 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. Suexec is enabled in the default template, but the Apache module mod_suexec is not installed or not enabled. your system is not ready for use by Virtualmin.
SOLUSI 4 :
9|Tu t orial R ev 0-2011 U bu ntu Ser ver 11. 04 +We bmin+Vir tu almin
CEK STATUS 5 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. The Apache module mod_actions is either not installed or not enabled. .. your system is not ready for use by Virtualmin.
SOLUSI 5 :
CEK STATUS 6 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. Apache configuration file /etc/apache2/mods-available/php5.conf contains SetHandler lines that PHP from running with domain owner permissions. These lines must be removed. .. your system is not ready for use by Virtualmin.
SOLUSI 6 :
10 | T u t o r i a l R e v 0 - 2 0 1 1 U b u n t u S e r v e r 1 1 . 0 4 + W e b m i n + V i r t u a l m i n
CEK STATUS 7 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. Suexec is enabled in the default template, but the suexec command was not found on your system. .. your system is not ready for use by Virtualmin.
SOLUSI 7 :
user@svr3:~$ sudo apt-get install apache2-suexec-custom
[sudo] password for user: Reading package lists... Done Building dependency treeaaa Reading state information... Done The following NEW packages will be installed: apache2-suexec-custom 0 upgraded, 1 newly installed, 0 to remove and 136 not upgraded. Need to get 96.4kB of archives. After this operation, 201kB of additional disk space will be used. Get:1 http://id.archive.ubuntu.com/ubuntu/ lucid-updates/universe apache2-suexec-custom 2.2.14-5ubuntu8.6 [96.4kB] Fetched 96.4kB in 2s (46.8kB/s) Selecting previously deselected package apache2-suexec-custom. (Reading database ... 42595 files and directories currently installed.) Unpacking apache2-suexec-custom (from .../apache2-suexec-custom_2.2.14-5ubuntu8.6_i386.deb) ... Processing triggers for man-db ... Setting up apache2-suexec-custom (2.2.14-5ubuntu8.6) ...
CEK STATUS 8 :
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI and PHP scripts run as domain owners will not be executed.
SOLUSI 8
Solusi : http://seanstechnologyblog.blogspot.com/2011/01/suexec-is-enabled-in-default-template.html user@svr3:~$ sudo apt-get install apache2-suexec-custom user@svr3:~$ sudo nano /etc/apache2/suexec/ www-data ganti "/var/www" dengan "/home" user@svr3:~$ sudo /etc/init.d/apache2 restart 11 | T u t o r i a l R e v 0 - 2 0 1 1 U b u n t u S e r v e r 1 1 . 0 4 + W e b m i n + V i r t u a l m i n
CEK STATUS 9:
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 467.71 MB of memory, which is at or above the Virtualmin recommended limit of 256 MB. BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured. Apache is installed. Webalizer does not appear to be installed on your system, or has not yet been set up properly in Webmin's Webalizer Logfile Analysis module. If your system does not use Webalizer, it should be disabled in Virtualmin's module configuration page. .. your system is not ready for use by Virtualmin.
SOLUSI 9
12 | T u t o r i a l R e v 0 - 2 0 1 1 U b u n t u S e r v e r 1 1 . 0 4 + W e b m i n + V i r t u a l m i n
13 | T u t o r i a l R e v 0 - 2 0 1 1 U b u n t u S e r v e r 1 1 . 0 4 + W e b m i n + V i r t u a l m i n
Cara tambah Domain baru : 1. 2. 3. 4. Virtualmin Create Virtual Server Isikan nama Domain Isikan password
Misal saya tambahkan domain imam.web.id Secara Otimastis Server akan menambahkan : 1. Domain dan DNS 2. User Imam dan password **** untuk : Login via Webmin, SSH, FTP port 22 3. Membuat Database : imam dengan user Imam passwd : ***** Sedikit ini Selamat semoga Sukses, semoga bisa bermanfaat. Maaf jik ada kekurangan. Vitur lain silahkan di Eksplorasi sendiri . Referensi : 1. www.Webmin.com 2. Blog www.imm.web.id 3. Google
14 | T u t o r i a l R e v 0 - 2 0 1 1 U b u n t u S e r v e r 1 1 . 0 4 + W e b m i n + V i r t u a l m i n