อันดับแรกต้องติดตั้ง perl5 libnet-ssleay-perl โดยใช้คำสั่งดังนี้
- #sudo apt-get install perl5 libnet-ssleay-perl
จากนี้ให้ดาวโหลด webmin มาติดตั้ง ที่ server
- # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.310.tar.gz
- # sudo tar xzvf webmin-1.310.tar.gz
- # cd webmin-1.310
- # sudo sh setup.sh
- ระบบจะติดตั้ง ก็ทำตาม ขั้นตอน ได้เลยครับ
- # Config file directory [/etc/webmin]:
- Leave as default, or change as you wish
- Log file directory [/var/webmin]:
- Leave as default, or change as you wish
- Full path to perl (default /usr/bin/perl):
- Leave as default, or change as you wish
- Operating system:
- Enter ‘6′
- Version:
- Enter ‘6′
- Web server port (default 10000):
- This is where you can start to make webmin more secure then the standard install you get with apt-get, Synaptic, or RPM. Leave as default or change it to what ever port you want.
- Login name (default admin):
- It is ‘admin’, so you can leave it as that, or put in any name that you like.
- Login password:
- By creating the user above and giving it a password, you have now made it so you will not need to log into webmin with root.
- Password again:
- enter your password again
- If you did not install ‘libnet-ssleay-perl’ you will get the following message:
- ‘The Perl SSLeay library is not installed. SSL not available.’ You can continue with the install, but it would be more secure if you install sslrelay.
- Use SSL (y/n):y
- Choose yes here
- Start Webmin at boot time (y/n):y
- select here y
- At this point it is going to configure things, install things, and create things…
- It will then tell you that you can log in to https://hostipaddress:10000 and to accept the certificate.
- Webmin User Password Change
- If you want to change root password in webmin use this included Perl script:
- sudo /usr/share/webmin/changepass.pl /etc/webmin root
เสร็จแล้ว เรียกเข้าใช้งานได้ เลยครับ
้https://ip_server:10000
ีรองดูนะครับ แจ่ม เลย