DevOps

CentoOS 7 NFS support

CentoOS 7 NFS support

CentOS is pretty new, and some default stuff is just missing. Like NFS suport out of the box.

We have to install package called nfs-utils

yum -y install nfs-utils

we can mount using standard mount 192.168.1.15:/c/share

mount -a 

to make it parmament

edit /etc/fstab

192.168.1.15:/c/share /mnt/nfs nfs defaults 0 0
Apache 2.4, PHP 5.4 on EC2 instance

Apache 2.4, PHP 5.4 on EC2 instance

This tutorial just updated version of my previous one . This time we are going to install newer version of apache (httpd 2.4), PHP 5.4 but as a PHP-FPM . Instructions are pretty simple. You can just copy and paste command to get working stack in less then 15 minutes.

What you can learn from it? How to install Apache 2.4 and PHP 5.4, how to enable and APC, and how to install HTTPS on your server, with purchasing SSL certificate.

Shuttle XS35 V2 and CentOs drivers

Some time ago I bought extremely quiet Shuttle XS35 V2  device to have something “seperate” for my web development work. Right now this awesome fan less device has many purposes. Works as full web dev stack, with Apache, PHP, MySQL, mongoDB, and even Jenkins machine.

Recently I realised that this small ugly device got also WiFi cart into it. Because I’m running out of cables and space in my apartment i figure out, that I could move it easily without plugging into it more cables.