How to create a PHP linux daemon (service)

There are many ways to automate scripts and applications running on Linux, you can obviously create a cron task, that can execute from between a minute to once a year if you wanted there are however other ways in which you can have unattended background tasks execute. Today I will explain how you can create a … 

 

How to install Git without having to install Xcode on MacOSX

Today I re-installed one of my Mac’s with the latest version of OSX (my laptop has been using Mavericks for a while so I thought I’d better upgrade my family iMac too!) Anyway, annoyingly, if you download Git for MacOSX from the official Git website (http://git-scm.com/) and install it on your Mac,  you’ll notice that … 

 

Setup your own private GitHub server using GitLab and Ubuntu Server 12.04 LTS

I’m the first to admit that I absolutely love writing code and applications, I’m also a huge fan of GitHub, GitHub is a fantastic tool for hosting and collaborating on public projects such as open-source projects however and although you can pay to enable you to host private Git repositories on GitHub if you have … 

 

Setting up Teamspeak 3 on Ubuntu Server 12.04 LTS

I have a few personal VPS servers which I run and have purchased through DigitalOcean, one of my VPS servers act as a mail server at present, it runs Ubuntu Server 12.04 with Postfix, Dovecot, ViMbAdmin and some SPAM busting tools, I’ve decided that as I frequently work on projects with others online and normally generates … 

 

Using Gmail with Postfix as an SMTP relay

Many times in the past I’ve configured Linux server (in this case, specifically Ubuntu LTS Servers ) where I need to recieve automated emails such as CRON logs etc. to an external email account but don’t want or need the hassle of configuring a fully blown SMTP server with SPF records, DKIM signing etc. etc. … 

 

Installing a simple NFS server for use with VMware ESXi

OK, just a very quick post here, This week I installed my new ESXi host so I can run a few test VM’s etc and wanted to easily mount installation media (eg. ISO’s) from my home server (running Ubuntu Server 12.04) so I thought I’d quickly set-up an NFS (Network File Server) as VMware ESXi … 

 

Setting up internal DNS on Ubuntu Server 12.04 LTS

In the past I’ve never really bothered with internal DNS at home, I simply add host records to my servers/laptops and workstations as and when I need too by updating the hosts file but now that I have just finished my new loft conversion and have moved my entire office up there, I’ve dedicated some … 

 

DLNA Server (miniDLNA/ReadyDLNA) on Ubuntu Server 12.04 LTS

In a previous post on my blog I posted about setting up a home server with the ability to stream music, video and pictures to devices connected to the same network. I previously used MediaTomb, of which to be honest was rather complex to set-up and manage and now due to the fact that I … 

 

How to view the size of MySQL database(s) via the MySQL CLI

I thought I’d quickly post up this quick MySQL snippet to help others who are trying to quickly view the size of a MySQL database from the MySQL CLI. The following query displays the size of all your current MySQL databases on your server in megabytes:- SELECT table_schema “Data Base Name”, sum( data_length + index_length … 

 

Installing PHP and MySQL on MacOSX using MacPorts for development.

Ok so this is aimed at being a very quick guide to installing a PHP (specifically PHP 5.4, but you can install PHP 5.3 or.PHP 5.5 if you wish!) development environment and MySQL server to enable you to develop (using the built in PHP development server) and MySQL on an MacOSX based machine, so to …