Pages

Showing posts with label linux 32 or 64bit.. Show all posts
Showing posts with label linux 32 or 64bit.. Show all posts

Saturday, September 16, 2017

dd command to migrate VPS on linux platform

First create new vps with same configuration on another node. It doesn’t matter new vps is having os or not or you can choose any OS.

Once same configuration VPS setup done then use below command to migrate VPS.

    dd if=/dev/guestos/kvm2351_img | ssh 10.10.10.10 “dd of=/dev/guestos/kvm2520_img

Once migration is completed then try starting VPS on new node.

Sunday, August 16, 2015

Find Linux OS is 32 or 64bit

There are several situations where you need to confirm whether your Linux OS installed  is 32bit or 64bit. People normally use uname -a to find it. But the following command will tell you exactly the machine   architecture.

    getconf LONG_BIT

getconf utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility  Syntax.

eg:

[root@localhost ~]# getconf LONG_BIT
32
[root@localhost ~]#

My machine is 32bit.

Sunday, March 9, 2014

How to Install IonCube loader

IonCube is a PHP module extension that loads encrypted PHP files, and speeds up webpages that are being displayed.

It is often required for a lot of PHP-based applications.

Download ioncube from their site according to your system: http://www.ioncube.com/loaders.php

So for example, for linux x86,

# cd /usr/local/src
# wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
# tar -xfz ioncube_loaders_lin_x86.tar.gz
# mv ioncube /usr/local


Use a text editor to open up php.ini in /usr/local/lib/phi.ini and insert:
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
according to your php version. Save and restart httpd.
 
# nano -w /usr/local/lib/php.ini
# service httpd restart
   

Saturday, December 7, 2013

Find Linux OS is 32 or 64bit.

There are several situations where you need to confirm whether your Linux OS installed  is 32bit or 64bit. People normally use uname -a to find it. But the following command will tell you exactly the machine   architecture.
getconf LONG_BIT
getconf utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility  Syntax.
eg:
[root@localhost ~]# getconf LONG_BIT
32
[root@localhost ~]#
My machine is 32bit.