Comments (6)
Here's a shell script you can use to upgrade versions in the future without having to download & extract it on a separate system:
#!/bin/sh
set -e
if [ $# = 0 ]; then
echo -n "Version number to upgrade to: "
read version
else
version=$1
fi
wget "https://github.com/radj307/ARRCON/releases/download/$version/ARRCON-$version-Linux.zip"
unzip -o ARRCON-$version-Linux.zip
rm ARRCON-$version-Linux.zip
echo "ARRCON was upgraded to v$version"
It requires wget
& unzip
, which can be installed with the following oneliner on debian-based distros like ubuntu:
sudo apt-get update && sudo apt-get install -y wget unzip
If you name it upgrade-arrcon.sh
, give it execute perms with chmod 0755 upgrade-arrcon.sh
(or your preferred permissions), then call it like: ./upgrade-arrcon.sh <VERSION>
You can also run it without specifying the version number & it'll prompt you for it.
from arrcon.
@radj307 expansion upon your script:
Here's an install/update script for whatever the latest version currently released to github, (rather than prompting):
#!/bin/bash
# Prerequisites
sudo apt-get -yqq install wget unzip curl
if [ $# = 0 ]; then
# Get latest version # from github url redirect
releases="https://github.com/radj307/ARRCON/releases/"
tag_link=$(curl -Ls -o /dev/null -w %{url_effective} $releases/latest)
latest_tag=${tag_link#"$releases"}
version=${latest_tag#"tag/"}
else
version=$1
fi
# Download version
wget -q "$releases/download/$version/ARRCON-$version-Linux.zip"
unzip -oqq ARRCON-$version-Linux.zip
rm ARRCON-$version-Linux.zip
echo "ARRCON was upgraded to $version"
Toss it in a cron job, and it should keep the system updated to the latest ARRCON. 👍
from arrcon.
There isn't any real installation process to speak of; just extract the executable somewhere and run it.
I'll write some documentation on the exact setup process later today.
from arrcon.
Greetings, I am also having issues when trying to extract and install the file. My steps are as follows
- Download the "ARRCON-3.3.7-Linux.zip" file under the Releases section (https://github.com/radj307/ARRCON/releases/download/3.3.7/ARRCON-3.3.7-Linux.zip). I download it using my Windows PC.
- Extract the file "ARRCON" using WinRAR in Windows, then SFTP into my Ubuntu 22.04 LTS Server and copy the folder with the "ARRCON" file to my user directory [~/ARRCON-3.3.7-Linux/]
- cd into the folder
- type the file name
I keep getting the error in the image above "ARRCON: command not found". I have even tried appending the file extension .sh to the file and still no luck. I have tried running in SUDO and editing the file permissions using chmod A+x
. I forgot to include it in the screenshot but I also try ./ARRCON
and ./ARRCON.sh
and get the same error.
from arrcon.
@muhubi You have to type the path to the file when it isn't on your PATH. In your case, that would be .
(current directory), so ./ARRCON
should work.
The file also needs execution perms for the current user, if you need to fix that you can use chmod 0755 ./ARRCON
.
from arrcon.
Thank you, I did not use the ./
in my command execution. ./ARRCON
worked.
from arrcon.
Related Issues (19)
- Add a config option (disabled by default) to enable handling of minecraft terminal colors using the section sign delimiter. (0xC2, 0xA7) HOT 2
- Add the ability to save multiple hostnames/ports/passwords similar to ssh hostname config HOT 1
- [BUG] write-ini fails when ~/.config/ARRCON directory doesn't exist HOT 1
- [BUG] dyld[12869]: Symbol not found HOT 16
- macOS 10.9 and newer require `libstdc++` to be installed HOT 4
- [BUG] Program locks after RCON response from Team Fortress 2 server HOT 5
- Conan Exiles request HOT 4
- [BUG] ARRCON shows previous response for current command HOT 3
- [BUG] Korean text isn't supported HOT 9
- [NEW] Add logging to a file HOT 2
- [BUG] Command files not working HOT 2
- [BUG] Does not support Cyrillic HOT 5
- [QUESTION] Does not work on centos 7.6 HOT 2
- [BUG] Missing Libraries HOT 2
- [QUESTION] linux installation HOT 1
- [BUG] Connection lost HOT 7
- [BUG] Socket Error Code: 10093 Socket Error Message: Uma aplicaþÒo nÒo chamou o WSAStartup ou o WSAStartup falhou. HOT 5
- [BUG] Palworld commands only return "empty string" with ARRCON, rcon-cli however works HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrcon.