Category: Professional

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

Misc. Python, MongoDB, MySQL, LMS/Moodle stuff.

Web Hosting Introduction

SCJP Training: Lesson 3: API Contents #Java Short Notes #SCJP

The Number Classes Characters Strings The StringBuilder Class Character Streams (FileReader, FileWriter) Buffered Streams (BufferedReader, BufferedWriter) Formatting (PrintWriter) File Objects (File) Data Streams Object Streams Manipulating Characters in a String (String split method) Methods of the Pattern Class Methods of the Matcher Class Scanning Formatting Formatting (PrintWriter, formatting parameters) Formatting Numeric Print Output (formatting parameters) …

Continue reading