Skip to main content

Connect MySQL from Remote CentOS7

I just Installed CentOS7 and faced some issues in installing and connecting MySQL from remote location. I used to do a yum install mysql-server, which is no more supported and for that I have to install mysql repo rpm first. i will write that some other time, login to centos7 box with root and disable the […]

Boot CentOS in CLI (Change runlevel)

After in installed CentOs VM in vmWare using easyInstall, it booted in GNOME GUI, which I do not really like, so i needed to change CentOs to boot in CLI. for that we need to edit /etc/inittab vi /etc/inittab Change the last line if you reboot the centos now it will start with the splash screen and loading […]

Centos NAT with iptables

To manage NAT properly first thing we need to do is to allow IP FORWARDING so we will edit following file find the following line and change that to once done, please issue following iptables commands

Chang centOS Time-zone and Update Time U...

I needed to change the timezone of the server from AST to GMT First check your current Time zone with command date Now decide what time zone you want. You can see your timezones now create the link of the time zone you need. Here is example ln -sf /usr/share/zoneinfo/REGION/TIMEZONE /etc/localtime i need to set […]

MySQL my.cnf not found – CentOS

I installed MySQL and needed to configure it for a test replication. I needed to edit the my.cnf. I tried to find the my.cnf on my CentOS BOX but file was not there. after looking around on net for hours, Found that my.cnf is not created automatically, and one has to create it himself. Now […]

Squid Unexpected Crash and not Starting

File size limit exceeded (core dumped) My squid was working fine from months and suddenly one day it stopped, i have not touched conf file or server at all. so after struggling a lot (un-install install) with with squid i found out that there is a debug mod of squid, start your squid with this […]

Install or update MySQL 5.5 on CentOS

Install or update MySQL 5.5 on CentOS

You need to download MySQL RPM from MySQL Community. For CentOS 6 you need to download something like this (pay attention to Oracle & Red hat Linux 6 ) You need to download these things MySQL-server MySQL-client MySQL-shared MySQL-devel (optional) Login to your CentOS box and get these first thing you need to check is […]

Device eth0 does not seem to be present

Whenever i clone a VM in my Parallels Desktop (for mac) I always face this issue in new VM. It do not finds the eth0 on startup and when i do i always see this error Main reason behind is CentOS remembers the OLD NIC information and still looking for that By Default. Even though […]

Change Hostname in CentOS (permanent)

Some times you need to change the “hostname” of your CentOS Box, like for me I need to change the “hostname” when ever I clone my VM. changing “hostname” involves easy steps will show you some thing like change the hostname to what ever you like, save the file and now You may need to […]

Install and configure SNMP on CentOS

I needed to Monitor My CentOS 6.4 Box, many monitoring software like Nagios, cacti and zabbix need SNMP enabled on system to be monitored. so here you are Once you have installed the SNMP you need to configure the public query access to box. Configure SMNP first backup the snmp.conf past following in the file […]