Howtos / Articles

Generate SSH Public and Private Keys on Linux

SSH allows for both password based authentication, as well as public key authentication. Public key authentication is generally regarded as being more secure, as it isn’t as prone to brute force login attempts (if you disable password based authentication). The private key can also have a passphrase associated with it, which makes public key authentication even more secure if needed. Sometimes cloud servers will let you put a public key in as a authorized authentication key when the cloud server…

Read more [...]

Combine several mount points into a single virtual one using mhddfs

The MHDDFS package (known as the Multi-hdd FUSE filesystem) provides a method of joining a number of filesystems, of varying size, to appear as one large volume. The benefit of using this over something like lvm, is that if one of the hard drives dies, you only loose the data on that specific hard drive. The remaining drives will remain usable. Mhddfs will automatically select which disk to write files to, based on the free space on the source drives.…

Read more [...]

Format partition with the ext4 file system

The ext4 filesystem is known as the forth extended filesystem, and is the default file system on many Linux distributions. To Format a partition with the ext4 filesystem run the following command: $ sudo mkfs.ext4 /dev/sdc1 Replace sdc1 with the relevent disk and partition that you want to format. In this example, the disk is /dev/sdc, and its the first partition on that disk. Make sure you get the drive and partition correct or you may wipe something that you…

Read more [...]

Change the User Agent in Wget

The Wget application is a non-interactive tool to download data from a server using either the HTTP, HTTPS or FTP protocols. This article will focus on the HTTP and HTTPS protocols, as the user agent value has no relevance with the FTP protocol. There will be times when you need to download a web page, emulating a different browser. Some web sites may output different html code depending on the browser being used to request the page. By modifying the…

Read more [...]

Change the User Agent in Curl

The Curl application is a tool to transfer data from a server using a number of different protocols. The main protocols that are generally used are HTTP and HTTPS. There will be times when you need to download a web page, emulating a different browser. Some web sites may output different html code depending on the browser being used to request the page. By modifying the User Agent header on the http/https request, you can tell the server what browser…

Read more [...]



Page 1 of 9123456789