To change your server’s hostname manually on CentOS / RHEL is quite easy. Simply edit the file /etc/sysconfig/network with your favorite text editor and change the value of the HOSTNAME parameter to the new hostname. Your configuration file should look something like this:
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=”newhostname.domainname.com”
GATEWAY=”192.168.0.1″GATEWAYDEV=”eth0″
FORWARD_IPV4=”yes”
You’ll also need to replace all occurencies of your old hostname in /etc/hosts. [...]
When you’re working remotely on a Linux server through SSH, you are at risk of losing important data if you encounter a network failure. Worst than that, you could even end up “breaking” your Linux box or locking yourself out. Think about a critical component installation interrupted by a network problem. That could mean disaster [...]
I’d like to add a little something about the CentOS 5.0 Perfect Setup. After following carefully each instruction step-by-step, I noticed that at least two PHP extensions were missing: php-mcrypt and php-mbstring.
Sometimes your web server’s internal clock can be somewhat unreliable. While this may not have any considerable consequences on an isolated server or network, this can turn out to be a nightmare when you connect it to the Internet.
January 25th, 2008 · 4 Comments
Although your virtual CentOS server should be working fine at this point, it is recommended to install the VMware Tools to increase performance and functionnalities.
The VMware Tools do not have to be downloaded or whatever: they are made available from the VMware Server console.
Now that you have installed VMware Server and that you’ve created a virtual machine, let’s go to the next step. We’re now going to select the package groups required to run our virtual web server and proceed to the installation.
Today I’m installing CentOS 5.1 on VMware Server as a test machine. I thought it could be helpful to some to know how to do this so here it is.First of all, if you don’t have VMware Server, you can get your free copy over at http://www.vmware.com/download/server/. I am currently running VMware Server 1.0.2 but [...]
|