如何在 Ubuntu 云服务器上安装 Webmin

About Webmin

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing, and much more. Webmin removes the need to manually edit Unix configuration files, like /etc/passwd, and lets you manage a system from the console or remotely.

Step One—Root Login

Once you know your IP address and root password, login as the main user, root.

ssh [email protected]

Step Two—Add Webmin to APT repository

Edit the /etc/apt/sources.list file on your system and add the following lines.

Open the file with nano:

nano /etc/apt/sources.list

Press [Page Down] button on the keyboard to reach to the end of file. (or press Left ALt+/)

Then paste these two lines below:

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save changes with CTRL+O and exit with CTRL+X.

Step Three—Install Webmin’s GPG key

You should also fetch and install Webmin’s GPG key in which the repository is signed and with the commands:

cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

Step Four—Install Webmin

You will now be able to install with the commands:

apt-get update
apt-get install webmin

Step Five—Login to Webmin

Open your browser and go to http://your_droplet_ip:10000/

login

You can now login as root with your root password, or as any user who can use sudo to run commands as root.

account
Published At
Categories with 技术
comments powered by Disqus