Monday, April 21, 2014

How to install Virtualbox on CentOS6x (64 Bit)


How to install Virtualbox on CentOS6x (64 Bit):

## RHEL 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6 and CentOS 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6 ##

cd /etc/yum.repos.d/
 wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo



Install Dependencies:
 yum -y groupinstall Desktop
 

yum -y install qt qt-devel SDL-devel tigervnc-server gcc make kernel-devel dkms
 
uname -r
2.6.32-431.11.2.el6.x86_64                            //Kernel version
 
export KERN_DIR=/usr/src/kernels/2.6.32-431.11.2.el6.x86_64 

yum -y update

yum install VirtualBox-4.3 
<or>
wget http://download.virtualbox.org/virtualbox/4.3.8/VirtualBox-4.3-4.3.8_92456_el6-1.x86_64.rpm

rpm -ivh VirtualBox-4.3-4.3.8_92456_el6-1.x86_64.rpm


Installation Process:
warning: VirtualBox-4.3-4.3.8_92456_el6-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing...                ########################################### [100%]
   1:VirtualBox-4.3         ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS
 [  OK  ]
Starting VirtualBox kernel modules [  OK  ]



Note: By Defaull it works for 32 bit OS


Error (64 Bit PC): “This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot – please use a kernel appropriate for your CPU”


For 64 bit OS (Enable virtulization):

Start or Restart PC:
Press a key (such as F2, F12, Delete, or Esc) Go to BIOS
--> Go to CPU information.
--> Enable Virtualization.
--> Save and exit


Then it will work for 64 bit OS.

How to install & configure epel repo on Centos 6.x


How to install & configure epel repo on Centos 6.x (64 Bit):



Download epel RPM:
 wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
 

Install epel rpms:
rpm -ivh  epel-release-6-8.noarch.rpm
rpm -ivh  remi-release-6.rpm

Update rpms if previously installed:
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

We should see some additional repo definitions under the /etc/yum.repos.d directory.
 # ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
 /etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo


Enable the remi repository:
Open the /etc/yum.repos.d/remi.repo repository file using a text editor of your choice:

vi /etc/yum.repos.d/remi.repo

Edit the [remi] portion of the file so that the enabled option is set to 1.

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority


Save and exit.

yum -y update
yum -y upgrade

Monday, April 14, 2014

How to install Asterisk on Lubuntu.



Install Asterisk on lubuntu-12.04 (64Bit)

Install related packages. 
sudo apt-get install build-essential
sudo apt-get install php5-mysql libapache2-mod-php5 mysql-server libmysqlclient15-dev php-db   php5-gd php-pear sox curl g++ libncurses-dev libxml2-dev subversion



Download Asterisk:
 wget http://downloads.asterisk.org/pub/telephony/certified-asterisk/releases/certified-asterisk-1.8.15-cert5.tar.gz
 tar -zxvf certified-asterisk-1.8.15-cert5.tar.gz 

 cd certified-asterisk-1.8.15-cert5

Install Asterisk:
  ./configure
  make
  make install
  make config
  make samples


Test Asterisk:

Go to terminal (Command Prompt)

asterisk -r


It will work.

How to install TeamViewer & remastersys on Lubuntu


Install TeamViewer on Lubuntu 12.04 (64Bit)

 
wget http://download.teamviewer.com/download/teamviewer_linux_x64.deb
sudo gdebi teamviewer_linux_x64.deb



Go to ==> Menu  ==> Internet  ==> teamviewer











Install remastersys on lubuntu-12.04 (64Bit)

sudo apt-get install remastersys



Go to ==> Menu  ==> System  ==> remastersys.


How to install Skype on Lubuntu.



Install Skype on Lubuntu 12.04 (Stable)

sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update

sudo apt-get install skype



Go to => Menu => Internet => Skype.

It will work