installing_swdestinydb
Installing SWDatabaseDB
Based on instructions starting at SWDestinyDB.
Install MySQL
- See here.
- sudo apt install mysql-client-core-5.7
- sudo apt install mariadb-client-core-10.1
- sudo apt install mysql-server
- sudo service mysql stop
- sudo mysqld_safe –skip-grant-tables
- mysql -u root
- use mysql;
- show tables;
- update user set authentication_string=password('1111') where user='root';
- sudo service mysql start
Useful commands
- sudo netstat -tap | grep mysql
- sudo systemctl restart mysql.service
Install PHP
- sudo apt install php7.2-cli
- sudo apt install hhvm
- sudo apt install php-curl
- sudo apt install phpoffice
Install Composer
- Either from instructions at https://getcomposer.org/download/, or
- Using sudo apt install composer
Install SWDestinyDB from github
- cd repositories
- cd swdestinydb
- composer install
- mysql:root@127.0.0.1/swdestinydb
installing_swdestinydb.txt · Last modified: 2019/05/21 17:08 by jtkorb