Let FTP work through Firewall firewall-cmd –add-service=vsftpd –permfirewall-cmd –add-service=ftp –permsystemctl reload firewalldsystemctl start firewalldsystemctl enable firewalldvi /etc/yum.repos.d/local.repo
Category: Root
Dec 23
AutoFS (Linux AutoFS)
AutoFS and Mounting in Linux/Redhat/CentOS echo “AutoFS – Automatic FS system Mounting – Dec 26th, 2017 by Sayed” check if Autofs installed or notyum list installed | grep autofs I just installed; hence it is thereyou can install with yum -y install autofs yum -y install autofs then you can enable autofssystemctl status autofssystemctl start …
Dec 08
Misc : Q & A on Operating Systems
•T/F: Microsoft Windows is a System Software •T/F: Database Management Systems are System Software •T/F: Device Drivers are System Software •Microsoft Word is an Application Software •True or False: Operating system provides a kernel and Shell/Interface software (among other things) •T/F: Cars do not have any Microprocessor and Cars cannot have any Operating System •What …
Dec 08
Terminating Process in Linux
Kill a Process •kill PID •kill -SIGNAL PID •Kill –s 9 pid •Kill -9 pid •kill -15 PID •
Dec 08
Process Control in Linux
Important Notes •System Processes •usually run •in the background •Use & to start •a process to the background •Use fg •to bring to foreground •Ctrl+z takes to background
Dec 08
Power Shell: Stop Process
Stop-Process -Name “notepad” Stop-Process -Id 3952 -Confirm –PassThru calc $p = Get-Process -Name “calc” Stop-Process -InputObject $p Get-Process | Where-Object {$_.HasExited} Get-Process -Name “lsass” | Stop-Process
Dec 08
Power Shell: Process
Dec 08
Some Web Administration Tasks
systemctl start httpdsystemctl start mariadbsystemctl restart httpdsystemctl restart mariadb systemctl enable httpdsystemctl enable mariadb
Dec 08
Monitor Process in Linux
Monitor Process in Linux •ps •pstree •top Who Monitors Processes? •Admins •Developers as needed Tasks •start, stop, restart, status, kill

