Monday, 24 December 2012

Configuration of LINUX Gateway Machine

Check two network devices attach properly or not. Follow the steps to configure the Linux machine(CentOS, Fedora) gateway. i )  Check the Device eth0, eth1 are available on the machine by running command.    [root@Xhost ]# ifconfig  It will display eth0 and eth1 two network card details (ip, mac and etc). ii)...
Read More

Friday, 21 December 2012

Guide to Install VServer in Fedora and Install MYPLC in VServer

This Guide will explain how to install Vserver in Fedora and then How to Install MyPLC in Vserver Step 1 : Install Fedora 12 without GUI (do not Install Any X11 packages Because in GUI mode vserver not Installing Properly) Option 1 : Download Fedora Net Install ISO and Install while Installing Choose Minimal as...
Read More

Tuesday, 18 December 2012

Uninstall or Remove Any Application or Package in Fedora

Hi I already installed yum-3.2.28-5.fc12.noarch package now i want to remove that package and Install lower version yum-3.2.25-2chroot.noarch [root@server1]#rpm -Uvh yum-3.2.25-2chroot.noarch.rpm  Preparing...                ########################################### [100%] ...
Read More

Thursday, 13 December 2012

Find Size of table and Size of Index in MySQL Command Prompt

To find Size of table in MySQL command prompt use below command mysql > SELECT table_name AS "Table", round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" FROM information_schema.TABLES WHERE table_schema = "database_name" AND table_name = "table_name"; To find Size of  Index of a table in MySQL command...
Read More

Thursday, 6 December 2012

Add new Line while Appending two files in Linux

If two files containing following content file1: 1 2 file2: 3 4 After append : cat file2>>file1  output in file1: 1 23 4 to Add new Line while Appending two files Command : sed -i -e '$a\' file2 | cat file2 >> file1 From Above sed -i -e '$a\' file2 This adds \n at the end of the file only if...
Read More
Here We Write The Problems we face at different situations and Solutions to those problems.