Here’s the steps that I followed:
you can upload a copy of magento to the site via ftp or quicker and easier just use wget command:
1. navigate to the root of your website (i.e.: www or public_html)
Then extract it:
tar -zxvf magento-220.127.116.11.tar.gz
Now you are done if you have magento in a folder called magento. If you do not have your magento site in a folder called magento (i.e: on the root of your website like i do) then you have to do a little bit more. Do this this to move the freshly extracted files to the correct directory (please replace ‘/home/pathYourPathMageIsIn/public_html’ with the location of your magento index.php):
cd magento cp -rf * /home/pathYourPathMageIsIn/public_html
Depending on your build of linux (centos, FC, etc which use an alias for cp). you may need to disable the alias on the cp command first. To do so type this command before using the above cp command:
then do the above mentioned copy command to get the files in the correct directory. You can use the move command instead but this was how i went about it. now to delete the unneeded copy do this:
rm -rf magento
The steps above were posted by Veracious on this forum:
I have successfully updated 3 of my magento websites with these steps withou crashing my sites.
Once you finish these steps. Check your php.ini permission, flush cache, log out and back in, then you should be updated.