Howtos / Articles

OpenMediaVault Web GUI default username and password

If you come across a server running OpenMediaVault, and you aren’t sure what the web GUI password is, give the following a try, as this is the default username and password for OpenMediaVault. Username: admin
Password: openmediavault…

Read more [...]

adding persistent static routes on ubuntu

When you need to access networks located on a different network segment, you need to have a route set up so the PC knows how to get to the other network segment. This generally just points to your main gateway, but you may want to set up additional static routes, where you don’t want the traffic going through your main default gateway. To set up a static route on Ubuntu so that it automatically gets created every time the PC…

Read more [...]

Extract the public certificate and private key from a pfx file using OpenSSL

This guide will show you how to convert a .pfx certificate file into its separate public certificate and private key files. This can be useful if you want to export a certificate (in the pfx format) from a Windows server, and load it into Apache or Nginx for example, which requires a separate public certificate and private key file. In the examples below, the following files will be used: – This will be the PFX file containing the public…

Read more [...]

PHP FPM Unix Socket Error 13 Permission Denied After Updating Ubuntu

If you have a Ubuntu web server (running Ubuntu 14.04 LTS, 13.10, 12.04 LTS, or 10.04 LTS) set up using PHP FPM with Unix sockets, be warned that a recent security patch that fixes an issue with the PHP FPM socket permissions, may also break existing configurations, preventing your website from load php files. After this patch gets installed, you may find your unix socket now no longer accepts connections from your web server user, and you will see an…

Read more [...]

Using sed to replace a string in a file

The ‘sed’ command can be used to easily replace all occurrences of one string in a text file, with another string. For example: sed -i “s/wordtofind/replacewithword/g” /path/to/file.txt This command will find all occurrences of “wordtofind” and replace them on the fly with “replacewithword” in the file “/path/to/file.txt”. The “-i” command switch specifies to edit the file in place, otherwise it will just display the output to the standard output. Run it without the “-i” switch to ensure it runs correctly,…

Read more [...]

Page 1 of 2112345678910...20...Last »