vi /etc/ssh/sshd_config - about to change the SSH settings
vi /etc/ssh/sshd_config
sudo yum install httpd - install httpd service
sudo yum install httpd
firewall-cmd --add-service="service" --permanent - to allow a service through the firewall
firewall-cmd --add-service="service" --permanent
yum install -y php - install php
yum install -y php
setup like any other Linux box
vi /etc/ssh/sshd_config find lime #PermitRootLogin yes change yes to no and get rid of the #
#PermitRootLogin yes
yes
no
#
sudo yum install httpd - stall http service
allow http and https throught the firewall firewall-cmd --add-service=http --permanent and firewall-cmd --add-service=https --permanent
firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
connect to webiste through hostname
hostname
vi /var/www/html/index.php this allows you to edit the hostname/index.php page
vi /var/www/html/index.php
hostname/index.php
the /var/www/html is where all website-related documents are stored
/var/www/html
sudo yum install realmd samba samba-common oddjob oddjob-mkhomedir sssd
realm join --user=your-domain-admin-username@yourdomain.local yourdomain.local realm list
Last updated 3 years ago