Move all files and subdirs in directory – CentOS
For this example I’m transferring files from Downloads into Videos mv ~/Downloads/* ~/Videos
For this example I’m transferring files from Downloads into Videos mv ~/Downloads/* ~/Videos
https://www.2daygeek.com/start-stop-restart-enable-reload-pureftpd-server-service-in-linux/
systemctl start firewalld systemctl enable firewalld systemctl status firewalld firewall-cmd –reload
There’s a 301 rule that’s redirecting to https
cd /etc/nginx/conf.d/vhosts sudo nano X.com.conf ADD: return 301 https://www.X.X$request_uri; (save) I.e. server { listen 176.31.193.41:80; access_log /var/log/nginx/access.yoursite.site.log; error_log /var/log/nginx/error.yoursite.site.log; server_name yoursite.site www.yoursite.site; root /public_html/yoursite.site; return 301 https://www.yoursite.site$request_uri; sudo nano X.X_ssl; ADD: if ($host !~ ^www\.) { rewrite ^ https://www.$host$request_uri permanent; } […]
Common services started from the command prompt https://www.liquidweb.com/kb/restarting-services-from-the-command-line/ When all services are down it’s probably because the firewall service needs to be started systemctl enable firewalldsystemctl start firewalldsystemctl status firewalld https://www.liquidweb.com/kb/how-to-start-and-enable-firewalld-on-centos-7/ How to start CentOS Web Panel service cwpsrv statusservice cwpsrv start https://www.plothost.com/kb/services-centos-web-panel/ Adding users with root privilatge and no passwords https://unix.stackexchange.com/questions/174780/centos-7-add-new-user-with-root-privileges Deleting files and […]