ESXI: Move VM between hosts

By |2014-07-26T14:14:24+01:00July 26th, 2014|Technology, Virtualization, Web Development|

Here is a “how-to” to move VMs between ESXi hosts without vCenter and completely for FREE:
Here is the scenario:
We have two ESXi hosts: “esxi-old” and “esxi-new” like below:

We want our VMs (here webserver, devFactory and database) to be copied (or you may call it moved/migrated) to the “esxi-new” host.

 
Follow these steps carefully without skipping any:

A: On esxi-old host

  1. Create a new user on ESXi host (I recommend for user name: ovfuser) follow this tutorial from buildvirtual.net
    • WARNING: Use only alphanumeric characters in the password, else you will get an error! [REF #1]
    • Assign the admin role for this ovfuser
    • Remember to remove this user once all vm copy/migration […]
Comments Off on ESXI: Move VM between hosts

How to install OVFTOOL on Debian Wheezy

By |2014-07-26T13:26:55+01:00July 26th, 2014|Technology, Virtualization|

You need to download the right version (64bit or 32 bit, .bundle file) of ovftool from vmware:
Click here to download ofvtool (!) You need to register for a free vmware account.
 
If you have a graphical (GUI) debian wheezy, open up “Root Terminal” from accessories menu,
Browse to the directory where you downloaded the .bundle file, and execute (either as “root” user or via sudo):

/bin/sh VMware-ovftool-3.5.2-1880279-lin.x86_64.bundle

You must accept the VMware OVF Tool component for Linux End User
License Agreement to continue. Press Enter to proceed.
If you want to get to the end of the text, hold down the Space bar.
Do you agree? [yes/no]: yes
Now the “ovftool” command is present and executable on your machine.
Enjoy!

[Solved] Joomla 3.0 admin radio switch buttons do not display their state

By |2012-11-15T18:22:57+01:00November 15th, 2012|Technology, Web Development|

If you are using Joomla 3.0 with the ISIS administrator template, and have installed some modules and themes like JA T3 Framework or GANTRY Framework, you might notice that radio switch buttons in your administration panel do not show their state.
Here is a screenshot of how settings “Hide / Show” buttons might show:
Joomla Settings Switch buttons no state
This can be fixed easily:
Edit the file:

 JOOMLA_ROOT/administrator/templates/isis/js/template.js 

Change the line (around 35) from:

 $(".btn-group input[checked=checked]").each(function() 

to

 $(".btn-group input:checked").each(function() 

Here is what you will have once you reload your admin page:
Joomla ISIS template radio switch working correctly
The issue resides in the method the function checks if a radio button is checked or not. This […]

Comments Off on [Solved] Joomla 3.0 admin radio switch buttons do not display their state

Alternative PHP Cache, APC, on GoDaddy Hosting

By |2012-10-03T17:29:40+01:00October 3rd, 2012|Technology, Web Development|

As I said earlier, Godaddy is implementing APC ( a great cache functionality) on its shared hosting plans. In a recent contact I had with them, it looks like the launch day is tomorrow.
Godaddy.comTill now, Godaddy disabled (by default) this extension for clients using actually Zend and Ioncube; good choice; as these 3 extensions represent an incompatibility risk.
If you want to benefit from the “awaited” great performance boosts with APC, you need to disable Zend and Ioncube extension and enable APC.

Enable APC on Godaddy.com Hosting

Here is how to do it:
Open your working php.ini/php5.ini file (it might be in a subfolder or on your root folder)
If you have Zend or Ioncube extensions enabled, and you are sure your sites will […]

Optimize your CS-Cart store

By |2012-09-26T23:57:15+01:00September 26th, 2012|Blogging, E-commerce, Technology, Web Development|

Faster websites get better SEO scores and get better indexes in search engines, a Google employee once said "Website should be fast", your visitors will agree, trust me. Faster and optimized eCommerce websites do sell more than 40% more than slower ones, just because they are faster. You "will" agree once you see the money come ;) trust me.

Set cookie domain for CS-Cart

By |2012-09-24T02:25:52+01:00September 24th, 2012|E-commerce, Technology, Web Development|

If your are using CS-Cart eCommerce software, you might need to configure CS-Cart to set its cookies to a specific domain or subdomain.
To do this, you need to modify a bit the “CORE” of CS-Cart.

  1. Edit the file :
<CS-CART_ROOT>/core/fn.common.php
  1. Around lines 2035 to 2044, you will find the fn_set_cookie() function,
  2. Modify the last line of this function from:
 return setcookie($var, $value, $expiry, $current_path);


to

 $current_domain = (defined('HTTPS')) ? Registry::get('config.https_path') : Registry::get('config.http_path');
 if ($current_domain != ''){
    return setcookie($var, $value, $expiry, $current_path, $current_domain);
 }else{
    return setcookie($var, $value, $expiry, $current_path);
 }

Happy creating!

Comments Off on Set cookie domain for CS-Cart

GoDaddy Down

By |2019-06-09T20:05:14+01:00September 11th, 2012|Security, Technology, Web Development|

Godaddy.comWell, there are lots of news about GoDaddy.com being down, now more than 4 hours, but the question is: How Godaddy.com will compensate the losses?!
People hosting their websites on Godaddy.com servers, and its resellers, lost lots of money in this outage.
“Over 50 local Myrtle Beach hotels that use GoDaddy services through Fuel Interactive could be impacted by as much as $30,000 an hour, collectively, for each hour the sites are down.” says Wmbfnews. (1)

 

On the other hand, Disa Johnson says that Godaddy didn’t resolve the issue by themselves. It was the hacker who “had a heart” and let go!!!! (2)
How can making troubles for others be called “having a heart”??
Just search about this outage on Google […]

Comments Off on GoDaddy Down

MacBook Pro Freeze after RAM upgrade

By |2011-08-21T14:06:20+01:00August 21st, 2011|Mac, Technology|

My MacBook Pro came with 4GB of RAM, and 320GB of disk drive. The ThunderBolt technology is also available on my MacBook Pro. I decided recently to upgrade the RAM so it can run smoother with heavy softwares.

Why upgrade MacBook’s RAM?

The main reason to upgrade is that  4GB RAM is not enough on a MacBook Pro if you run a virtual machine with Windows and want to do an RAM intensive work with your Mac. With a total of 8GB RAM, the MacBook Pro runs very smooth, even when running a virtual machine with 1.5GB RAM allocated to Windows 7.

I upgraded my MacBook Pro (early 2011) RAM from 4GB with 2 new CORSAIR 4GB modules, so a total of 8GB  of RAM. I recommend you upgrade […]

GPS Garmin pour mobile: Garmin Mobile XT sur HTC HD2 et téléphones Windows Mobile

By |2010-11-28T22:42:20+01:00November 28th, 2010|Mobile, Technology|

Installez l'application GPS pour mobile, Garmin Mobile XT, sur Windows Mobile, sur HTC HD2 et autre téléphones mobiles. Utilisez le module GPS de votre smartphone, et laissez vous guidé...Bon voyage!