Webmin is a great option if you are looking for an easy-to-use
kezelőfelület a VPS kezeléséhez. Nézzük meg, hogyan telepítse a Webmin-t egy
VPS.
Step 1: Install
Dependency Packages
Először telepítenie kell a függőségi csomagokat. Adja meg az
következő parancsot a terminálban.
sudo yum install nano -y
Step
2. lépés: Az Webmin adattár hozzáadása az adattár listához
Open a terminal and enter the following command to add the Webmin
repository:
sudo nano /etc/yum.repos.d/webmin.repo
3. lépés: Írjon be az új
File
Adja hozzá a következő sorokat a megnyitott fájlhoz:
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
Step 4:
Download and Install the GPG Key
Most le kell töltenie és telepítenie kell a GPG kulcsot a
following command:
wget http://www.webmin.com/jcameron-key.asc
sudo rpm --import jcameron-key.asc
Step 5: Update the
Repository
Írja be ezt a parancsot az adattár frissítéséhez:
sudo yum check-update
Step 6: Install
Webmin
Most adja meg ezt a parancsot az Webmin telepítéséhez:
sudo yum install webmin -y
Ha a telepítés meghiúsul, mert a függőségek nem készek, egyszerűen
re-enter the installation command.
Step 7: Start the
Service
A szolgáltatás indításához és az automatikus indításhoz használja ezt a
command:
chkconfig webmin on
service webmin start
Step 8:
Change Firewall Settings to Allow Webmin
Ha tűzfallal rendelkezik, engedélyeznie kell az Webmin-t a tűzfalon keresztül
a következő parancs beírásával:
firewall-cmd --permanent --add-port=10000/tcp
firewall-cmd --reload
Step 9: Log in to
Webmin
Most már bejelentkezhet az Webmin-be. Nyissa meg a következő weboldalt a
browser:
https://your-ip-addres:10000
Step 10: Enter
Username and Password
Ezután írja be a felhasználónevét és jelszavát az HTTPS protokoll használatával.
Alapértelmezés szerint a felhasználónév a root, a jelszó pedig a root felhasználó
password.
Step 11: Configure your
VPS
Most itt az ideje az VPS konfigurálásának az Webmin-vel a
Webmin configuration.
Step 12: Change the
Standard Port
Ha az Webmin VPS nyilvános IP-vel rendelkezik, menjen a ports and
addresses and put the standard port on
some.
Kész van. Most már tudod, hogyan kell telepíteni az Webmin-t egy VPS-re.
Ha módosítani szeretné az Webmin jelszavát, beírhatja ezt a
command:
/usr/libexec/webmin/changepass.pl /etc/webmin root NEWPASSWORD
But changing the password for a specific user for Webmin is not
recommended.
Webmin virtuális gazdagép
Az Webmin számos funkciója közül az egyik az Webmin virtuális host. Ez lehetővé teszi
több webhely hosztálását egyetlen szerveren. Az Webmin telepítése után a
VPS-re, virtuális hostokat hozhat létre az alábbiak szerint:
steps:
Step 1: Go to the control
panel.
Step 2: Update your Webmin to ensure you use its
latest version.
Step 3: Log in to Webmin and click on the
Servers icon.
Step 4: Click on Apache
WebServer.
Step 5: Select any address in the
Create a New Virtual Server part.
Step 6: In the port section, enter
80és válassza az utolsó rádiógombot.
Step 7: In the document root
részben adja meg a HTML fájlok nevét, amelyeket a virtuális host használni fog.
Step 8: Enter the domain name in the server
name section.
Sikeresen létrehoztad az Webmin virtuális gazdagépet.
How
to Install Webmin on an Ubuntu Server or Debian-Based
Server
Az első részben az Webmin telepítésérõl beszéltünk egy REHL-alapú
VPS. Now, we will show you how to install Webmin on an Ubuntu or
Debian-based server.
Először telepítenie kell a függőségi csomagokat a
following command:
sudo apt install software-properties-common apt-transport-https -y
Add the Webmin repository and the GPG
key.
sudo wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Finally, install Webmin:
sudo apt install webmin -y
Ha tűzfallal rendelkezik, engedélyeznie kell azt a
command:
sudo ufw allow 10000/tcp
Kész! Sikeresen telepítetted az Webmin szerverére. A
default username is root, a jelszó pedig a te
current root password.
Most nyisd meg a webböngésződet, és navigálj a következő helyre:
address:
Sometimes Debian or Ubuntu distributions do not allow users to log in
by the root felhasználó és jelszava. Ebben az esetben
enter sudo for the username.
Bejelentkezés után konfigurálhatod a webszervert az igényeid szerint:
needs and goals.
Rendben! Most már tudod, hogyan kell telepíteni az Webmin-et az Linux VPS-re. Ha
bármilyen kérdésed merül fel, ne habozz, fordulj hozzánk submitting a
ticket.
Also in Initial Documents
Related guides.
Need help with something else?
Median response time under 1 hour. Real humans, not bots.