Operation Systems

Gentoo distribution upgrade

Usually the Gentoo distribution is being upgraded by two simple emerge commands. Emerge is part of Portage which is the packet system of Gentoo. The commands to upgrade your Gentoo system are: user@GentooBox ~# emerge –sync This will sync your local machine with the gentoo server that you have set in /etc/make.conf user@GentooBox ~# emerge […]

Operation Systems

Installing yum on CentOS

The minimum installation of CentOS comes without Yum. In case to use it we will have to install it first ๐Ÿ™‚

This task is not so simple, because of the package dependencies. In this article I will briefly explain how we can do this in a minute. For Fedora Core you can change the repositority so you can install the same packages from Fedoraย  repository and it should work as well.

Operation Systems

Setup Logrotate on Linux

Most Linux systems will come with am installed tool, logrotate, that rotates log files. Unless rotated, log files keep growing until they fill all the free space . Rotating them means copying them to a backup file and creating a new empty log. Backup logs are usually removed when they are to far out of […]

Operation Systems

Installing Apache, MySQL and phpMyAdmin on Ubuntu Linux

Firstly we will need to open console terminal and write the following User@TheUbuntuBox ~# sudo apt-get install apache2 autoconf automake1.4 autotools-dev libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell php5-gd autoconf automake1.4 autotools-dev libapache2-mod-php5 mysql-server We just installed Apache2, MySQL Server and PHP5. Now we […]

Operation Systems

How to make Home and End keys work on FreeBSD with BASH

First what you have to do is run this command in ssh when you are in your home folder. echo “export INPUTRC=/etc/inputrc” >> .profile The create the /etc/inputrc file with the following content: “\e[1~”: beginning-of-line “\e[4~”: end-of-line “\e[3~”: delete-char #delete “\eOd”: backward-word #ctl-leftarrow “\eOc”: forward-word #ctl-rightarrow Of course the path /etc/inputrc is optional. You can […]