diff --git a/CompiledServer/Guides/UbuntuServerHostGuide.md b/CompiledServer/Guides/UbuntuServerHostGuide.md new file mode 100644 index 000000000..d693835b4 --- /dev/null +++ b/CompiledServer/Guides/UbuntuServerHostGuide.md @@ -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 diff --git a/README.md b/README.md index e53cc7c6d..dfbda99d5 100644 --- a/README.md +++ b/README.md @@ -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. ### General: - Configure root@localhost to have the password "password123" -- Create a table in root named `server` and another named `global` -- Import `09HDscape-server/server.sql` and `09HDscape-server/global.sql` into their respective tables +- Create databases in root named `server` and another named `global` +- Import `Server/server.sql` and `Server/global.sql` into their respective databases - Start the database ### 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 - Navigate to http://localhost/phpmyadmin/ - 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_ ## Step 4: Running the Server & Client