Ahadpos3 Install
Ahadpos3 Install
04
apt-get update
cd /var/www/html
mkdir ap3
cd ap3
wget https://github.com/AbuMuhammad/ap3/archive/master.zip
unzip master.zip
mv ap3-master/* .
mv ap3-master/.htaccess .
## NOTE : mysql 5.7 will NOT accept empty password with mysql_native_password plugin
## https://translate.google.co.id/translate?hl=en&sl=zh-
CN&u=http://www.codes51.com/article/detail_273734.html&prev=search
## http://dev.mysql.com/doc/refman/5.7/en/error-messages-
server.html#error_er_access_denied_no_password_error
## NOTE: Mysql 8.0.23. Cara ganti password root dengan mysql native password
use mysql
## 3)
## 4)
## 5)
FLUSH PRIVILEGES;
# need to enable the Rewrite commands in .htaccess file, by changing "AllowOverride None" into
"AllowOverride All"
cp /tmp/nih /etc/apache2/apache2.conf
nano protected/config/db.php
# edit install script, make sure the password there for MySQL is correct (mysql -u[user] -p[password])
nano fresh-install.sh
/var/www/ap3/fresh-install.sh
# done !
# OR
# http://localhost/ap3/fresh-install.php
# user: admin
# pass: admin