Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

theshell

theshell

Change hostname – CentOS 7

centos logo

Changing the hostname on CentOS 7 is pretty straight forward, issue the following at shell and replace HOSTNAME with the hostname you want to set. hostnamectl set-hostname HOSTNAME To verify that the new hostname is set issue the following: hostnamectl  

Add / Change dns – CentOS

The easiest to add or edit the dns servers your server uses is to edit the file at  and then add dns entries in the following manner nameserver 208.67.222.222 nameserver 8.8.8.8 nameserver 208.67.220.220 nameserver 8.8.4.4 So I’ve gone and set…

Add memcache to PHP – CentOS 7

Install Memcached on your server if you haven’t already done it: LINK Issue the following at shell: yum install php-pecl-memcache Now add memcache to PHP, create a file at: /etc/php.d/memcache.ini and the following to it extension=memcache.so Restart apache systemctl restart httpd Verify the…

Install Memcached – CentOS 7

Issue the following command to get going: yum install memcached Edit the config located at /etc/sysconfig/memcached PORT=”11211″ USER=”memcached” MAXCONN=”1024″ CACHESIZE=”640″ OPTIONS=”-l 127.0.0.1″ Make sure you set the OPTIONS section as above, also increase the CACHESIZE according to your needs Start it up: systemctl start…

Remove / Uninstall RPM – CentOS

Look for the exact name of the installed rpm you want to remove rpm -aq | grep -i XYZ Copy the complete line of the rpm you want to remove and issue the following to remove rpm -e XYZ Note:…

Install Odoo 8 – CentOS 7

Our starting point is a 64-bit, fresh CentOS 7 (minimal ) machine. Get your machine up to date before proceeding: yum update -y We’ll start by installing PostgreSQL yum install postgresql postgresql-server postgresql-libs Since this is the first time installing…