Category: লিনাক্স এবং উনিক্স । Linux and Unix

yum upgrade and yum update

“yum upgrade and yum update will perform the same function that update to the latest current version of package. But the difference is Upgrade will delete obsolete packages, while update will preserve them.Jul 3, 2014” https://unix.stackexchange.com/questions/55777/in-centos-what-is-the-difference-between-yum-update-and-yum-upgrade 3.3. UPDATING PACKAGES FROM THE COMMAND LINE WITH YUM https://access.redhat.com/documentation/en-us/red_hat_network_satellite/5.5/html/reference_guide/sect-reference_guide-package_updater-updating_packages_from_the_command_line_with_yum yum install package_nameyum update package_nameyum check-updateyum remove package_nameyum provides …

Continue reading

Check if your yum server is working or not

Check if your yum server is working or not yum repolistyum install tree yum repolist enabledyum repolist all

Let FTP work through Firewall

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

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 …

Continue reading

Terminating Process in Linux

Kill a Process •kill PID •kill -SIGNAL PID •Kill –s 9 pid •Kill -9 pid •kill -15 PID •

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

Linux ps command

ps x ps -e ps aux ps –u username

AutoFS and Mounting in Linux/Redhat/CentOS

AutoFS and Mounting in Linux/Redhat/CentOS echo “AutoFS – Automatic FS system Mounting – Dec 26th, 2017 by Sayed” check if Autofs installed or not yum list installed | grep autofs I just installed; hence it is there you can install with yum -y install autofs 944 yum -y install autofs then you can enable autofs …

Continue reading

On File Systems and Linux Commands (Redhat/CentOs/Fedora)

On File Systems and Linux Commands (Redhat/CentOs/Fedora) echo “Dec 26th, 2017, Sayed Ahmed, Justetc Technologies” On file Systems – Target Audience: Technical People. Software Developers and System/Network Administrators or DevOps  (or wanna be) / and /boot are the default Linux file systems you can also configure /home, /opt, /var, /tmp, /usr as separate file systems …

Continue reading

Users and Groups management in Linux (Redhat/CentOS/Fedora)

Users and Groups management in Linux (Redhat/CentOS/Fedora) Target Audience: Technical people who knew or already know (to some extent) – just wanna review Yes, from my history 622 echo “dec 25th, 2017 – sayed”   User and password related files 623 cat /etc/passwd 624 cat /etc/shadow 625 cat /etc/group 626 cat /etc/gshadow There are some …

Continue reading