{"action":"created","issue":{"url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/10","repository_url":"https://api.github.com/repos/AbuMuhammad/ap3","labels_url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/10/comments","events_url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/10/events","html_url":"https://github.com/AbuMuhammad/ap3/issues/10","id":158760820,"number":10,"title":"Installation steps : for Ubuntu 16.04 ","user":{"login":"sufehmi","id":170206,"avatar_url":"https://avatars.githubusercontent.com/u/170206?v=3","gravatar_id":"","url":"https://api.github.com/users/sufehmi","html_url":"https://github.com/sufehmi","followers_url":"https://api.github.com/users/sufehmi/followers","following_url":"https://api.github.com/users/sufehmi/following{/other_user}","gists_url":"https://api.github.com/users/sufehmi/gists{/gist_id}","starred_url":"https://api.github.com/users/sufehmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sufehmi/subscriptions","organizations_url":"https://api.github.com/users/sufehmi/orgs","repos_url":"https://api.github.com/users/sufehmi/repos","events_url":"https://api.github.com/users/sufehmi/events{/privacy}","received_events_url":"https://api.github.com/users/sufehmi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-06T19:56:41Z","updated_at":"2016-06-07T07:05:29Z","closed_at":null,"body":"Please find it below.\r\n\r\nThanks.\r\n\r\n                                             \r\n\r\n```\r\n# refresh software manager's database\r\napt-get update\r\n# install apache + php + mysql\r\napt-get install phpmyadmin mysql-server\r\n\r\n# download & unpack latest version of AhadPOS3\r\ncd /var/www/html\r\nmkdir ap3\r\ncd ap3\r\nwget https://github.com/AbuMuhammad/ap3/archive/master.zip\r\nunzip master.zip\r\nmv ap3-master/* .\r\nmv ap3-master/.htaccess .\r\n\r\n# set proper permission for these directories\r\nchmod 777 /var/www/html/ap3/protected/runtime\r\nchmod 777 /var/www/html/ap3/assets\r\n\r\n# create the database\r\nmysql -e \"create database ahadpos3\"\r\n\r\n\r\n## NOTE : mysql 5.7 will NOT accept empty password with mysql_native_password plugin\r\n## NOTE : mysql 5.7 default to auth_socket plugin. \r\n## \tThis causes Yii framework to fail with error SQLSTATE 1698 : \r\n##\t\t\thttps://translate.google.co.id/translate?hl=en&sl=zh-CN&u=http://www.codes51.com/article/detail_273734.html&prev=search\r\n##\t\t\thttp://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html#error_er_access_denied_no_password_error\r\n\r\n## If you're using MySQL 5.7, execute the following command\r\n##mysql -e \"UPDATE mysql . user SET authentication_string = PASSWORD( 'YourPasswordHere' ), plugin = 'mysql_native_password' WHERE user = 'root' ; flush privileges;\"\r\n## again remember, MySQL 5.7 will NOT accept empty password\r\n\r\n# need to enable the Rewrite commands in .htaccess file, by changing \"AllowOverride None\" into \"AllowOverride All\"\r\n# (just the one for /var/www/ Directory)\r\nawk '/AllowOverride None/{c+=1}{if(c==3){sub(\"AllowOverride None\",\"AllowOverride All\",$0)};print}' /etc/apache2/apache2.conf > /tmp/nih\r\ncp /tmp/nih /etc/apache2/apache2.conf\r\n\r\n# enable the Rewrite module\r\na2enmod rewrite ; service apache2 restart\r\n\r\n# edit config, make sure the password there for MySQL is correct\r\nnano protected/config/db.php\r\n\r\n# execute the install script\r\n/var/www/ap3/fresh-install.sh\r\n\r\n# done !\r\n# open this link on the browser :\r\n# http://localhost/ap3/fresh-install.php\r\n# user: admin\r\n# pass: admin\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/comments/224197595","html_url":"https://github.com/AbuMuhammad/ap3/issues/10#issuecomment-224197595","issue_url":"https://api.github.com/repos/AbuMuhammad/ap3/issues/10","id":224197595,"user":{"login":"AbuMuhammad","id":3438768,"avatar_url":"https://avatars.githubusercontent.com/u/3438768?v=3","gravatar_id":"","url":"https://api.github.com/users/AbuMuhammad","html_url":"https://github.com/AbuMuhammad","followers_url":"https://api.github.com/users/AbuMuhammad/followers","following_url":"https://api.github.com/users/AbuMuhammad/following{/other_user}","gists_url":"https://api.github.com/users/AbuMuhammad/gists{/gist_id}","starred_url":"https://api.github.com/users/AbuMuhammad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbuMuhammad/subscriptions","organizations_url":"https://api.github.com/users/AbuMuhammad/orgs","repos_url":"https://api.github.com/users/AbuMuhammad/repos","events_url":"https://api.github.com/users/AbuMuhammad/events{/privacy}","received_events_url":"https://api.github.com/users/AbuMuhammad/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T07:05:29Z","updated_at":"2016-06-07T07:05:29Z","body":"[Selesai](https://github.com/AbuMuhammad/ap3/commit/f5ac318902683c1aacd46609591ab7d4402ec88f)"}}
{"actor":{"display_login":"AbuMuhammad"}}