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

adding persistent static routes on centos

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 CentOS so that it automatically gets created every time the PC…

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

Page 1 of 2312345678910...20...Last »