Category Archives: Linux

Installing Horde on Debian Jessie

Below is a guide to installing Horde mail & groupware server on Debian Jessie.  Starting with base system already installed: Install the Email server (MTA):We need a working mail system, here we use sendmail with dovecot providing IMAP: apt-get install sendmail Configure domain & SMTP settings: nano /etc/mail/local-host-names   mydomain.com nano /etc/sendmail.mc   MASQUERADE_DOMAIN(mydomain.com) make -C /etc/mail /etc/init.d/sendmail reload Install an IMAP … Continue reading Installing Horde on Debian Jessie

GParted does not start in LXQt

Symptom: Clicking on GParted launcher has no effect. Log /var/log/messages shows:  The value for environment variable TERM contains suscipious content … The cause was having set the TERM variable using LXQt Session Settings, Default Applications, Terminal Emulation to /usr/bin/lxterm.  Changing back to xterm and logging out-in fixed the issue.

Debian Touchpad Tap-to-Click

To enable tap-to-click for Synaptic touchpads (including BCM5974 in MacBook Pro) for Debian Wheezy: sumkdir /etc/X11/xorg.conf.dcp /usr/share/X11/xorg.conf.d/50-synaptics.conf  /etc/X11/xorg.conf.d/nano /etc/X11/xorg.conf.d/50-synaptics.conf Section “InputClass” … Driver “Synaptics” … option “TapButton1” “1” … Restart X.

Don’t clear boot messages when booting Debian

By default Debian (Wheezy) clears the boot messages from the console when the login prompt is displayed.  This makes it more difficult to identify and fix system issues. To prevent the login prompt from clearing the screen add the “–noclear” switch in /etc/inittab:1:2345:respawn:/sbin/getty –noclear 38400 tty1 *The line also appears in /usr/share/sysvinit/inittab,but I didn’t need … Continue reading Don’t clear boot messages when booting Debian

VirtualBox with phpvirtualbox on Debian Wheezy

A rough guide to using phpvirtualbox on Debian Wheezy: Install VirtualBox: apt-get install virtualbox Create user vbox, member of group vboxusers: adduser vbox vboxusers If using the VirtualBox GUI change the VirtualBox menu item to run as vbox:(suggest installing lxmenu) VirtualBox vbox In VirtualBox GUI change the location for VM’s: File -> Preferences -> General -> Default … Continue reading VirtualBox with phpvirtualbox on Debian Wheezy

Linux route add

Syntax for adding a route in Linux: route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.2 List routes: netstat -rn Delete route: route delete net 192.168.2.0 Add static route: nano /etc/network/interfacespost-up route add -net 192.168.2.0/24 gw 192.168.1.2 dev eth1pre-down route delete -net 192.168.2.0/16 gw 192.168.1.2 Add/Change default gateway: ip route add default via 192.168.1.254

PPTP routes on Linux

Using pptp-linux client to establish PPTP connections does not automatically generate a route to make the remote network subnet fully accessible, only the host-to-host link. If you don’t wish to set the defaultroute option, then you can use the following script to create a 24-bit subnet route: /etc/ppp/ip-up.d/pptp-route:SUBNET=`echo $PPP_LOCAL | awk -F . ‘#39;`route add … Continue reading PPTP routes on Linux