Hosting guide cleanup

This commit is contained in:
dginovker 2019-10-30 15:23:41 +00:00
parent 5b6c07460e
commit 49ae2fdb0a
2 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1,13 @@
Ubuntu 18.04 LTS:
1. Get SQL: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04
2. Remove the password: https://stackoverflow.com/questions/44890331/how-do-i-setup-mysql-with-a-blank-empty-password-on-ubuntu-16-04
3. Install Java: sudo apt install default-jre
4. Create global & server database:
* Login: mysql -u root -p
* Create:
* CREATE DATABASE server;
* CREATE DATABASE global;
5. Import global & server databases:
* mysql -u root -p server < server.sql
* mysql -u root -p global < global.sql

View file

@ -28,8 +28,8 @@ At any point, if you need help, you are free to join our Discord server at: http
Since this portion of the guide is operating-system specific, you will either need basic database knowledge or a bit of help. Below are the things that need to be configured. Since this portion of the guide is operating-system specific, you will either need basic database knowledge or a bit of help. Below are the things that need to be configured.
### General: ### General:
- Configure root@localhost to have the password "password123" - Configure root@localhost to have the password "password123"
- Create a table in root named `server` and another named `global` - Create databases in root named `server` and another named `global`
- Import `09HDscape-server/server.sql` and `09HDscape-server/global.sql` into their respective tables - Import `Server/server.sql` and `Server/global.sql` into their respective databases
- Start the database - Start the database
### Windows: ### Windows:
@ -38,7 +38,7 @@ Since this portion of the guide is operating-system specific, you will either ne
- Start the `Apache` and `MySQL` modules - Start the `Apache` and `MySQL` modules
- Navigate to http://localhost/phpmyadmin/ - Navigate to http://localhost/phpmyadmin/
- Create 2 new tables named `server` and `global` - Create 2 new tables named `server` and `global`
- Import `09HDscape-server/server.sql` and `09HDscape-server/global.sql` into their respective tables - Import `Server/server.sql` and `Server/global.sql` into their respective databases
- _Refer [here](https://www.thecodedeveloper.com/import-large-sql-files-xampp/) for help importing the `.sql` files_ - _Refer [here](https://www.thecodedeveloper.com/import-large-sql-files-xampp/) for help importing the `.sql` files_
## Step 4: Running the Server & Client ## Step 4: Running the Server & Client