When you finish installing Ubuntu , you see that there is no network card when running “ifconfig” , or checking /etc/network/interfaces , but you see there is no info for your network card. lspci -nn | grep -i net The following command will show a list of ethernet card available in your Ubuntu box. The output may look like this 09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761e Gigabit Ethernet PCIe (rev 10) If you see the result, that means the network card has been recognized by your OS , then you just need to configure it you can add these line to bring that interfaceRead More →

if you have ConfigServer Security & Firewall enabled in WHM , only a certain ports are allowed to come in/out. By default mysql will be blocked, to unblock it you need to add 3306 as an allowed list Go to ConfigServer Security & Firewall – > Firewall Configuration -> Add 3306 into TCP_IN list ( separated by comma) like this: 20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,3306Read More →

1. If this is an existing users Syntax: usermod -a -G groupname username For example: usermod -a -G sudo myadminaccount -> this will make myadminaccount belong to sudo group , this mean it can run sudo su – to becom a root. 2. For new user ( you haven’t created it yet) Syntax: useradd -G groupname username This will add a new username to a group name groupnameRead More →

Do you have this problem ? – you made the changes in /etc/ha.d/ldirectord.cf , – restart ipvsadm : /etc/init.d/ipvsadm restart you see the changes : ipvsadm -L But after sometimes, you go back and check , the weight has been changed ? WHY ? It’s because there are 2 ldirectord ar running ( you can verify by running top command Kill one of them and check the status (ipvsadm -L) it will fix your problemRead More →

If you cant not login to gmail via your outlook , and you got a message asking you to visit https://support.google.com/mail/bin/answer.py?hl=en&answer=78754 This means your account maybe blocked, you can follow these steps to fix it – login to your gmail via webmail if you see any captcha ,enter it and login to webmail if this step does t fix your problem , go to your Account Settings and change to a new password Hope it helpRead More →

Sometimes, you want to remove the replication , it could be because the replication no longer works, or you don’t want to replicate. Here are some commands that you can use Login to mysql: mysql -uroot -p Enter your mysql root password Run the following command to disable the replication with master. STOP SLAVE; RESET SLAVE; change master to master_host=”, master_user=”, master_password=”; On the master, if you want to disable the replication you should login to mysql and run : stop master Delete all .bin file in /var/log/mysql Edit /etc/my.inf and remove the replication sectionRead More →