How to find installation date and time of rpm package
|

How to find installation date and time of rpm package

In this post,we will know the linux command to find installation date and time of rpm package. As a Linux System Administrator,we take part in IT auditing activity. Sometimes for cross check we require the exact date and time of rpm file installed in Red Hat based Operating System (RHEL/CentOS/Scientific Linux). Hence,for auditing purpose,it is…

create a system account below uid 500 on RHEL/CentOS/Scientific Linux
|

create a system account below uid 500 on RHEL/CentOS/Scientific Linux

In this post we will know,how to create a system account below uid 500 on Red Hat based operating system.In Red Hat based operating system,the system account are below UID 500. The UID below 500 are reserved for system use ,it should not be assigned to other users. We can easily check the system user…

Extract single and selected files from RPM package on Linux

Extract single and selected files from RPM package on Linux

Question : How can I extract single and selected files from RPM package on Linux. Answer : You can extract the single and number of selected files from RPM package by using rpm2cpio and cpio command.To achieve this task we will first list the number of files inside RPM package. After getting files name, we…

linux command to list the files from rpm package without extracting

linux command to list the files from rpm package without extracting

Question: What is the linux command to list the files from rpm package without extracting ? Answer : To do listing of files from rpm file package we will use rpm2cpio and cpio command. It is good practice to check list of files before extracting files from rpm package. By viewing list of files we…

How to extract RPM package on Linux system
|

How to extract RPM package on Linux system

In this tutorial we will learn, how to extract RPM package on Linux system. Extracting the rpm has one the important command and it will surely help you in System Administration. Many times I solved some problem which is caused by file corruption of particular package. Here is the story from my experience.One day,my colleague…

Install and upgrade to latest Git version on Ubuntu/Debian/Linux Mint
|

Install and upgrade to latest Git version on Ubuntu/Debian/Linux Mint

In this tutorial we will learn,how to install and upgrade to latest Git version on Debian based Operating System.At the time of writing this post,git version 1.9.1 has been released on 2014-03-18. The information of new Git version release can be obtained from git-scm.com The practical has been tested successfully in Ubuntu,Debian and Linux Mint….

XAMPP : Mysql # 2002 – No such file or directory

XAMPP : Mysql # 2002 – No such file or directory

After installing XAMPP in CentOS ,I tried to open the phpmyadmin of XAMPP. I opened the phpmyadmin URL in web browser and found the below given error. Error MySQL said: Documentation #2002 – No such file or directory The server is not responding (or the local server’s socket is not correctly configured). Later, I noticed…

How to install XAMPP on CentOS/RHEL 6.5

How to install XAMPP on CentOS/RHEL 6.5

In this tutorial we will learn,how to install XAMPP in CentOS/RHEL 6.5.We will install XAMPP version 1.8.3. XAMPP is a open source cross platform software stack package mainly used for web server solution. XAMPP is available for Windows,MAC OSX,Solaris and Linux(WAMP, MAMP, SAMP, LAMP). XAMPP stands for –X = Cross Platform (Windows,MAC OSX,Solaris and Linux)A…

know about GECOS in Linux

know about GECOS in Linux

Question: What is GECOS in Linux ? How to set GECOS for user on Linux ? Answer: GECOS in linux is also known as comment field for User.The comment or GECOS field is used for informational purpose. In comments field generally we write the information related to user for eg. employee id,phone number,department name,branch name…

Print double hyphen sign simultaneously in post of Octopress
| |

Print double hyphen sign simultaneously in post of Octopress

After spending lot of time on this issue.I finally found the solution to print double hyphen sign simultaneously in post of Octopress.Octopress uses markdown as a default text editor.In recent time,Octopress come up as a promising bloging platform.I was working on my staging blog which is based on Octopress. While writing the post in Octopress,I…

show post excerpt in atoms feed of octopress
|

show post excerpt in atoms feed of octopress

In this tutorial we will learn, how to show post excerpt in atoms feed of octopress. After installing Octporess in Linux system, I am still exploring many things. For blogging platform,I mostly use and install wordpress.In recent time,the octopress came up with promising new blogging platform. It is quite obvious some good features of WordPress,I…

Squid proxy server to block websites listed in file
|

Squid proxy server to block websites listed in file

In this tutorial we will use Squid proxy server to block websites listed in file. Here,we will list the website in a file called “restricted-sites.squid”. In our last post we have already setup the squid transparent proxy. The How to guide will help to install and configure the latest Squid Server. Advantage of using file…

Install and configure transparent squid proxy server : RHEL/CentOS 6.x
|

Install and configure transparent squid proxy server : RHEL/CentOS 6.x

In this tutorial,we will learn about how to install and configure transparent squid proxy server on RHEL/CentOS 6.x .In this practical,we will install Squid version 3.5.0 package in CentOS 6.5 / RHEL 6.5 . Squid server are designed to run in Unix like operating system. Up to version 2.7, Windows Operating System was supportive. Till…

How to free pagecache, dentries and inodes from memory on linux
|

How to free pagecache, dentries and inodes from memory on linux

In this tutorial we will learn,how to free pagecache, dentries and inodes from memory on linux systems. The linux system is quite capable to manage the memory itself.Sometimes we require to flush the cache from memory in linux system . On writing the file /proc/sys/vm/drop_caches cause the kernel to drop clean caches, dentries and inodes…