Rollback with YUM History Command

From 2daygeek.com Server patching is one of the important task of Linux system administrator to make the system more stable and better performance. All the vendors used to release security/vulnerabilities patches very often, the affected package must be updated in order to limit any potential security risks. Yum (Yellowdog Update Modified) is RPM Package Management utility for CentOS and Red Hat systems, Yum history command allows administrator to rollback the system to a previous state but due to some limitations, rollbacks do not work in all situations, or The yum command may simply do nothing, or it may remove packages you do not expect. I advise you to take a full system backup prior to performing any update/upgrade is always recommended, and yum history is NOT meant to replace systems backups. This will help you to restore the system to previous state at any point of time. n some cases, the hosted applications might not work properly or through some error due to recent patch updates (It could be some library incompatibility or package upgrade), what will be the solution in this case? Get in touch with App Dev team and figure it out an issue creating library' and packages then do the rollback with help of yum history command. ...

SeedBoxes

A seedbox is a dedicated server at a high speed datacenter with a public IP address for the downloading and seeding of bittorrent files. Persons who have access to a seedbox can download these files to their personal computers at any time and from any place that has an internet connection. References: ...

Securing rsync on ssh

Reference: positon.org You have 2 systems and you want to set up a secure backup with rsync + SSH of one system to the other. Very simply, you can use: backup.example.com# rsync -avz --numeric-ids --delete [email protected]:/path/ /backup/myserver/ To do the backup, you have to be root on the remote server, because some files are only root readable. Problem: you will allow backup.example.com to do anything on myserver.example.com, where just read only access on the directory is sufficient. ...

Telegram

Telegram is a messenger designed to overcome the limitations of other messengers like WhatsApp or similar ones. It is different and better than other messengers on more than one level. A few of the important features that make it stand out among other messengers are: ...

Free Clipart sites

In 2014, Microsoft killed and buried Clipart in the digital graveyard. Clipart had outlived its usefulness as users relied more on search engines than Microsoft' somewhat limited supply through the Office suite. Today' clipart needs to be modern, colorful, and less cartoonish. An ...

Anti Roboto skills

Losing your job to robots is no longer a sci-fi fantasy. Some estimates say, robots may take over more than five million jobs across 15 developed countries. Machines could account for more than half the workforce in places like Cambodia and Indonesia, particularly in the garment industry. While such information has led many people to seek out higher-tech ...

stop procrastinating

We are all guilty of procrastinating from time to time--here's always something more interesting than the work in hand. We usually think it's no big deal, since deadline is our biggest inspiration, and we do our best work when we're inspired. We may even joke about it. However, procrastination is a massive waste of time as it turns out. A survey in 2015 found that on average, a person loses over 55 days ...

manage busyness

Former United States President Dwight Eisenhower was responsible for putting together one of the most important yet fundamentally simple to understand concepts in time management. Eisenhower's Urgent/Important Principle is a tool to help decipher what tasks need to be addressed more immediately than others. Anyone who uses the principle will be better able to organize and orchestrate their ...

Kivy

Today I want to briefly write about kivy. kivy is an Python library intended for developing Mobile Apps. It is a cross-platform library that runs on Android, iOS, Linux, OS X and Windows. It is licensed under the MIT, so it is free and open source. Kivy is the main framework developed by the Kivy organisation, alongside with Python for Android, ...

Fixed drive letters for removable USB sticks

If you use multiple USB drives, you've probably noticed that the drive letter can be different each time you plug one in. If you'd like to assign a static letter to a drive that's the same every time you plug it in, read on. Windows assigns drive letters to whatever type of drive is available. This can be annoying especially if you use backup tools or portable apps that prefer to have the same drive letter every time. ...

Portable Console

portable console Set scrolling region: printf "\033[1;24r" Reset scrolling region: printf "\033[r" However, it is easier/better to do: ...

Xnest

This trick lets you run X-Windows within an X-Windows session. This is kinda like running VNC. It is useful for testing scenarios. #!/bin/sh Xnest :1 -name "Bla" -ac -geometry 800x600 & sleep 1 export DISPLAY=:1 ...