
데비안 11에 Webmin을 설치하는 방법
2022-10-17 last update
7 minutes reading debian linux control panels이 기사에서는 Debian 11에 Webmin Linux 관리자 패널을 설치하는 방법을 보여 드리겠습니다.
전제 조건
시작하기
시작하기 전에 시스템의 패키지 캐시를 최신 버전으로 업데이트하는 것이 좋습니다. 다음 명령을 사용하여 업데이트할 수 있습니다.
apt-get update -y
패키지 캐시를 업데이트한 후 다음 명령을 사용하여 다른 필수 종속성을 설치합니다.apt-get install gnupg2 curl -y
필요한 모든 종속성이 설치되면 다음 단계로 진행할 수 있습니다.웹민 설치
기본적으로 Webmin 패키지는 Debian 11 기본 저장소에 포함되어 있지 않습니다. 따라서 APT에 Webmin 저장소를 추가해야 합니다.(adsbygoogle=window.adsbygoogle||[]).push({});
먼저 다음 명령을 사용하여 GPG 키를 다운로드하고 추가합니다.
wget -qO - http://www.webmin.com/jcameron-key.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/jcameron-key.gpg
그런 다음 다음 명령을 사용하여 Webmin 저장소를 APT에 추가합니다.sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
리포지토리가 추가되면 리포지토리를 업데이트하고 다음 명령을 사용하여 Webmin을 설치합니다.apt-get update -y
apt-get install webmin -y
Webmin이 설치되면 다음 단계로 진행할 수 있습니다.Webmin 서비스 관리
초기화 서비스에서 쉽게 Webmin을 시작, 중지, 다시 시작하고 상태를 확인할 수 있습니다.
Webmin 서비스를 시작하려면 다음 명령을 실행하십시오.
service webmin start
Webmin 서비스를 다시 시작하려면 다음 명령을 실행합니다.service webmin restart
Webmin 서비스를 중지하려면 다음 명령을 실행합니다.service webmin stop
Webmin 서비스의 상태를 확인하려면 다음 명령을 실행합니다.service webmin status
기본적으로 Webmin은 포트 100000에서 수신 대기합니다. 다음 명령을 사용하여 확인할 수 있습니다.ss -antpl | grep 10000
다음 출력이 표시되어야 합니다.LISTEN 0 4096 0.0.0.0:10000 0.0.0.0:* users:(("miniserv.pl",pid=4073,fd=5))
Webmin용 방화벽 구성
It is also recommended to secure your server with a UFW firewall. To do so, install the UFW firewall with the following command:
apt-get install ufw -y
UFW 방화벽이 설치되면 다음 명령을 사용하여 포트 22 및 10000을 허용합니다.ufw allow 22
ufw allow 10000
그런 다음 아래 명령을 사용하여 UFW 방화벽을 활성화합니다.ufw enable
다음으로 다음 명령을 사용하여 방화벽을 확인합니다.ufw status
다음과 같은 결과가 나와야 합니다.Status: active To Action From -- ------ ---- 22 ALLOW Anywhere 10000 ALLOW Anywhere 22 (v6) ALLOW Anywhere (v6) 10000 (v6) ALLOW Anywhere (v6)
Webmin 사용 방법
At this point, Webmin is installed. You can now access it using the URL http://your-server-ip:10000. You will be redirected to the Webmin login page:
Provide your root username, password and click on the Sign in button. You should see the Webmin dashboard on the following page:
In the left pane, click on the Tools => Command Shell. You should see the Linux terminal on the following page:
From here, you can run any command to your Linux server.
Click on the Tools => File Manager. You should see the File Manager on the following page:
From here, you can create a file, directory, and manage the entire file system.
Click on the Tools => Upload and Download. You should see the following page:
From here, you can upload and download any file to and from the server.
Click on the Networking => Linux Firewall. You should see the firewall interface on the following page:
From here, you can open and close the specific ports for remote users.
Click on the Networking => Network Configuration. You should see the network configuration wizard:
From here, you can set up a static IP address, default gateway, hostname, and DNS.
Click on the Hardware => Partitions and Local Disks. You should see the Partition Manager on the following page:
From here, you can create and edit your hard disk partitions.
웹민 제거
If you don't want Webmin then you can remove it using the following command:
apt-get remove webmin
그런 다음 다음 명령을 실행하여 패키지 캐시를 정리하고 시스템에서 원치 않는 패키지를 제거합니다.apt-get autoremove -y
apt-get clean
결론
축하합니다! Webmin을 Debian 11에 성공적으로 설치했습니다. Webmin이 웹 브라우저에서 Linux 서버를 관리하고 제어하는 데 도움이 되기를 바랍니다. 궁금한 점이 있으면 언제든지 문의해 주세요.