yum -y install openssh*
after installation complete. start the service
service sshd start
------------------------------------------------------------------------
Install LAMP
yum -y install httpd php php-mysql mariadb mariadb-server
Set MARIADB start when boot and start now
systemctl start mariadbsystemctl enable mariadbSet Apache start when boot and start now
systemctl start httpd.servicesystemctl enable httpd.serviceAfter that , double check the firewall setting to make sure ports are opened correctly.
Edit use this command
vi /etc/sysconfig/iptables
After edit , please restart the service again
/etc/init.d/iptables restart
Double check the firewall status
/sbin/iptables -L -n
---------------------------------------------------------
Download Webmin & install (Remarks, please install & start all service for LAMP before install webmin)
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm
then install optional dependencies with :
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
and then run the command :
rpm -U webmin-1.831-1.noarch.rpm
more details can be find at :
http://www.webmin.com/rpm.html