Server Update Steps: Difference between revisions

m
(Created page with "== NWSync Server Setup == * Push all changes to https://github.com/layonara/nwn-haks Note: <b>64bit branch</b> * ssh to nwsync-ssl.layonara.com * <code>cd /home/orth/layo-haks...")
 
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
* <code>cd /home/orth/layo-haks && git pull</code>
* <code>cd /home/orth/layo-haks && git pull</code>
* <code>cp layonara.tlk /layonara/nwn/userdir/tlk</code>
* <code>cp layonara.tlk /layonara/nwn/userdir/tlk</code>
* Run <code>layonara_nwn hak</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 /home/orth/nwn-module && git pull</code>
* <code>cd /layonara/nwn/nwn-module && git pull</code>
* <code>nasher pack core --clean</code>
* <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>
* <code>cd /layonara/nwn/nwnx && git pull</code>
* Rebuild nwnx in /layonara/nwn/nwnx with <code>./Scripts/buildnwnx.sh -j4</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>
* Download latest nwserver to /layonara/nwn and unzip
* <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