Server Update Steps: Difference between revisions
mNo edit summary |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
* <code>cp layonara.tlk /layonara/nwn/userdir/tlk</code> | * <code>cp layonara.tlk /layonara/nwn/userdir/tlk</code> | ||
* Run <code>layonara_nwn hak --yes</code> | * Run <code>layonara_nwn hak --yes</code> | ||
* Run <code>sudo /home/orth/.nimble/bin/nwn_nwsync_write --description="The World of Layonara" /var/www/html-ssl /layonara/nwn/userdir/modules/Layonara_6-00.mod</code> | * Run <code>sudo /home/orth/.nimble/bin/nwn_nwsync_write --description="The World of Layonara" /var/www/html-ssl /layonara/nwn/userdir/modules/Layonara_6-00.mod</code> <b>Note: You don't need to upload a new module each time, only if the tlk name changes or the haks used/order changed</b> | ||
* <code>scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/</code> | * <code>scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/</code> | ||
* <code>scp layonara.tlk orth@116.203.70.169:/layonara/nwn/userdir/tlk/</code> | * <code>scp layonara.tlk orth@116.203.70.169:/layonara/nwn/userdir/tlk/</code> | ||
== New NWN Server Version == | |||
* <code>cd /layonara/nwn && wget <NEW_SERVER_ZIP_URL></code> | |||
* <code> unzip <NEW_SERVER_ZIP></code> and overwrite all | |||
== EE64 Server Setup == | == EE64 Server Setup == | ||
* Push all changes to https://github.com/layonara/nwn-module Note: <b>ee branch</b> | * Push all changes to https://github.com/layonara/nwn-module Note: <b>ee branch</b> | ||
* ssh to ee64.layonara.com | * ssh to ee64.layonara.com | ||
* <code>cd / | * <code>cd /layonara/nwn/nwn-module && git pull</code> | ||
* <code>nasher pack core --clean</code> Note: <b>You may need to update the nwserver version first</b> | * <code>nasher pack core --clean</code> Note: <b>You may need to update the nwserver version first</b> | ||
* <code>mv *.mod /layonara/nwn/userdir/modules/</code> | * <code>mv *.mod /layonara/nwn/userdir/modules/</code> | ||
* Run <code>/layonara/nwn/mod-disable.sh</code> | * Run <code>/layonara/nwn/mod-disable.sh</code> | ||
* Run <code>/layonara/nwn/mod-stop.sh</code> | * Run <code>/layonara/nwn/mod-stop.sh</code> | ||
* | * <code>cd /layonara/nwn/nwnx && git pull</code> <b>DON'T DO UNTIL SERVER IS STOPPED</b> | ||
* Rebuild nwnx in /layonara/nwn/nwnx with <code>./Scripts/buildnwnx.sh -j4</code> | |||
* Edit <code>mod-start.sh</code> and change the module version | * Edit <code>mod-start.sh</code> and change the module version | ||
* Remove any temp overrides added to /layonara/nwn/userdir/development | |||
* Run <code>/layonara/nwn/mod-enable.sh</code> | * Run <code>/layonara/nwn/mod-enable.sh</code> | ||
* Reboot if desired | * Reboot if desired | ||
Latest revision as of 07:52, 15 September 2024
NWSync Server Setup
- Push all changes to https://github.com/layonara/nwn-haks Note: 64bit branch
- ssh to nwsync-ssl.layonara.com
cd /home/orth/layo-haks && git pullcp layonara.tlk /layonara/nwn/userdir/tlk- Run
layonara_nwn hak --yes - Run
sudo /home/orth/.nimble/bin/nwn_nwsync_write --description="The World of Layonara" /var/www/html-ssl /layonara/nwn/userdir/modules/Layonara_6-00.modNote: You don't need to upload a new module each time, only if the tlk name changes or the haks used/order changed scp l64*.hak orth@116.203.70.169:/layonara/nwn/userdir/hak/scp layonara.tlk orth@116.203.70.169:/layonara/nwn/userdir/tlk/
New NWN Server Version
cd /layonara/nwn && wget <NEW_SERVER_ZIP_URL>unzip <NEW_SERVER_ZIP>and overwrite all
EE64 Server Setup
- Push all changes to https://github.com/layonara/nwn-module Note: ee branch
- ssh to ee64.layonara.com
cd /layonara/nwn/nwn-module && git pullnasher pack core --cleanNote: You may need to update the nwserver version firstmv *.mod /layonara/nwn/userdir/modules/- Run
/layonara/nwn/mod-disable.sh - Run
/layonara/nwn/mod-stop.sh cd /layonara/nwn/nwnx && git pullDON'T DO UNTIL SERVER IS STOPPED- Rebuild nwnx in /layonara/nwn/nwnx with
./Scripts/buildnwnx.sh -j4 - Edit
mod-start.shand change the module version - Remove any temp overrides added to /layonara/nwn/userdir/development
- Run
/layonara/nwn/mod-enable.sh - Reboot if desired