no

How to Setup Magento in 1and1 Vps Server

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 deplo...

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

Related

web-platform 8806714454787784746

Post a Comment Default Comments

item