Skip to content

Phils Blog and Stuff

TELECOMS. VIRTUALIZATION. IT. CODING. and more…

Menu
  • Home
  • Resources
    • Subnet Mask Cheat Sheet
    • Easy Dmarc+Email
    • MX Tool Box
    • LOAD BALANCING & SRE
  • SHOP
  • SOLUTIONS
  • SERVICES
  • Contact Me
Menu

Setting up Virtualmin on Debian 11

Posted on 08/03/202308/03/2023 by Phil

Edit Hosts file

nano /etc/hosts

127.0.0.1    localhost
1.1.1.1    ns01.domain.com    ns01

Edit DNS Servers

nano /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.1.1.1
search domain.com

Edit Interfaces

nano /etc/network/interfaces

Update and Upgrade

apt update
apt upgrade -y

Inital Packages Required

apt install -y wget nano proftpd-mod-crypto apt-transport-https lsb-release ca-certificates curl opendkim opendkim-tools

Inital Config

echo "deb http://http.us.debian.org/debian/ testing non-free contrib main" >> /etc/apt/sources.list.d/virtualmin.list

apt-get update && apt-get install -y webalizer/testing

rm -rf /etc/apt/sources.list.d/virtualmin.list

apt-get update

Download Virtualmin install script

wget https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh

Run install script and start

sh virtualmin-install.sh

/etc/webmin/start

Should have a succesful installation


[INFO] Started installation log in /root/virtualmin-install.log
▣◻◻ Phase 1 of 3: Setup
Downloading Virtualmin 7 key ✔
Installing Virtualmin 7 key ✔
Downloading Webmin key ✔
Installing Webmin key ✔
Downloading repository metadata ✔
Disabling cdrom: repositories ✔
Cleaning up software repo metadata ✔
▣▣◻ Phase 2 of 3: Installation
Checking and installing system packages updates ✔
Installing Virtualmin 7 and all related packages ✔
Installing Virtualmin 7 and all related packages updates ✔
▣▣▣ Phase 3 of 3: Configuration
[1/21] Configuring AWStats ✔
[2/21] Configuring Apache ✔
[3/21] Configuring Bind ✔
[4/21] Configuring ClamAV ✔
[5/21] Configuring Dovecot ✔
[6/21] Configuring Etckeeper ✔
[7/21] Configuring Firewalld ✔
[8/21] Configuring MariaDB ✔
[9/21] Configuring Postfix ✔
[10/21] Configuring ProFTPd ✔
[11/21] Configuring Procmail ✔
[12/21] Configuring Quotas ✔
[13/21] Configuring SASL ✔
[14/21] Configuring Shells ✔
[15/21] Configuring SpamAssassin ✔
[16/21] Configuring Status ✔
[17/21] Configuring Upgrade ✔
[18/21] Configuring Usermin ✔
[19/21] Configuring Webmin ✔
[20/21] Configuring Fail2banFirewalld ✔
[21/21] Configuring Virtualmin ✔
▣▣▣ Cleaning up
[SUCCESS] Installation Complete!
[SUCCESS] If there were no errors above, Virtualmin should be ready
[SUCCESS] to configure at https://ns01.domain.com:10000 (or https://1.1.1.1:10000).
[SUCCESS] You may receive a security warning in your browser on your first visit.

			

POSTS

  • Home Assistant. Add water meter with PHP+MQTT+YML.
  • Automating your home with Home Assistant. Initial install and config (Hyper-V).
  • The importance of setting up email security correctly.
  • Automate Debian installations with Seed, DHCP and Nginx.
  • A simple link shortener.. Fun little project…

WORD CLOUD

3CX 3CX Phone System Apache Asterisk Cacti CentOS CRM DHCP DNS Email Fail over Failover File System Firewall FreeBSD FreeNAS FXO IAX install IP IP PBX Linux M0n0wall Nottingham Open Source PBX PFSense PHP Router Server SIP snom SSH TrixBox ubuntu VLAN Voice VoIP VPN vyatta WAN Website WiFi yealink ZFS

© 2025 Phils Blog and Stuff | Powered by Superbs Personal Blog theme