Archive for February, 2009

NFS Server Setup on CentOS

NFS (Network File System) server allows to share local disk with other computers in the network, wherein a specific directory is exported from the server and any client who has access to the server (NFS access control list) can mount the exported directory and work as if it were local disk.

This requires at least 2 machines with CentOS install in order to configure NFS server and Client.

1. This document will use following server and client machines

NFS Server: srv.yourdomain.com

IP Address: 10.0.1.1

NFS Client: clnt.yourdomain.com

IP Address: 10.0.1.2

Continue reading “NFS Server Setup on CentOS” »

Be the first to comment - What do you think?  Posted by Aniruddh - February 24, 2009 at 7:16 am

Categories: CentOS, File Server, Linux   Tags:

Nginx with PHP5 and MySQL

What is Nginx – Nginx is a HTTP reverse proxy server, and a mail proxy. It is a feature rich, fastest web server with low resources consumption. Nginx is widely used by very large web sites.

This tutorial will explain all the steps involved in setting up Nginx with PHP5 and MySQL.

1. Install MySQL
Login to the Linux machine using root account and install MySQL using yum command.

[root@myserver]yum install mysql-server mysql

Start the MySQL daemon and add MySQL to startup, so it starts automatically after reboot.

[root@myserver]chkconfig --levels 235 mysqld on
[root@myserver]/etc/init.d/mysqld start

By default there is no password setup for mysql, so anyone can login using mysql on the shell prompt, for security you need to setup a password for mysql server, run following command to set a password

Continue reading “Nginx with PHP5 and MySQL” »

Be the first to comment - What do you think?  Posted by Aniruddh - February 11, 2009 at 8:27 am

Categories: Nginx, Web Server   Tags: