Linux

Learning about Linux and Unix system

Compiling and Installing MySQL on Linux/CentOS

Download MySQL Source Code from http://dev.mysql.com/downloads/

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> cd /usr/local/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> bin/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql var
shell> bin/mysqld_safe --user=mysql &

----
yum install ncurses-devel
yum install gcc gcc-c++

Changing MAC address In Windows XP/Vista and Linux

There are many tools that let you change your MAC address. Most of them are commercial softwares. Of course, you also find the free or open source softwares on the internet. I searched before but i did not be happy with them. They are not as good as i expected. I need a small software to change my MAC address but it was developed into big software for a small task.

Linux commands

I have worked on Windows for long time. It is time that i am going to use Linux as my server, I will host most of server applications as web server, source code control, project management system... on Linux.