January 2009 Archives

Jan 28, 2009

How to install VMWare Server 2.0 on CentOS 5.2

Posted by Martin Perron in HowTo - Linux No comments

This how to was test on CentOS 5.2 64 bits.
First of all, you need to register to vmware:
https://www.vmware.com/freedownload/login.php?product=server20
You will now receive an email with all the path to download and your serial number.
Download the Linux .tar.gz version for x86_64 bits. (VMware-server-2.0.0-122956.x86_64.tar.gz)
You can’t download it with wget… The path is related with your connection to the [...]


Jan 27, 2009

How to export / import MySQL database

Posted by Martin Perron in HowTo - Linux No comments

For migrate a database or just backing up a database, here’s the howto:
Export:
mysqldump -u username -pThePassword –opt DatabaseName > /tmp/DatabaseName`date +%Y_%m_%d`.sql
Import:
mysql -p -h localhost DatabaseName < DatabaseName.sql
Voilà!


Jan 27, 2009

Install wordpress on CentOS 5.2

Posted by Martin Perron in HowTo - Linux 27 comments

WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.  (http://wordpress.org/)
First, you need to create a user and empty database.
On a default settings, mysql root user do not need a password to authenticate from localhost. In this case, ou can login as [...]


Jan 27, 2009

Use OpenDNS as your DNS everywhere!

Posted by Martin Perron in Featured, HowTo - General No comments

DNS are the Dynamic Name Server. They are use to resolve domain name as IP.
You ISP DNS may be slow (resolve domain name slowly) so the Internet appear to be slower. Also, DNS from ISP are not being update very quickly, so it can take 24-48 hours to resolve a new domain from there DNS.
The [...]


Jan 26, 2009

Configure samba as a ROLE_STANDALONE on CentOS 5.2

Posted by Martin Perron in HowTo - Linux No comments

This config is for home use and have no security enable on standalone mode.
Install the rpm:
yum install samba
Go to the samba config folder:
cd /etc/samba/
Always good to backup the original config file:
mv smb.conf smb.con.ori
Create a new smb.conf file
vi smb.conf
Edit with the following

[global]
workgroup = workgroup
[...]