If you install it as described in the opencart site, it may not work. So I'll show you how to install it manually.
1 ) Register Account
2 ) Deposit Gold with payout incurred by voting in steem.
3 ) By cards with gold
We built the server and RDS with AWS's free tier.
You can build opencart in 10 minutes by following the tutorial below.
Assuming Ubuntu is installed by default, install Apache first. Since opencart runs on Apache, you must install Apache first.
sudo apt-get install apache2
1 ) Create Apache Opencart Config file
It creates the configuration files needed to run the Apache web server. Set the default directory to / var / www / html and set the port to 80.
sudo vi /etc/apache2/sites-available/opencart.conf
<VirtualHost *:80>
DocumentRoot /var/www/html
<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>
2 ) Register Config file
Register the configured config file so that the web server is started with the corresponding file.
sudo a2ensite opencart.conf
3 ) Release original config file
Disable the default config file so that the previously configured config file will run normally.
sudo a2dissite 000-default.conf
Since opencart works with php-based MVC, you need to install php. Ubuntu 14 version will install php 5, Ubuntu 16 version will install php 7. It will update and upgrade apt-get before installing with apt-get. Also add php repository to set php to install normally.
1 ) apt-get update
sudo apt-get update
sudo apt-get upgrade
2 ) Install php module
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
- ubuntu 14
sudo apt-get install php5-cli libcurl3 php5-curl php5-gd php5 libapache2-mod-php5 php5-mcrypt libapache2-mod-auth-mysql libapache2-mod-auth-mysql php5-mysql
- ubuntu 16
sudo apt-get install php7.1 php7.1-common
sudo apt-get install php7.1-mysql php7.1-curl php7.1-xml php7.1-zip php7.1-gd php7.1-mbstring php7.1-mcrypt
3 ) Other setting
sudo a2enmod rewrite
1 ) Opencart source download
Download the latest opencart source via the git hub. Since you will be moving the source to the / var / www / html subdirectory you originally set after downloading, you can get it on any path.
git clone https://github.com/opencart/opencart.git
2 ) Move opencart source
Move the upload directory of downloaded source to / var / www / html.
sudo mv -t /var/www/html ./opencart/upload/*
When you install opencart, create a config file to store configuration information. These files can be changed to config.php only by config-dist.php file name.
cd /var/www/html
sudo mv config-dist.php config.php
sudo mv admin/config-dist.php admin/config.php
Change the permissions of the moved opencart files so that they can be accessed by anyone.
sudo chown -R www-data:www-data /var/www/html/
First, because the homepage is supposed to run index.html, remove index.html and let index.php run. At this time, because the permission of index.php does not work, it also changes the permissions.
mv index.html index.html_
sudo chown 777 index.php
When you connect through the browser with the ip of the installed server, the screen as shown below is displayed. If you enter the db information and admin information to install opencart, the installation of opencart is completed.
http://[user_server_ip]
1 ) If the following screen appears, it is set to normal.
Click continue.
2 ) If the Status column is checked in green, everything is set correctly.
Click continue.
3 ) Input DB and Admin information.
* DB Information
DB Driver : MySQLi
Hostname : DB address
Username : DB user id
Password : DB password
Database : database name for installing opencart
Port : DB port (default 3306)
* Admin Information
Input Admin id and password
Click continue.
Demo link : http://13.209.29.2
Developer : @happyberrysboy,
@realmankwon in korea.