Posts

Showing posts from February, 2018

Centos 7 Setup Webmin, Virtualmin, Usermin, CSF Firewall and Letsencrypt

Image
useradd    weballround        passwd    weballround          exit                echo "weballround ALL=(ALL)       ALL"  >>    /etc/sudoers            exit                clear                vi    /etc/ssh/sshd_config  (Change #PermitRootLogin yes to PermitRootLogin no) #port 22 Remove  #  and change  22  to your desired port number service sshd restart yum    install    git    -y        git    clone    git://github.com/webmin/webmin.git    /usr/local/webadmin        sudo    ln    -s    `which    perl`    /usr/local/bin/perl    cd /usr/local/webadmin/  /usr/local/bin/per ./local-setup.sh                 yum    install    python-argparse    -y        git    clone    git://github.com/webmin/usermin.git    /usr/local/useradmin        cd    /usr/local/useradmin                sudo    ./local-setup.sh                cd    /opt                mkdir    /usr/local/virtualmin                cd    /usr/local/virtualmin                yum    install    wget   

Network setup Debian and Ubuntu

First backup!!! Network Interface cp /etc/network/interfaces /etc/network/interfaces.bak vi /etc/network/interfaces Set the value to look like this: auto lo iface lo inet loopback #My IP description # IPv4 address iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 DNS cp /etc/resolv.conf /etc/resolv.conf.bak vi /etc/resolv.conf   Set the value to look like this:   nameserver 8.8.8.8 namesrever 8.8.4.4 Hostname   echo servername.domain.com > /etc/hostname  There you go. E-Mail(weballround@gmail.com) Me if you need friendly help, with something else. Pierre OUT.