centos

  • CentOS

    How to setup a LAMP server Linux, Apache, MySQL, PHP on Centos 6 VPS

    VPS is basically a virtual server or “container” on a larger dedicated server. You will have full control/access (reinstall OS, start/stop/reboot, full root access and such) of your VPS just the same as real dedicated server but with much lower cost since you share the real dedicated server with other people. I will show you how to setup a LAMP…

  • CentOS

    How to install nginx on centos

    How can I install Nginx web server On CentOS Linux 6 or Red Hat? Nginx is faster at serving static files and consumes much less memory for concurrent requests because Nginx is event-based it doesn’t need to spawn new processes or threads for each request, so its memory usage is very low. Add nginx yum repository nano /etc/yum.repos.d/nginx.repo add this…

  • CentOS

    How to change hostname on centos

    To change hostname in centos, here is how to do Temporary hostname change (this will be reseted after reboot) hostname newhostname Permanent hostname change nano /etc/sysconfig/network This is from one of my vps NETWORKING=”yes” GATEWAYDEV=”venet0″ NETWORKING_IPV6=”yes” IPV6INT=”no” IPV6_DEFAULTDEV=”venet0″ HOSTNAME=”namhuy.org” Change hosts file Change the host that is related to your main IPaddress for your server, this is for internal networking nano…

Back to top button