Browsed by
Tag: Linux

Boinc on Arch Linux

Boinc on Arch Linux

I’ve already talked about how to install Boinc on Linux Mint, today I wanted to try and get it running on an Arch installation. I’m opting for a headless install and using boinc view to configure the server remotely. A good place to start is the Arch Linux wiki article and my previous post. pacman -S boinc-nox usermod -a -G boinc $(whoami) systemctl start boinc.service Open the “/var/lib/boinc/gui_rpc_auth.cfg” file and make note of the generated password. vim /var/lib/boinc/gui_rpc_auth.cfg Now we need…

Read More Read More

Install Elasticsearch on Ubuntu

Install Elasticsearch on Ubuntu

Elastic search is an opensource NoSQL database that is scalable and lightning fast. It has a number of applications, the two most commonly used are log analysis/management and as a search backend. These are my install notes to get it up and running on an ubuntu/debian machine. Elastic provides a very good installation guide if you want to check that out too. If installing on an Azure machine double check firewall settings and make sure not everyone is allowed to…

Read More Read More

Allow linux users to login using ldap

Allow linux users to login using ldap

To enable LDAP authentication, we need to install the nslcd package. When configured properly this will allow us to add users and have them authenticate via LDAP. Local users will still be able to login using a local password, think of it as a fall through mechanism. apt-get install nslcd The installer will ask you some questions. LDAP URL: usually something like ldap://mycompany.com LDAP root to search in: usually something like: DC=mycompany,DC=com, but you could put a specific container/group if…

Read More Read More

Dell DRAC SSL Error when using console

Dell DRAC SSL Error when using console

When using DRAC to connect to the console you get the following error. Error when reading from SSL socket connection This error also appears after every java update. How to fix this? Navigate to the following directories (your JRE version can be different): C:\Program Files\Java\jre1.8.0_111\lib\security\java.security C:\Program Files (x86)\Java\jre1.8.0_111\lib\security\java.security Open the 2 files and comment out these lines (use # in front of the line): jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 768 Also make sure the…

Read More Read More

OpenSSL create certificate request

OpenSSL create certificate request

Execute this command from a terminal/command window to generate a new private key and a new certificate signing request (csr). openssl req -new -newkey rsa:4096 -nodes -keyout yourdomain.key -out yourdomain.csr -sha256 It will ask you some questions Country Name (2 letter code) [AU]:BE State or Province Name (full name) [Some-State]: Antwerpen Locality Name (eg, city) []: Antwerpen Organization Name (eg, company) [Internet Widgits Pty Ltd]: My Company Name Organizational Unit Name (eg, section) []: Department X Common Name (e.g. server…

Read More Read More

Protecting GRUB

Protecting GRUB

I stumbled across this neat “little” security tool that runs a bunch of checks on your system and warns if any potentials problems are detected. It is called Lynis and on arch you can install it by executing: pacman -S lynis then lynis audit system To start an audit of your system. It told me a number of things, but one caught my attention: “GRUB password protection”. Now why is this important? Well you could restrict users from booting certain…

Read More Read More

Certificate chain error fix on Linux

Certificate chain error fix on Linux

When checking your certificate on a site like the one from digicert. I’m often confronted with the following error: This means that your certificate doesn’t contain the full certification path (and that some parts can’t even be found in the default trusted authority store). To fix this error on a linux PC, navigate to your directory where you saved your .crt file and make sure you also have the other .crt files, that make up the chain, present there. Next…

Read More Read More

Useful Drupal “drush” commands

Useful Drupal “drush” commands

Drush is a command line utility to provide a scripting interface for Drupal. Install the latest Drupal version drush dl drupal #downloads the latest Drupal drush dl drupal-7.35 #downloads the specified Drupal version drush site-install standard –account-name=[username] –account-pass=[userpassword] –db-url=mysql://[mysqluser]:[mysqluserpassword]@localhost/[mysqldatabase] When you’re locked out of your site because you enabled clean URL’s. drush vset clean_url 0 –yes Update a Drupal installation to the latest version, including installed extentions. drush pm-update

How to upgrade CiviCRM

How to upgrade CiviCRM

The following will describe how to update an existing CiviCRM installation to a new version. Always make sure you backup the database and the plugin folder, before proceeding. Download the latest Civi (for drupal in this case) to your plugins folder (or any other folder). wget “https://download.civicrm.org/civicrm-4.7.19-drupal.tar.gz” Note: When upgrading from 4.0.1 do not upgrade to 4.5 in one go. I found that this breaks your civi installation with an error: Fatal DB error, exiting, seems like your schema does…

Read More Read More