Changing hostnames of linux servers should be easy. I’m sure there are other ways of doing this but here’s what I used most of the time:
To check for current hostname:
Make change permanent on reboot:
Debian/Ubuntu: edit or make changes on this file /etc/hostname
RHEL/CentOS: edit or make changes on this file /etc/sysconfig/network
Make sure to check or update new hostname in /etc/hosts as some running application could be using hostname values in there. Test running applications as well or try to reload/restart if possible (ex: apache).
Setup guide for running Varnish on the same server with Plesk 11 on CentOS.
Start Varnish install, add vcl file for sites or apps (ex: in my case it’s for Drupal), configure varnish to exclude other sites or domains (ex: if not all sites on plesk server will use varnish), then configure your varnish server (ex: varnish port to 80, storage, apache backend, etc).
configure vsftpd for ssl/tls. add/edit the following lines below in addition to exisiting vsftpd config. For new setup, don’t forget to go over vsftpd config and enable/disable options that you need (ex: anonymous login, allow local users, chroot, etc)
The provided compiler '/usr/bin/gcc' is LLVM based, it is not yet fully supported by ruby and gems, please read rvm requirements.
I got this error when installing ruby (1.9.2) on my fresh install Mountain Lion. Looking at some references online, this looks like an issue with the compiler used in mac os (lion and mountain lion), as they switched to (LLVM) Clang compilers.
Work-around I found for my ruby installation is to specify the compiler to use during the installation (clang), change the default GCC to Clang.
rvm install ruby-1.9.2 --with-gcc=clang
Also, make sure you have the following installed and up to date for ruby install:
xcode with “Command Line Tools” components
Note: This could also be the case with other packages compiled/installed from source.