Once you have that information, you’ll want to copy and paste the commands for the type of install you want and replace what’s there with the information from above. It’s best to copy this into notepad or something similar.

So that means you’ll be replacing the word SUBDIRECTORY below (two times) to the name of the subdirectory where you want Magento installed, and DBNAME, DBUSER, and DBPASS.

After you have installed Magento via SSH, you can proceed through the web-based installer. You’ll use the same database details in that as well. There is a way to run through the web-based installer in SSH as well, but we’ll save that for another article.

Even though all of the above scenarios are downloading the 1.0 version, Magento will upgrade itself with the PEAR downloader. This will also setup your install so you can use Magento Connect to upgrade Magento and install extensions.