Categories
Linux

Ubuntu 18.04 Disable Auto Time Updates

Firstly disable automatic times Then simple set the time manualy, or the time itself will still automatically update. To re-enable automatic date/time updates use To check the status use You should see something like below. the three ‘no’ mean it’s disabled.

Categories
Linux

Cleaning Ubuntu boot partition

Often the Ubuntu upgrades will fail fue to a no space error. The only solution is to remove old kernels manually. The first step is to show which kernel you are currently running, as you do not want to delete this one. So change to the boot directory for simplicity and list all existing kernels […]

Categories
Linux wordpress

WordPress Security

This applies to self-managed Apache2 servers. Shared servers require different permissions, for example wp-config : set that file’s permissions to 440 or 400. Site Lockdown File permissions to lock down website, from the websites home folder. Do this from the root directory for example and you will break your server. Change the folder ownership of […]

Categories
Linux Raspberry PI

SSL Localhost

To enable ssl on a localhost website, and stop Chrome from showing is as “unsafe” …. Pertains to Ubuntu 18.04 Bionic, and running Apache 2.4.29 Create localhost.cnf Then use openssl to generate the certificates in 3 steps Edit /etc/apache2/sites-available/default-ssl.conf as below Enable the site … and restart Apache2 As things stand you will be asked […]

Categories
Linux Raspberry PI

Ubuntu Must Have Apps

As Open Office is part of the standard Ubuntu install, like other software installed as default, I have not listed it. There are a number of must have applications needed to get the most out of Uubuntu 18.04, but first thing to do is change the deskop. Ubuntu’s standard is way too slow and reminds […]

Categories
Linux Raspberry PI

Linux miscellaneous

Pertains mostly to Ubuntu 18.04.4 and Apache 2.4.29 Get Ubuntu version Get Apache version Get MySql version Find Files and hide all permission denied messages Copy file with ssh from server to localhost Copy file from localhost to server with ssh Copy directory from server recursively with ssh Copy directory to server from localhost recursively […]

Categories
Linux Viynl Cutter

Sharing a Viynl Cutter over the Network in Linux

This setup works for a cheap Chinese no name brand Cutting Plotter I use. On the host PC add a new printer and set the printer model to “Raw Queue“ Set the device URI to, for example, serial:/dev/ttyUSB0?baud=9600. This assumes the servial device is attached to USB port 0. Make sure it is shared. On […]

Categories
Inkscape Linux Viynl Cutter

Setting up Inkscape for use with a Vinyl Cutter using Inkcut

Step 1 Download and install the InkCut Extension from the InkCut sourceforge page. Step 2 Install the following linux libraries : sudo apt-get install python-gtk2-dev sudo apt-get install python-cups sudo apt-get install python-serial Using InkCut to perform the cut Step 1 Select the objects you wish to cut Step 2 Ungroup the selected objects Step […]

Categories
Linux Raspberry PI

Raspberry PI Setup

use GParted to format SD to win32. sudo dd bs=4M status=progress if=~/Downloads/2018-06-27-raspbian-stretch.img of=/dev/sdc; sync NB note /dev/sdc, not /dev/sdb1. i.e. Must point to physical device, not partition. Edit config.txt on the SD to set hdmi hot plug support. put sd in the pi, plug in kb and monitor and boot. after install and upgrade process […]