os/Ubuntu

Webmin, Virtualmin, Cloudmin Install on Ubuntu

C/H 2020. 8. 25. 08:30

Webmin, Virtualmin on Ubuntu

Install Webmin

$ sudo apt -y install python apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
$ curl -L -O http://www.webmin.com/download/deb/webmin-current.deb
$ sudo dpkg -i webmin-current.deb
$ sudo vi /etc/webmin/miniserv.conf
# add follows to the end (IP addess you allow to access)
# allow=127.0.0.1 10.0.0.0/24 
allow=192.168.0.0/16

$ sudo systemctl restart webmin

Install Virtualmin

$ curl -O http://software.virtualmin.com/gpl/scripts/install.sh
$ sudo chmod +x install.sh
$ ./install.sh --help
Usage:  install.sh [options]

  If called without arguments, installs Virtualmin.

  --uninstall|-u - Removes all Virtualmin packages (do not use on a production system)
  --help|-h - This message
  --force|-f - Skip confirmation message
  --hostname|-n - Set fully qualified hostname
  --verbose|-v - Verbose
  --setup|-s - Setup software repositories and exit (no installation or configuration)
  --minimal|-m - Install a smaller subset of packages for low-memory/low-resource systems
  --bundle|-b <name> - Choose bundle to install (LAMP or LEMP, defaults to LAMP)
  --disable <feature> - Disable feature [SCL]
$ sudo ./install.sh
.....
Continue? (y/n) y

Install Cloudmin

  • Cloudmin GPL Install Script for Xen
  • $ wget http://cloudmin.virtualmin.com/gpl/scripts/cloudmin-gpl-debian-install.sh $ chmod +x cloudmin-gpl-debian-install.sh $ ./cloudmin-gpl-debian-install.sh
  • Cloudmin GPL Install Script for KVM
  • $ wget http://cloudmin.virtualmin.com/gpl/scripts/cloudmin-kvm-debian-install.sh $ chmod +x cloudmin-kvm-debian-install.sh $ ./cloudmin-kvm-debian-install.sh

Check https://(your hostname or IP address):10000

Fix Self-signed SSL Certificate Error(자체 서명 된 SSL 인증서 오류 수정)

You should address the self-signed SSL issue immediately after installing Webmin for better server security.
더 나은 서버 보안을 위해 Webmin을 설치 한 직후 자체 서명 된 SSL 문제를 해결해야합니다.

Cloud Server users will need to install a Let’s Encrypt SSL, purchase an SSL certificate or disable the Enable SSL?
클라우드 서버 사용자는 Let ’s Encrypt SSL을 설치하거나 SSL 인증서를 구입하거나 SSL을 사용 하시겠습니까?
setting cPanel server users can request a new free SSL depending on your AutoSSL settings in WebHost Manager (WHM)
cPanel 서버 설정 사용자는 WebHost Manager (WHM)의 AutoSSL 설정에 따라 새로운 무료 SSL을 요청할 수 있습니다.

access http and ssl setup

Let 's Encrypt는 Webmin에서 사용할 SSL 인증서를 생성하는 데 사용할 수있는 무료의 자동화 된 개방형 인증 기관입니다.
이 페이지는 Webmin에 현재 구성된 다른 인증서를 덮어 쓰는 새 인증서를 요청하는 데 사용할 수 있습니다.
그러나 Let 's Encrypt 서비스를 사용하려면이 시스템이 도메인의 웹 사이트를 호스팅하는지 확인하여 인증서 도메인의 소유권을 확인해야합니다.
웹 사이트의 문서 디렉토리에 작은 임시 파일을 배치하면됩니다.

  1. ssl=1 to ssl=0 in /etc/webmin/miniserv.conf
  2. restart webmin
  3. http://(your hostname or IP):10000
    If there is no domain you own, use it as it is.
    소유한 도메인이 없을 경우 이대로 사용한다.
  4. webmin login
  5. Webmin Tab > Webmin > Webmin Configuration > SSL Encryption > Let's Encrypt Tab
  6. hostname, Other directory : /var/www/html
  7. Select "Request Certificate" Button
  8. Select Return to "Webmin configuration"
  9. Logout Webmin
  10. https://(your hostname or IP):10000

webmin user new password

# For RHEL/CentOS:
/usr/libexec/webmin/changepass.pl /etc/webmin root NEWPASSWORD

#For Debian/Ubuntu
/usr/share/webmin/changepass.pl /etc/webmin root NEWPASSWORD
반응형

'os > Ubuntu' 카테고리의 다른 글

cannot create temp file for here-document: No space left on device  (0) 2019.04.05
ubuntu locale ko_KR.UTF-8  (0) 2019.02.13
boot full 용량문제  (0) 2018.08.15
apt update xxxx-xxxx.ucf-dist 파일 에러  (0) 2018.08.14
Linux/Ubuntu Destkop Menu  (0) 2018.04.05