Magento 2.1.3 on Ubuntu 16.04.1

Posted January 9, 2017 5k views
MySQLApachePHPUbuntu 16.04

Following this guide Magento Ubuntu 14.04 everything pretty strait forward. Stuck with unable to “use WGET to download the magento file archive to your home directory”

cd ~ wget

Basically it won’t perform this operation he will connect to and then its 404 error. I tried changing link address it will download a file with magentoXXXversion but it can’t unpack this file says it’s not zip file so I can’t extract with ‘tar xzvf Xxx’ command. Currently uploaded newest magento using sftp FileZilla changed folders like in description with 'sudo rsync’ command everything went fine but right now I can’t finish magento installation through Web Interface. Page is blank when IP address (domain) entered.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers


I tried using the URL you provided (subbing in the latest version 2.1.3) and received a 404 in-browser, so wget definitely won’t work. I also tried using, which is where it redirected me to and still no go, so you’ll need to re-check the URL and make sure it’s valid.

To extract a tar file, you’ll want to use tar zxf filename.tar.gz.

That said, since you’ve uploaded the needed files already, where did you upload them and is that directory the correct directory that you defined in NGINX’s configuration for your domains’ web root?

If you’re not seeing an error in the browser, check /var/log/nginx/error.log and run:

tail -20 /var/log/nginx/error.log

to get the last 20 errors that NGINX experienced. That’ll at least give us some sort of an idea as to what may be going on if the directory is correctly set.

I created magento folder in home directory, used FileZilla to transfer unpacked magento versionXX, then used

sudo rsync -avP ~/magento/. /var/www/html/
rm -rf ~/magento*

To transfer magento into HTML folder everything went fine, deleted magento folder from home directory. Not sure if “assign ownership....” worked

sudo chown -R www-data:www-data /var/www/html/

Stuck on step 4.

Blank screen nothing on it.