Quantcast
Channel: Drup.org - Ubuntu
Browsing latest articles
Browse All 19 View Live

Technical Notes

These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of...

View Article


PDF printing under ubuntu

To install: sudo apt-get install cups-pdf There are a couple of pitfalls:Getting unreadable PDF Due to wrongly selecting ☒ print to file (which creates an EPS, not a pdf but can be read with some pdf...

View Article


Setting up Syncthing on an Ubuntu 16.04 server

Resourcesapt.syncthing.net Syncthing’s instructions for installing their PPAwww.digitalocean.com/…tu-14-04 install from GitHub.read more

View Article

Install php 5.6 on Ubuntu 16.04

By default Ubuntu 16.04 (Xenial) now comes with php 7.0You can install php 5.6 in parallel and switch between them using the following instructions: add-apt-repository ppa:ondrej/php apt update apt...

View Article

Installing libsass on Ubuntu

The most minimal way of doing an installation is using sassc, the C binding. apt install git build-essential cd /opt git clone https://github.com/sass/libsass.git git clone...

View Article


Setting up NFS on Ubuntu 16.04

Make sure userid’s and groupid’s match between the systemse.g. usermod -u 1001 -g 504 -c "Andrew Fountain" andrewfSet up the serverset up the fully qualified domain name, e.g.read more

View Article

iptables configuration on a linux server

List current tables with line numbers and statsiptables -L INPUT --line-numbers -vAppend another ruleiptables -A INPUT -s 58.245.23.126/24 -j DROPDelete rule #3iptables -D INPUT 3The moment you apply...

View Article

Wiping a Hard Drive Clean

To securely wipe a hard drive of all data, do: apt install wipe shred -vfz -n 2 /dev/sdb Options above are verbose, force, zero out in an extra passNumber of passes: -n 2

View Article


Fixing a Linux broken boot

If the system has been corrupted, and there is no grub menu, then boot from a live CD, open a terminal and do this: sudo fdisk -l # find the root filesystem sudo mount /dev/sda2 /mnt #whatever your...

View Article


Preventing false mouse double-clicks under linux

Newer versions of Kubuntu are missing the advanced mouse options which let you debounce the mouse sudo apt install xserver-xorg-input-evdev sudo mkdir -p /etc/X11/xorg.conf.d Then edit...

View Article
Browsing latest articles
Browse All 19 View Live