Sharing code for webserver using NFS
Separating machines between WebServer and the code server is kind of easy.
Basic knowledges you have to know is about httpd.conf, networkfilesystem, fstab, and user-group id
NetworkFileSystem is the one we will use to share the directory from the code server.
First : SeeĀ your httpd.conf filesĀ for each VirtualHost directives, you will find DocumentRoot for each VirtualHosts.
These […]
PHP code is separated from WebServer
Generally, people put together between the WebServer (httpd services) with php code.
For economic sakes , yes you may put it that way. No other choice.
But for easy maintenance and more security better you put WebServer and php code in separated machine even the Database server is also separated.
With this way you can create Web Server […]
Advertisement
More about Linux, Hostings, Website, Server, Microsoft and various advertisements will appear below.System Date and Time
Yes date&time must be setup correctly, otherwise your cron job will blow your head off.
Before you change the date you must pay attention to your timezone.
Simply execute # timeconfig from the shell.
Timeconfig not working ? It must be installed first.
# yum install timeconfig
Here is some common use to set the date and time of your […]