CentOS change hostname without reboot

you can do it in 2 steps:

ERROR: Can’t create temporary directory /var/clamav/clamav

the good old clamav gave me the above error on daemon starting: [root@~]# service clamd start Starting Clam AntiVirus Daemon: LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: ************************************************** [ OK ] not updated ? ...

vim installation via yum in centos

some people prefer pico or others, I prefer vi and ofcourse vim, to install it in 32 & 64bit run:

How to enable PHP SOAP extension on CentOS 5

one user needes SOAP  that wasn’t installed in php so as described here: https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=20155&forum=38 you must run: yum --enablerepo=c5-testing update php\*

/tmp & /var/tmp noexec hardening without reboot

After discovering scripts running in my /tmp folder (in CentOS 5.x) I had to harden the directory. The faster way to harden your /tmp and /var/tmp without rebooting is the following: In your /dev directory create an empty 2,5 GB file (best for web hosting servers with many websites). # cd /dev # dd if=/dev/zero ...

Plesk 9.x – SSL Error , certificate is for localhost.localdomain

When you install a certificate in a Plesk 9.x version you and try to check if ti works in the browser you might get a strange problem , the appearing SSL in the browser would be issued for localhost.localdomain (the default certificate that comes with the OS for example CentOS).