Search found 869 matches

by LHammonds
Wed Nov 24, 2021 4:49 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Installing Mods

Installing Mods ------------- WORK-IN-PROGRESS ------------- Not finished with this section, these are just notes for me to try out and refine. sudo touch /opt/avorion/savegame/galaxy1/modconfig.lua sudo chown avserver:avserver /opt/avorion/savegame/galaxy1/modconfig.lua sudo chmod 0640 /opt/avorio...
by LHammonds
Wed Nov 24, 2021 4:45 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Backup and Restore

Backup ------------- WORK-IN-PROGRESS ------------- Reference: Database Backup Script I will turn these into easy-to-run scripts but for now, this is the meat of what they will do. tar -cpf - /opt/avorion/savegame/* | 7z a -si -mx=9 -w/tmp /bak/avorion/2021-09-22-avorion.tar.7z 1>/dev/null 2>&1...
by LHammonds
Wed Nov 24, 2021 4:33 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Avorion as a Service

Avorion as a Service A generic system service will be created that will work for every instance by passing it the instance name as a parameter. This will allow the operating system to start each service when the server boots up and stop each service upon shutdown or reboot. This also means that the...
by LHammonds
Wed Nov 24, 2021 4:27 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Script - Update

Avorion Update Script

Code: Select all

wget https://raw.githubusercontent.com/LHammonds/avorion-bash/main/avorion-update.sh --output-document /var/scripts/prod/avorion-update.sh
sudo chown avserver:avserver /var/scripts/prod/avorion-update.sh
sudo chmod 0750 /var/scripts/prod/avorion-update.sh
by LHammonds
Wed Nov 24, 2021 4:25 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Script - Stop

Avorion Stop Script NOTE: Always ensure a save command is issued before a stop command. wget https://raw.githubusercontent.com/LHammonds/avorion-bash/main/avorion-stop.sh --output-document /var/scripts/prod/avorion-stop.sh sudo chown avserver:avserver /var/scripts/prod/avorion-stop.sh sudo chmod 07...
by LHammonds
Wed Nov 24, 2021 4:24 pm
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Script - Start

Avorion Start Script

Code: Select all

wget https://raw.githubusercontent.com/LHammonds/avorion-bash/main/avorion-start.sh --output-document /var/scripts/prod/avorion-start.sh
sudo chown avserver:avserver /var/scripts/prod/avorion-start.sh
sudo chmod 0750 /var/scripts/prod/avorion-start.sh
by LHammonds
Tue Nov 23, 2021 8:52 am
Forum: Tutorials
Topic: Syncthing
Replies: 3
Views: 137

Syncthing

>> INSERT TEXT HERE <<
by LHammonds
Tue Nov 23, 2021 8:51 am
Forum: Tutorials
Topic: Syncthing
Replies: 3
Views: 137

Syncthing for Ubuntu

Add firewall rules to the operating system to allow the service(s) to be visible outside the server: ufw allow proto tcp to any port 22000 comment 'syncthing sync' 1>/dev/null 2>&1 ufw allow proto udp to any port 22000 comment 'syncthing sync' 1>/dev/null 2>&1 ufw allow proto udp to any por...
by LHammonds
Tue Nov 23, 2021 8:51 am
Forum: Tutorials
Topic: Syncthing
Replies: 3
Views: 137

Syncthing for Windows

Download the Windows 64-bit archive Extract the archive (Example: syncthing-linux-amd64-v1.18.4.tar.gz ) to a folder such as D:\Apps\Syncthing\ Run syncthing.exe If prompted by the firewall, allow it access. Or run the following commands from an admin-level prompt to allow access (assuming you will...
by LHammonds
Tue Nov 23, 2021 8:51 am
Forum: Tutorials
Topic: Syncthing
Replies: 3
Views: 137

Syncthing

------------- WORK-IN-PROGRESS ------------- Greetings and salutations, I hope this thread will be helpful to those who follow in my foot steps as well as getting any advice based on what I have done / documented. To discuss this thread, please participate here: Ubuntu Forums High-level overview Sy...
by LHammonds
Mon Oct 25, 2021 10:30 am
Forum: Tutorials
Topic: How to Install NextCloud on Ubuntu Server 20.04 LTS
Replies: 5
Views: 9259

Reset Password

Reset Admin Password If you do not know your admin password, you can set the password via the command-line. Login to the web server via console or PuTTY session. Change the current directory to where NextCloud is installed. Example: cd /var/www/nextcloud.mydomain.com Issue the following command sub...
by LHammonds
Mon Sep 27, 2021 6:16 am
Forum: Miscellaneous
Topic: Ideas for Apps to Create
Replies: 0
Views: 328

Ideas for Apps to Create

Reminder App - Set reminders for various recurring tasks that might be daily, weekly, monthly, yearly, etc. and have notification sent via email or SMS text. Food / Vitals Tracking App - Track what is being consumed each day and how you feel / symptoms. With enough data, might be able to identify ce...
by LHammonds
Thu Sep 23, 2021 9:40 am
Forum: Tutorials
Topic: How to install MediaWiki 1.34.2 on Ubuntu Server 20.04 LTS
Replies: 9
Views: 10162

Reset Password

Reset Password Reference Article Reset Password via PHP Maintenance Script cd /var/www/wiki.mydomain.com/maintenance/ php changePassword.php --user=MyAdminAccount --password=MyNewPassword Reset Password via Direct Database Modification If you do not know your password, you can set the password via ...
by LHammonds
Mon Sep 13, 2021 6:17 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Script Configuration File

Script Configuration File This is a configuration file for use by these custom scripts which contain global variables/settings used by the various scripts. Make sure each variable matches what you want for your system. wget https://raw.githubusercontent.com/LHammonds/avorion-bash/main/avorion.conf ...
by LHammonds
Mon Sep 13, 2021 6:17 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

RCON

RCON Utility Reference: My Steam Guide: RCON Command-Line Utility The game instances will be running as a service and thus, the console will not be available. This is where RCON comes in handy. Avorion has built-in support for RCON clients sending console commands such as /save, /stop, /status, /pl...
by LHammonds
Mon Sep 13, 2021 6:17 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Commands

Start Server Manually su --command="/opt/avorion/server.sh --galaxy-name galaxy1 --admin 76561197970730192 --datapath /opt/avorion/savegame" avserver su --command="/opt/avorion/server.sh --galaxy-name galaxy2 --admin 76561197970730192 --datapath /opt/avorion/savegame" avserver S...
by LHammonds
Mon Sep 13, 2021 6:17 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Avorion Configuration

Avorion Configuration Reference: Documentation: Server Configuration NOTE: Only make changes to the config file when the server is NOT running. The most-basic changes you need to make are setting the RCON password and RCON port (which must be unique and unused) vi /opt/avorion/savegame/galaxy1/serv...
by LHammonds
Mon Sep 13, 2021 6:17 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Installation

Install SteamCMD sudo apt update sudo apt install steamcmd Install Avorion Download and install standard Avorion su --command="steamcmd +login anonymous +force_install_dir /opt/avorion +app_update 565060 validate +exit" avserver or Download and install BETA Avorion su --command="stea...
by LHammonds
Mon Sep 13, 2021 6:16 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Credentials

Credentials There will be 3 levels of user access: root (system-level access for script schedules, backups and service control) avserver (owner/update account that has read/write access to all Avorion files and ability to use sudo command) avservice (runtime account that belongs to the avserver gro...
by LHammonds
Mon Sep 13, 2021 6:16 am
Forum: Tutorials
Topic: How to Install Avorion on Ubuntu Server 20.04 LTS
Replies: 13
Views: 961

Firewall Rules

Firewall Rules Here are the rules for running two galaxies. The RCON rule is commented out since we will not need to access RCON remotely but I left it in there in case you did. Adjust as necessary. echo "Adding Avorion Server rules" ufw allow proto udp to any port 27101 comment 'Galaxy1 ...