Recently I’v had a fair amount of website migration work, requiring me to copy large amounts of data and MySQL database dumps from my the old Linux box to my desktop then re-upload to the new host. Technorati Tags: CentOS, Command Line, FTP, How-To, RHEL
Posts Tagged ‘CentOS’
Install bash mail command CentOS RHEL or Fedora
October 12th, 2011
KJS How to install the bash mail command on CentOS, RHEL or Fedora, this is handy for sending mail from the command line: cat /some/file | mail youraddress@yourdomain.com If you don’t have the mail command installed you will get the following error: -bash: mail: command not found Technorati Tags: Bash, CentOS, Command Line, fedora, HowTo, Linux, [...]
YUM How To guide for Linux RPM distros Fedora, CentOS, RHEL
August 4th, 2011
KJS Ultimate how to guide for YUM the Linux package manager used on a number of Linux distributions such as Redhat RHEL, CentOS & Fedora. Yum uses repositories of RPM packages to download and install new software for your Linux server. The instructions for YUM should be the same for each Linux distro CentOS, RHEL or [...]
How to install RPM
August 1st, 2011
KJS Install an RPM on Linux, Redhat, CentOS or any distro that supports RPM – This is a quick post as I get asked this question a lot from windows users moving to Linux based distros “How do I install stuff” or “How do I install RPM”. Technorati Tags: CentOS, CentOS 6, How-To, [...]
Secure SSH Server
June 17th, 2011
KJS Secure SSH Server | Security Harden SSH Servers This guide will show you step by step how to secure SSH servers on your network or hosted directly on the Internet. SSH is the standard way for Admin’s to connect to Linux servers securely over an encrypted tunnel. However a default install of SSH is far [...]
Creating a kickstart CD DVD Fedora / Redhat / CentOS
June 2nd, 2011
KJS Create a Kick Start DVD / CD for RHEL / Fedora / CentOS The instructions below use Fedora as an example but the same should apply for Redhat / CentOS and other RHEL clones. The guide below will show you step by step how to make a .iso bootable CD / DVD containing your [...]
CentOS Kickstart – Fedora, Redhat Kickstart HowTo
June 2nd, 2011
KJS CentOS Kickstart, Fedora Kickstart, Redhat Kickstart How To This guide will walk you through the process of creating a CentOS Kickstart file the same rules will apply when creating a Fedora Kickstart or Redhat Kickstart files, these distros are all RPM based and use the Redhat method of creating Kickstart files. How to create Kickstart [...]
Create Logical Volume lvcreate
May 27th, 2011
KJS Create Logical Volume with lvcreate This guide walks you through creating a logical volume with lvcreate assumes you have free space in your existing Logical Group (LG for short), the operating system I am creating the LV’s on is CentOS however this should work on any other linux distro Ubuntu, Debian etc however you may [...]
Command to logout users on Linux
May 23rd, 2011
KJS Use the pkill command to kill / logout users, this will also logout gnome / kde users. This is handy if you leave an X session logged in as you locally, you can then login over ssh and pkill the user, allowing other users to login locally. pkill -KILL -u username Technorati Tags: Apple, CentOS, [...]
ssh keys HowTo
May 23rd, 2011
KJS HowTo setup SSH keys Guide on how to setup SSH keys on Linux this should work on Ubuntu, CentOS, Debian, RHEL, Fedora, Gentoo etc Create the key pair, this will create the public and private keys: ssh-keygen -t rsa Accept the defaults and enter you’re passphrase when prompted, unless you do not require a passphrase [...]

Posted in
Tags: