To reboot VPS 5 minutes after midnight everyday:
Login via SSH and run the following:
echo shutdown -r now > /root/shutdown.sh;chmod +x /root/shutdown.sh
Then run crontab -e and enter this line:
5 0 * * * /root/shutdown.sh
Then save and exit.
by dev
To reboot VPS 5 minutes after midnight everyday:
Login via SSH and run the following:
echo shutdown -r now > /root/shutdown.sh;chmod +x /root/shutdown.sh
Then run crontab -e and enter this line:
5 0 * * * /root/shutdown.sh
Then save and exit.
by dev
If / etc/fstab is correct, you can simply type:
mount -n -o remount /
But if / etc/fstab is wrong, the device name and possibly the type must have to be given too: e.g.
mount -n -o remount -t extX /dev/sdaX /
Where,
extX is your filesystem type
/dev/sdaX is the partition you want to mount
To see all your available partitions just type ls /dev/[sh]d*.
by dev
To import email to Plesk:
You can ignore “Show advanced options” By default, it is detected automatically.
by dev
Backup of all important data before proceeding! Changes to the partition table always bear the risk of complete data loss.
by dev
Webmin is a free, open source and web-based Linux/Unix system administration control panel. Webmin is similar to cPanel, DirectAdmin etc and provides an easy way to manage websites. With Webmin we can set up user accounts, manager Apache web server, DNS Server, samba and File configuration, FTP, email servers, local/remote filesystems, package management, manage database servers e.t.c.
First, install Perl and required dependencies.
sudo yum -y install @perl
Add repository content to CentOS 8 system.
sudo tee /etc/yum.repos.d/webmin.repo<<EOF [Webmin] name=Webmin Distribution Neutral baseurl=https://download.webmin.com/download/yum enabled=1 EOF
Then import repository GPG key:
sudo rpm --import http://www.webmin.com/jcameron-key.asc
Then install webmin using yum package manager.
sudo dnf install webmin
Type y to accept installation:
Importing GPG key 0x8483C65D: y
To get the package version and other details, use:
rpm -qi webmin
Configure Webmin on CentOS 8
Install Virtualmin
1. Ensure your server is up to date
sudo yum update -y
2. Download the Virtualmin installer script using wget
sudo wget http://software.virtualmin.com/gpl/scripts/install.sh
3. Execute the install script
sudo sh install.sh