Jenkins setup Git Tutorial (also when not working for Github or BitBucket on Ubuntu)
Jenkins SSH Key sudo su jenkins ssh-keygen -t rsa (pressing return when prompted for a pass phrase) cd ~/.ssh cat id_rsa.pub Git and Jenkin If you get a git clone issues when building (The authenticity of host ‘bitbucket.org) try the following…
Ubuntu VirtualBox with Static IP on Windows Host
Bridge Adapter Go to the virtualbox settings and change the network type to be bridge adapter. Then boot the box. Edit the interface sudo nano /etc/network/interfaces You will find a line saying something like iface eth0 inet dhcp. Replace this…
WordPress Auto Updates without FTP on Ubuntu
I enjoy the wordpress autoupdates or plugins, themes and core however when I moved a blog to an ubuntu server it kept asking me for the ftp details (which I did not have). So after a bit of looking around…
How to connect to Ubuntu from Mac via SSH Keys
The following instructions explains how to connect to an Ubuntu server through a mac terminal/console using ssh keys. It does not turn off the ability to login with a password (see step 7) and you cannot do this with root,…
How to disable root on Ubuntu
Warning: The following instructions worked for me however may brick your server. Please find a professional network admin to play around with a live/production server. If something bad happens I am not to blame, you have been warned! 1. Login…
Sendmail on Ubuntu
Install Sendmail on Ubuntu I also need my php applications to be able to send our email using the mail function. Therefore I need to install sendmail and enable it in my php.ini file. Install Sendmail apt-get install sendmail Check…
Install APC on Ubuntu with PHP 5.3
Installing the APC with PHP5.3 is straightforward (when you know how): 1. Install the required packages: sudo apt-get install php-pear php5-dev apache2-threaded-dev 2. Install APC: sudo pecl install apc-3.1.4 3. Create file /etc/php5/conf.d/apc.ini with the following content: extension=apc.so 4. Restart…
Setting up a Cron with Plesk using a PHP File
I have a Server with a Plesk control panel and I wanted to automate a PHP script using a cron (or crontab). Within Plesk it’s called a scheduled task. The problem is its not that user-friendly (but like everything it’s…
Installing LAMP on Ubuntu
So I been getting rather annoyed with CentOs recently, mainly due to the lack of PHP support above 5.1.6, especially with all the cool features of 5.3. Also I always seem to have massive trouble installing anything like Mcypt or…
Recent Comments