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 [...]

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 [...]

Synchronize the time on Ubuntu from a NTP Server

To synchronize the time on a Ubuntu computer, with the time from a NTP server, you can simply run the following command: sudo ntpdate 0.pool.ntp.org Replace “0.pool.ntp.org” with your NTP time server of choice. Example output: $ sudo ntpdate 0.pool.ntp.org 1 Jul 00:50:12 ntpdate[31843]: adjust time server 12.34.56.78 offset -0.001309 sec $ Your time will now be synchronized to the time from the NTP server. You can put this in a cron job to periodically update the time, to ensure…

Read more [...]

Change the Timezone in Ubuntu

To change the timezone on Ubuntu all you need to do is reconfigure the tzdata package. This can be done using the following command: sudo dpkg-reconfigure tzdata A menu prompt will then appear. Simply enter in your geographic area, and then the relevant city/timezone you want.…

Read more [...]

Check the reverse dns hostname for a IP on Linux

This guide will step you through how to take an IP address, and find out what its reverse dns host name is. This is useful for checking mail server DNS setup, etc. The DNS system works two ways. It is used to convert host names to IP addresses, but it can also convert IP addresses to host names. Two handy programs to perform DNS queries on Linux are ‘dig’ and ‘host’. If either of these aren’t installed on your system,…

Read more [...]



Page 1 of 812345678