In a renewed attempt to get rid of users, Firefox added a horrendous zoom effect to the address bar every time you click in it. Here is how to restore the behaviour to a normal box: Type about:config in the address bar to access advanced settings change browser.urlbar.openViewOnFocus to FALSE change browser.urlbar.update1 to FALSE
Month: April 2020
Checklist: install and configure MySQL in Ubuntu 18.04 LTS
Update the repository index: # apt-get update Install the MySQL Server: # apt-get install mysql-server Verify status and installation: # mysql –version Secure local installation: # mysql_secure_installation (at the very least remove anymous access and sample stuff) Start mysql shell: # sudo mysql Verify authentication for root: > SELECT user,authentication_string,plugin,host FROM mysql.user; If set to […]
Setting IP restrictions on an apache website
Limiting IP access is a rather efficient way to restrict access to sensitive sites, such as for example phpmyadmin installations.There are multiple ways to archive this, one of the easyer ways is by setting the .htaccess file in the web directory for the specific site: The above gives you a series of examples for a […]
Add a user to the sudo group
This is not different from adding any other user, to any other group, e.a.:
Creating a linux desktop with X410 and WSL
Note: This process is largely a rewrite from the official X410 app cookbook, for presevation and easy access. Requirements: Windows 10 with WSL installed Install Ubuntu (or any distro of your picking) from the Windows store Install the X410 APP from the windows store Install the X server, and disable any screensaving stuff: Create a […]
Adding the Courier IMAP server to your system (Debian, Ubuntu)
Courier offers IMAP services for your system. Prequisite: PostFix mailserver package Prequisite: Maildir style mailboxes see here Add the Courier package for IMAP support Courier will install a self signed certificate at the location /etc/courier/imapd.pem, which can be replaced with a production grade certificate later. Add your local domains to postfix Check domain settings with […]
How to install zlib for ubuntu
In ubuntu, the zlib package is named zlib1g, so:
Setting Postfix Support for Maildir-style Mailboxes
Maildir is an e-mail spool format that keeps all mails in seperate files, and thus does not need file locking to maintain message integrity. All operations are atomic. A MailDir directory contacins thgree subdirectories: tmp, new and cur. The populair Courier IMAP/POP servers work with the MailDir format. Restart postfix to make the changes take […]
Generic www tot non www redirect for apache
Step 1, Make sure you can use mod_rewrite The virtual host you want to apply the redirection on needs permissions to use mod_rewrite to perform the redirection. You will need something along these lines a little bit dependent on how your websites are configured to enable overriding options through .htaccess Step 2, Applying the redirect […]
Enabling apt-get on HP ThinOS
HP ThinOS (version 7 at the time of writing) is a modified version ubuntu xenial. You will find that the repository references are still present in /etc/apt/sources.list, so re-enabling package installation is rather straightforward: Activate administrator mode on the thin client Open an x-terminal (or use the build in graphical text editor) Remove the comments […]