Tech-Today
How to setup a magento system in a 1and1 VPS server 2 - Updating the default 1and1 php image installed
For this you must have a root access to your database
There is a built it script to test your system whether it is ready for magento deployment or not, you can download it here:
http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento
Unfortunately, magento supports >php5.2 while the installed version is php5.1 so we really have to update
I found this somewhere on the web, I already forgot the url I think the author was "Hangarin"? Please correct me if I'm wrong. (I forgot the link sorry)
1. Log into your 1and1 Control Panel.
2. Click on Domains and setup your domain as necessary. This will link your domain to your hosting package.
3. Click on Server Administration -> Server Access Data. Here, you will find all the login information needed to login to your Virtuozzo and Plesk control panels as well as your SSH login.
4. Login into the Virtuozzo control panel. Click System Services and then drill down into the psa and mysqld services to make sure they are started and that auto-start is enabled.
5. Login into the Plesk control panel. Click Domains -> Create Domain. Fill out the domain information as necessary and create your FTP account at the bottom of this page. Click Next when done.
6. On the resulting page, uncheck the option for PHP safe_mode. Click Finish at the bottom of the page.
7. Upload the Magento files to the webserver. You can most easily do this by FTPing using the login you created when setting up the domain in the Plesk Panel. You can also SSH into your server, upload the Magento tar and untar the archive into your /var/www/vhosts//httpdocs directory.
8. Try loading your domain in a browser. If you try to load your site in a browser and you get a "Whoops" error stating that you have an invalid PHP version, this is due to the fact that when 1and1 images your server they use an older version of PHP. Therefore, you have to update your version of PHP and you should continue with these steps. If not, try to install Magento and disregard the following steps.
9. SSH into your server and type the following command - wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
10. Type yum update to check the available updates, but choose No to install these updates.
11. Type yum update php and choose Yes to all the prompts.
12. Type yum update mcrypt* and choose Yes to any prompts.
13. Type yum update mhash* and choose Yes to any prompts.
14. Type yum update php-mcrypt* and choose Yes to any prompts.
15. Type yum update php-mhash* and choose Yes to any prompts.
16. Type /etc/init.d/httpd restart to restart Apache.
17. Re-load your domain in your browser and you should be able to install Magento now.
yum install php-mcrypt*
This will upgrade your php to PHP Version 5.2.9. You can see this by uploading a phpinfo file to your root.
Next: Magento 1and1 VPS Setup - Setting up the VPS settings
-
Web Development
WordpressConfigure Custom Wordpress PermalinkZencartHow to add a customize product admin fields in zencart by editing/adding extra codesJoomlaHow to install/setup/configure joomla to run in a xampp setup. This avoids the technical detail of manually installing...
-
Magento Multi Store On 1and1 Vps Package Domains
What you need: Money - to buy package and domains from 1and1 What we have is a VPS III Package from 1and1 that comes with a default MX domain (.net) What we've done: 1.) register a domain domain1.com 2.) installed magento in it: I think I have the...
-
Transfer Domain From 1and1 Package Into Another
There are 2 major steps that we have to do for this: 1.) Unlock the domain that we want to transfer a.) login to 1and1.com (by default Packages tab is selected) b.) in the Packages tab, select the package where the domain you want to transfer is in c.)...
-
Magento 1and1 Vps Setup - Setting Up The Vps Settings
Magento 1and1 VPS Setup - Setting up the VPS settings At this point it is assumed that a VPS Domain is properly setup. Although the magento check : http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento...
-
Magento - 500 Internal Error
Server: 1and1 hosting After fixing the database issue, I found myself trap with: 1.) front end - I got 500 Internal Error 2.) back end - out of memory error To keep it short here are my solutions: 1 & 2.) I remember doing these things: a.) rename...
Tech-Today