Magento 2.1.3 on Ubuntu 16.04.1

January 9, 2017 178 views
Apache PHP MySQL Ubuntu 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 http://magentocomerce.com/downloads/assets/X.X.Xversion/magento-X.X.X.tar.gz

Basically it won't perform this operation he will connect to magento.com 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.

2 Answers

@Vasiliyalibabaevich

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 magento.com, 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.

Have another answer? Share your knowledge.