Category Archives: Linux

LXDE create quick launcher

To provide a GUI for LXDE users to easily create new .desktop files, which can be used as shortcuts to applications or locations, follow the instructions below: 1. Create file:  /usr/local/bin/create-quicklauncher: #!/bin/bash # Use the current time as a unique temporary filenameDATETIME=$(date +%Y%m%d-%H%M%S)FILENAME=$DATETIME.desktop lxshortcut –output=$(pwd)/$FILENAME # Get the Name that user inputed so we can rename … Continue reading LXDE create quick launcher →

Simple Invoices password reset

To reset the password of a Simple Invoices user it is necessary to use MySQL.  Passwords are stored as a hash using the MD5 function. Log in to mysql and connect to your database, then:select * from si_user;update si_user set password = MD5(‘newpassword’) WHERE email = ’email@address.com’; www.simpleinvoices.org

ClamAV ScanOnAccess

ClamAV 0.99 supports scan on access, through clamav-daemon (clamd),  Below are instructions for setting this up with Lubuntu 16.04. 1) apt-get install clamav-daemon 2) apt-get install libnotify-bin   (we will use notify-send to send alerts to the desktop) 3) edit /etc/clamav/clamd.confUser root…ScanOnAccess trueOnAccessPrevention yesOnAccessIncludePath /home/user/DownloadsVirusEvent VirusEvent export DISPLAY=:0; /usr/bin/notify-send –icon=error “CLAMD VIRUS ALERT:” “$CLAM_VIRUSEVENT_VIRUSNAME FOUND IN $CLAM_VIRUSEVENT_FILENAME” 4) … Continue reading ClamAV ScanOnAccess →

Configure Exim mail server on Debian

Verified on Debian 8 (Wheezy). apt-get install exim4 To support recent IOS devices you need to generate a 2048-bit SSL certificate. Add TCP port 587 to the listening ports by editing /etc/default/exim4. To support local account authentication for SMTP over SSL submission port 587 uncomment out the sslauthd section (ref: https://wiki.debian.org/Exim). Exim defaults to IPv6 before … Continue reading Configure Exim mail server on Debian →

Run your own DynDNS server on Debian Linux

This outline assumes you own your own domain and manage the DNS servers running Debian Wheezy or Jessie with: bind9 for DNSlighttp for webserverphp5apt-get install bind9 – configure your zone. apt-get install lighttp php5-cgi Configure SSL: lighty-enable-mod ssl openssl … Configure authentication: lighty-enable-mod auth echo username:realm:`md5sum password | cut -b -32` >> /etc/lighttpd/.htpasswd/htdigest.userEnable PHP: lighty-enable-mod fastcgi lighty-enable-mod fastcgi-php Configure Virtual Hosting: lighty-enable-mod simple-vhost mkdir … Continue reading Run your own DynDNS server on Debian Linux →