You might need to add users to sudoers but when they elevate to sudo they will be prompted for a password, this process will add the user to sudoers and also allow them to run commands without being prompted for a sudo password. This works for Linux Ubuntu or Debian Process 1. Install Sudo (if not… Read more »
Install Varnish on Linux Debian or Ubuntu for WordPress
What is Varnish? (From Wikipedia) Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP,… Read more »
Setting Locale in Linux Debian or Ubuntu
Setting the locale in Linux Debian or Ubuntu is quite easy, usually it is because you get the following errors: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_AU.UTF-8" are supported and installed on your system. perl: warning: Falling back to the… Read more »
Setup SSH Keys for Linux Key Based Authentication
Generating RSA Keys 1. Create a folder called “.ssh” under the root folder (change ~ for the full path of the user if you are using a user account) mkdir ~/.ssh 2. Change permissions on the “.ssh” folder to 700 chmod 700 ~/.ssh 3. Generate keys ssh-keygen -t rsa You will be prompted for a… Read more »
Installing and Configuring Exim4 to Smarthost on Linux Debian or Ubuntu
1. Update source repositories apt-get update && apt-get -y upgrade 2. Install Exim4 apt-get install exim4-daemon-light 3. Create and edit the following file location: vi /etc/exim4/passwd.client 4. Add the following line smarthostaddress:login:password example: smtp.example.com:chris:password 5. Create the following file vi /etc/exim4/exim4.conf.localmacros 6. Add the following line AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1 7. Reconfigure Exim4 dpkg-reconfigure exim4-config 7a. Select… Read more »