Tag Archives: วิธีติดตั้ง webadmin สำหรับ Ubuntu

วิธีติดตั้ง webadmin สำหรับ Ubuntu ง่าย ๆ รวดเร็ว

อันดับแรกต้องติดตั้ง  perl5 libnet-ssleay-perl  โดยใช้คำสั่งดังนี้

  1. #sudo apt-get install perl5 libnet-ssleay-perl

จากนี้ให้ดาวโหลด webmin มาติดตั้ง  ที่ server

  1. # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.310.tar.gz
  2. # sudo tar xzvf webmin-1.310.tar.gz
  3. # cd webmin-1.310
  4. # sudo sh setup.sh
  5. ระบบจะติดตั้ง ก็ทำตาม ขั้นตอน ได้เลยครับ
  6. # Config file directory [/etc/webmin]:
  7. Leave as default, or change as you wish
  8. Log file directory [/var/webmin]:
  9. Leave as default, or change as you wish
  10. Full path to perl (default /usr/bin/perl):
  11. Leave as default, or change as you wish
  12. Operating system:
  13. Enter ‘6′
  14. Version:
  15. Enter ‘6′
  16. Web server port (default 10000):
  17. 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.
  18. Login name (default admin):
  19. It is ‘admin’, so you can leave it as that, or put in any name that you like.
  20. Login password:
  21. 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.
  22. Password again:
  23. enter your password again
  24. If you did not install ‘libnet-ssleay-perl’ you will get the following message:
  25. ‘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.
  26. Use SSL (y/n):y
  27. Choose yes here
  28. Start Webmin at boot time (y/n):y
  29. select here y
  30. At this point it is going to configure things, install things, and create things…
  31. It will then tell you that you can log in to https://hostipaddress:10000 and to accept the certificate.
  32. Webmin User Password Change
  33. If you want to change root password in webmin use this included Perl script:
  34. sudo /usr/share/webmin/changepass.pl /etc/webmin root

เสร็จแล้ว เรียกเข้าใช้งานได้ เลยครับ
https://ip_server:10000

ีรองดูนะครับ  แจ่ม เลย