Here is a little known secret that allows you to view the change log of a package. Using –changelog option you can find out if particular security bug is fixed or not. This is extremely useful option for production boxes. For example CVE-2007-1864 documents that php has serious buffer overflow in the bundled libxmlrpc library [...]
Sometime by mistakes all file permissions get changed and you need to restore file permission. For example a shell script or some sort of corruption could change the permissions for packages (installed files), it may be necessary to reset them. For example a long time ago my shell script run chmod and chown commands on [...]
New Linux user often get this error. Let us say you haved downloaded the RPM file from net and saved to /tmp, you may get error – no no such file or directory – when the file is really downloaded and ls command can show the same. Answer is pretty simple rpm command needs the [...]
How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin.
Installing software from a source code is common practice in UNIX and Linux world. Some time this is preferred method because it gives all power and flexibility you need to optimize your software such as MySQL, PHP, and Apache etc. However, uninstalling files installed from a source code tar ball is a big headache. Two [...]