Wednesday, November 23, 2011

วิธีติดตั้ง webmin บน ubuntu โดยใช้ apt-get ครับ

เริ่มเลยครับ + แก้ไขไฟล์ sources.list ก่อนเลยครับเพื่อให้เราสามารถอัพเดทแพ็คเก็ต webmin ได้โดย     # nano /etc/apt/sources.list     โดยเติม     # deb http://download.webmin.com/download/repository sarge contrib     ลงไปในบรรทัดสุดท้ายครับ แล้วเซฟเลย +  ทำการ fetch ตัว GPG key ครับโดย ดาวน์โหลด ตัว key  มาก่อนครับ เราจะทำกันในโฟลเดอร์ root ครับ ดังนี้         # cd /root     # wget http://www.webmin.com/jcameron-key.asc     # apt-key add jcameron-key.asc +  แล้วก็ทำการอัพเดท webmin เข้ามา     # apt-get update +  เมื่อ update...

Installing the RPM

If you are using the RPM version of Webmin, first download the file from the downloads page , or run the command : wget http://prdownloads.sourceforge.net/webadmin/webmin-1.570-1.noarch.rpm and then run the command : rpm -U webmin-1.570-1.noarch.rpm The rest of the install will be done automatically to the directory /usr/libexec/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/. Or if accessing it remotely, replace localhost with your system's IP address. If you want to connect from a remote server and your system has a firewall installed, see this page for instructions on how to open up port 10000. Using the Webmin YUM repositoryIf you like to install and update Webmin...

ติดตั้ง webmin

# import key สำหรับ webmin rpm --import http://www.webmin.com/jcameron-key.asc # install โปรแกรมต่างๆ รวมทั้ง webmin yum -y install bind ntp httpd mysql mysql-devel mysql-server iptables sendmail php php-bcmath php-cli php-common php-devel php-gd php-imap php-mbstring php-mcrypt php-mhash php-mysql php-odbc php-pdo php-pear php-snmp php-soap php-tidy php-xml php-xmlrpc webmin perl-libwww-perl perl-Net-SSLeay libxml2 libxml2-devel perl rpm --import http://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc rpm --import http://www.webmin.com/jcameron-key.asc gpg --import http://www.webmin.com/jcameron-key.asc Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 11f63c51 Public key for webmin-1.570-1.noarch.rpm is not installed ติดตั้ง...

Pages 61234 »

 
Design by sutoday | Bloggerized by storesu - suvachai | laikeng