Archive for 'Linux Tutorials'
How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1
Posted on 18. Apr, 2009 by wiredgorilla.
TweetThis tutorial is based on Falko Timme’s tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an Ultra Monkey package which provides heartbeat (for checking if the other node is [...]
Continue Reading
How to update Virtuozzo Node to the newest Kernel
Posted on 06. Apr, 2009 by wiredgorilla.
TweetVirtuozzo includes a utility to update itself and the included templates. To run this, you will need to ssh into the hardware node and execute the command: vzup2date In order to update the templates, add a -t to the command thusly: vzup2date -t It should be noted that if Virtuozzo is installed on the server, [...]
Continue Reading
Turbo charging MySQL by setting up the query cache
Posted on 27. Mar, 2009 by wiredgorilla.
TweetTo make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell command locate , in our case we are running on a CentOS 5.2 distro and to its my.cnf located in [...]
Continue Reading
Moving mySQL DBs between servers
Posted on 27. Mar, 2009 by wiredgorilla.
TweetMoving mySQL DBs from one server to another: mysqldump -uUSER -pPASSWORD txp_database > txp_database.sql puts the entire thing in one nicely portable text file. on a new server it takes mysql -uUSER -pPASSWORD txp_database < txp_database.sql to import it.
Continue Reading
Taking backup of mysql database using cron
Posted on 27. Mar, 2009 by wiredgorilla.
TweetTaking backup of mysql database using cron Create a file called database_backup.sh and also an empty directory called mysql_backup. The database_backup.sh script should have the following info :
Continue Reading
How to Reset your Linux Root Password
Posted on 26. Mar, 2009 by wiredgorilla.
TweetWhenever you can’t remember Root password, you can read this tutorial and do step by step to Reset it … You can log in with single-user mode and create a new root password. Reboot your computer. When GRUB is presenting the menu list, follow those instructions:
Continue Reading
CentOS – what happened to netconfig in 5.1
Posted on 26. Mar, 2009 by wiredgorilla.
TweetFor whatever reason CentOS decided to drop netconfig and renamed it to system-config-network
Continue Reading
Common SSH Commands and Linux Shell Commands
Posted on 26. Mar, 2009 by wiredgorilla.
TweetWe’ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This guide will continue to be updated and should not be considered a complete list of SSH commands or linux shell [...]
Continue Reading
Moving large files from one linux server to your new linux server
Posted on 26. Jan, 2009 by wiredgorilla.
TweetOk, so you like to move your 3 gig backup from your old server to your new server, but the the good old wget command is not doing the trick? There is an easy way around with the scp command
Continue Reading
How to check and stop if DDoS attack is going on.
Posted on 20. Sep, 2008 by wiredgorilla.
TweetDistributed denial-of-service attacks In a distributed attack, the attacking computers are often personal computers with broadband connections to the Internet that have been compromised by viruses or Trojan horse programs. These allow the perpetrator to remotely control machines to direct the attack, and such an array of computers is called a botnet. With enough such [...]

