Centos7 – Something filling up the disk space

Robert Andresen Programming, Tutorials Leave a Comment

When a webserver uses 100% of the diskspace, there is not enough space to create a session in PHP. In other words people cannot login to your web-application. I had some problems with the httpd logs (/var/log/httpd) over some time with one single webserver. The access log can take up to mulitple gigabytes. After deleting the logs, everything worked fine. After …

Linux Cockpit (Fedora 23 and CentOS 7)

Robert Andresen Programming, Reviews, Tutorials Leave a Comment

  Today I installed and tested Fedora Server 23. This version of Fedora comes with cockpit, which are a web-interface for server monitoring. I have mostly used CentOS up to now, but Fedora looks more interesting for the reasons I will mention below. To add my CentOS servers to the Cockpit monitoring, I need to install Cockpit on them as well. Setting up …

Kerberos auth with Apache/PHP

Robert Andresen Programming, Tutorials 5 Comments

We have a portal/intranet-webpage at my work, running with Apache, PHP and MySQL. In 2011, a colleague and me sat 16 hours (without a break) and configured kerberos authentication with the Linux webserver. Now in 2015 we needed kerberos with a new webserver. We did write a doc back in 2011, but when you sit for 16 hours – the …

Tutorial: Install OpenHAB

Robert Andresen Internet of things, Tutorials 1 Comment

OpenHAB is a automation software for your home. OpenHAB is open source and supports a huge list of bindings to control all types of smarthouse-gadgets from different suppliers. In this tutorial I will install OpenHAB 1.5.1 with the OpenHAB demo files, on an Ubuntu server 14.04. Note: After installing I found that you could also install it with apt-get. See wiki …