mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Hosting guide cleanup
This commit is contained in:
parent
5b6c07460e
commit
49ae2fdb0a
2 changed files with 16 additions and 3 deletions
13
CompiledServer/Guides/UbuntuServerHostGuide.md
Normal file
13
CompiledServer/Guides/UbuntuServerHostGuide.md
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue