### Start Madsonic and Display URL Source: https://www.feralhosting.com/wiki/software/madsonic Starts the Madsonic service and prints its access URL to the console. The URL includes the hostname, dynamically assigned port, and context path. ```bash ~/private/madsonic/madsonic.sh && echo "http://$(hostname -f):$(sed -rn 's|(.*)MADSONIC_PORT=(.*)|\2|p;q' ~/private/madsonic/madsonic.sh)/$(whoami)/madsonic" | grep http ``` -------------------------------- ### Install Sonarr via SSH Source: https://www.feralhosting.com/wiki/software/sonarr This script downloads and executes the Sonarr installation script from a provided URL. It's designed to be copied and pasted directly into an SSH terminal. Upon successful installation, it provides a URL to access Sonarr and indicates that Sonarr will take approximately five minutes to start up. ```bash wget -O ~/install.sonarr.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/sonarr.install.sh && bash ~/install.sonarr.sh ``` -------------------------------- ### Start Tautulli with Screen Source: https://www.feralhosting.com/wiki/slots/cron This script checks if Tautulli is already running and, if not, starts it in a detached screen session. It requires Python and the Tautulli application to be installed. ```bash #!/bin/bash # Check if Tautulli is already running if pgrep -f Tautulli > /dev/null; then echo "Tautulli is already running." else # Start Tautulli in a detached screen session screen -dmS Tautulli python ~/Tautulli/Tautulli.py echo "Tautulli started in screen session." fi ``` -------------------------------- ### Install qBittorrent using a script Source: https://www.feralhosting.com/wiki/software/qbittorrent Installs qBittorrent by downloading and executing an installation script. This script handles the setup and provides login details upon completion. No specific dependencies are mentioned beyond basic shell access. ```bash wget -O ~/install.qbittorrent.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/qbittorrent/install && bash ~/install.qbittorrent.sh ``` -------------------------------- ### Start Autodl-irssi Process Source: https://www.feralhosting.com/wiki/software/autodl-irssi Starts the Autodl-irssi process in a detached screen session. This command assumes you have 'screen' installed and configured. ```bash screen -dmS autodl irssi ``` -------------------------------- ### Install Emby Media Server Source: https://www.feralhosting.com/wiki/software/emby Installs Emby media server by downloading and executing an installation script. This script handles the setup process and provides a URL to access the Emby interface after a few minutes. It's recommended to complete the startup wizard immediately after installation. ```bash wget -O ~/install.emby.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/emby.install.sh && bash ~/install.emby.sh ``` -------------------------------- ### Megatools Help Usage Example Source: https://www.feralhosting.com/wiki/software/megatools This example demonstrates how to view the comprehensive help options for the `megaget` command, a Megatools binary for downloading individual files from Mega.nz. This helps in understanding available parameters for various operations. ```bash [server ~] megaget --help-all Usage: megaget [OPTION…] - download individual files from mega.nz Help Options: -h, --help Show help options --help-all Show all help options --help-basic Show basic options --help-network Show network options --help-auth Show authentication options Basic Options: --config=PATH Load configuration from a file --ignore-config-file Disable loading .megarc --debug=OPTS Enable debugging output --version Show version information Network Options: --limit-speed=SPEED Limit transfer speed (KiB/s) --proxy=PROXY Proxy setup string Authentication Options: -u, --username=USERNAME Account username (email) -p, --password=PASSWORD Account password --no-ask-password Never ask interactively for a password --reload Reload filesystem cache Application Options: --path=PATH Local directory or file name, to save data to --no-progress Disable progress bar ``` -------------------------------- ### Install Unpack ruTorrent Plugin (Bash) Source: https://www.feralhosting.com/wiki/software/rutorrent/plugins This bash script is an example of the general method for installing the 'unpack' plugin for ruTorrent. It clones the ruTorrent repository, moves the 'unpack' plugin to the correct directory, and then removes the cloned repository. Adapt the 'version' variable if necessary. ```bash version=v4.3.2 cd ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/ git clone https://github.com/Novik/ruTorrent.git --depth 1 --branch "$version" mv ruTorrent/plugins/unpack ./ rm -rf ruTorrent ``` -------------------------------- ### Example Cron Script for Software Auto-Restart Source: https://www.feralhosting.com/wiki/slots/cron This bash script provides examples for automatically restarting various common software applications. Each line checks if the software's process is running using 'pgrep' and starts it using 'screen' if it's not found. It includes commented-out examples for applications like Jackett, Sonarr, Radarr, and more. ```bash #!/bin/bash ##set -eux -o pipefail ## autodl-irssi #[[ $(pgrep -f 'irssi') ]] || screen -dmS autodl irssi ## Bazarr (replace 1234 with a number between 10000 and 30000) #PORT=1234; [[ $(pgrep -f 'bazarr') ]] || screen -dmS bazarr /bin/bash -c "python ~/bazarr/bazarr.py -p $port" ## Emby #[[ $(pgrep -f 'EmbyServer') ]] || screen -dmS emby ~/bin/emby ## Jacket #[[ $(pgrep -f 'Jackett') ]] || screen -dmS jackett /bin/bash -c 'export TMPDIR=~/tmp; cd ~/Jackett; ./jackett_launcher.sh --NoUpdates' ## Lidarr #[[ $(pgrep -f 'Lidarr') ]] || screen -dmS Lidarr /bin/bash -c 'export TMPDIR=~/tmp; mono --debug Lidarr/Lidarr.exe' ## Ombi (replace 1234 with your configured port) #PORT=1234; [[ $(pgrep -f 'Ombi') ]] || (pushd ~/opt/Ombi; screen -dmS Ombi ~/opt/Ombi/Ombi --host http://*:$PORT; popd) ## pyLoad #[[ $(pgrep -f 'pyLoad') ]] || screen -dmS pyLoad -- pyLoadCore --configdir=~/.pyload ## Radarr #[[ $(pgrep -f 'Radarr') ]] || screen -dmS Radarr /bin/bash -c 'export TMPDIR=~/.config/Radarr/tmp; ~/Radarr/Radarr -nobrowser' ## Resilio Sync #[[ $(pgrep -f '.rslsync/rslsync.conf') ]] || ~/rslsync/rslsync --config ~/.rslsync/rslsync.conf ## SABnzbd (replace 1234 with a number between 10000 and 30000) #PORT=1234; [[ $(pgrep -f 'SABnzbd.py') ]] || screen -fa -dmS sabnzbd python ~/sabnzbd-*/SABnzbd.py --browser 0 --server $(hostname -f):$PORT ## SickChill #[[ $(pgrep -f "python $HOME/SickChill/SickBeard.py -d") ]] || (rm -rf ~/SickChill/SickChill.pid; ~/pip/bin/python ~/SickChill/SickBeard.py -d --pidfile="$HOME/SickChill/SickChill.pid") ## Sonarr v4 #[[ $(pgrep -f 'Sonarr') ]] || screen -dmS sonarr /bin/bash -c 'export TMPDIR=~/tmp; Sonarr/Sonarr -nobrowser' ## syncthing #[[ $(pgrep -f 'syncthing') ]] || screen -dmS syncthing ~/bin/syncthing ``` -------------------------------- ### Install Tautulli using SSH Source: https://www.feralhosting.com/wiki/software/tautulli This command downloads and executes the Tautulli installation script. It requires SSH access and will output a success message with the Tautulli access URL upon completion. The setup wizard must be completed immediately after installation. ```bash wget -O ~/install.tautulli.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/tautulli.install.sh && bash ~/install.tautulli.sh ``` -------------------------------- ### Install Jellyfin Media Server Source: https://www.feralhosting.com/wiki/software/jellyfin Installs Jellyfin by downloading and executing an installation script. This script handles the setup process and provides the URL for accessing the Jellyfin web interface. It requires an active SSH connection to the Feral Hosting slot. ```bash wget -O ~/install.jellyfin.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/jellyfin.install.sh && bash ~/install.jellyfin.sh ``` -------------------------------- ### Install Bazarr using a script Source: https://www.feralhosting.com/wiki/software/bazarr This command downloads and executes an installation script for Bazarr. It requires SSH access and will output login details upon successful installation. The script handles the initial setup of the Bazarr application. ```bash wget -O ~/install.bazarr.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/bazarr.install.sh && bash ~/install.bazarr.sh ``` -------------------------------- ### Configure pyLoad with Wizard Source: https://www.feralhosting.com/wiki/software/pyload Starts the pyLoad configuration wizard, which guides the user through setting up language, username, password, download folder, and web interface options. Uses SSH to execute. ```bash pyLoadCore --configdir=$HOME/.pyload -s ``` -------------------------------- ### Manage Resilio Sync Process Source: https://www.feralhosting.com/wiki/software/resilio_sync Provides commands to start, check the status of, stop, restart, and forcefully kill the Resilio Sync process. The start and restart commands also output the web UI URL. ```bash # Start Resilio Sync ~/rslsync/rslsync --config ~/.rslsync/rslsync.conf && echo http://$(hostname -f):$(sed -rn 's|.*"listen" : "0.0.0.0:(.*)".*|\1|p' ~/.rslsync/rslsync.conf) ``` ```bash # Check if Resilio Sync is running pgrep -fu "$(whoami)" ".rslsync/rslsync.conf" ``` ```bash # Stop Resilio Sync kill "$(pgrep -fu "$(whoami)" ".rslsync/rslsync.conf")" ``` ```bash # Restart Resilio Sync kill "$(pgrep -fu "$(whoami)" ".rslsync/rslsync.conf")" && sleep 5 && ~/rslsync/rslsync --config ~/.rslsync/rslsync.conf && echo http://$(hostname -f):$(sed -rn 's|.*"listen" : "0.0.0.0:(.*)".*|\1|p' ~/.rslsync/rslsync.conf) ``` ```bash # Force stop Resilio Sync kill -9 "$(pgrep -fu "$(whoami)" "rslsync.conf")" ``` -------------------------------- ### Install Madsonic Source: https://www.feralhosting.com/wiki/software/madsonic Downloads and extracts the Madsonic application to the user's private directory. It requires `wget` and `unzip` to be installed. ```bash mkdir -p ~/private/madsonic wget -qO ~/madsonic.zip https://download.madsonic.org/6.2/20190425_madsonic-6.2.9084-standalone.zip unzip -qo ~/madsonic.zip -d ~/private/madsonic rm ~/madsonic.zip ``` -------------------------------- ### Start Ombi Process Source: https://www.feralhosting.com/wiki/software/ombi Starts the Ombi application in a detached screen session. It binds Ombi to a specified host and port. Remember to replace 'port' with a valid port number. ```bash cd ~/opt/Ombi; screen -dmS Ombi ~/opt/Ombi/Ombi --host http://*:port ``` -------------------------------- ### Manage SyncThing Process via SSH Source: https://www.feralhosting.com/wiki/software/syncthing Provides commands to start SyncThing in a detached screen session, check if it's running, stop it gracefully, restart it, and forcefully kill the process. It also outputs the web UI URL upon starting. ```bash # Start SyncThing screen -dmS syncthing ~/bin/syncthing && echo http://$(hostname -f):$(sed -rn 's|.*
0.0.0.0:(.*)
.*|\1|p' ~/.config/syncthing/config.xml) ``` ```bash # Check if SyncThing is running pgrep -laf syncthing ``` ```bash # Stop SyncThing pkill -f syncthing ``` ```bash # Restart SyncThing pkill -f syncthing && sleep 5 && screen -dmS syncthing ~/bin/syncthing && echo http://$(hostname -f):$(sed -rn 's|.*
.0.0.0:(.*)
.*|\1|p' ~/.config/syncthing/config.xml) ``` ```bash # Force stop SyncThing pkill -9 -f syncthing ``` -------------------------------- ### Install Autodl-irssi and ruTorrent Plugin using Bash Script Source: https://www.feralhosting.com/wiki/software/autodl-irssi This script automates the installation of Autodl-irssi and its associated ruTorrent plugin. It downloads and executes a setup script from a provided URL. Ensure you have SSH access and necessary permissions before running. ```bash wget -qO ~/install.autodl.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/autodl/autodl.sh && bash ~/install.autodl.sh ``` -------------------------------- ### Start Jackett Process (Bash) Source: https://www.feralhosting.com/wiki/software/jackett Starts the Jackett process in a detached screen session. It sets a temporary directory and navigates to the Jackett directory before launching the application, disabling update checks. ```bash screen -dmS jackett /bin/bash -c 'export TMPDIR=~/tmp; cd ~/Jackett; ./jackett_launcher.sh --NoUpdates' ``` -------------------------------- ### Install UnRAR on Feral Hosting via SSH Source: https://www.feralhosting.com/wiki/software/unrar Installs a specific version of UnRAR by downloading the source, compiling it, and placing the executable in the user's bin directory. Requires SSH access. ```bash wget -qO unrar.tar.gz http://www.rarlab.com/rar/unrarsrc-5.7.5.tar.gz tar xf ~/unrar.tar.gz make -C ~/unrar make -C ~/unrar install DESTDIR="$HOME" rm -rf ~/unrar{,.tar.gz} ``` -------------------------------- ### Manage SABnzbd Process using Screen Source: https://www.feralhosting.com/wiki/software/sabnzbd Commands to start, check, stop, restart, and force stop the SABnzbd process using `screen` and `pkill`. Replace 'port' with a number between 10000 and 30000. Ensure `screen` is installed. ```bash # Start SABnzbd screen -fa -dmS sabnzbd python ~/sabnzbd-*/SABnzbd.py --browser 0 --server $(hostname -f):port # Check if SABnzbd is running pgrep -fu "$(whoami)" "SABnzbd.py" # Stop SABnzbd pkill -fu "$(whoami)" 'SABnzbd.py' # Restart SABnzbd pkill -fu "$(whoami)" 'SABnzbd.py' && screen -fa -dmS sabnzbd python ~/sabnzbd-*/SABnzbd.py --browser 0 --server $(hostname -f):port # Force stop SABnzbd (kill) pkill -9 -fu "$(whoami)" 'SABnzbd.py' ``` -------------------------------- ### Install Radarr via SSH Source: https://www.feralhosting.com/wiki/software/radarr This script downloads and executes the Radarr installation script from a provided URL. After execution, Radarr will start automatically and require immediate authentication through its web interface. Ensure you have SSH access to your slot before running this command. ```bash wget -O ~/install.radarr.sh https://bitbucket.org/feralio/wiki/raw/HEAD/src/wiki/software/radarr.install.sh && bash ~/install.radarr.sh ``` -------------------------------- ### Manage Flood Process (Start, Check, Stop, Kill) Source: https://www.feralhosting.com/wiki/software/nodejs/flood Commands to manage the Flood process. This includes starting Flood in a screen session, checking if it's running, stopping it gracefully, and forcefully killing the process. ```bash screen -S flood flood --host 0.0.0.0 --port 3000 ``` ```bash pgrep -laf flood ``` ```bash pkill -f flood ``` ```bash pkill -9 -f flood ``` -------------------------------- ### Restart Madsonic Source: https://www.feralhosting.com/wiki/software/madsonic Restarts the Madsonic service by stopping the current process, waiting for 5 seconds, and then starting it again. It also displays the access URL. ```bash kill "$(pgrep -fu "$(whoami)" "madsonic")" && sleep 5 && ~/private/madsonic/madsonic.sh && echo "http://$(hostname -f):$(sed -rn 's|(.*)MADSONIC_PORT=(.*)|\2|p;q' ~/private/madsonic/madsonic.sh)/$(whoami)/madsonic" | grep http ``` -------------------------------- ### Download Software Archive using wget Source: https://www.feralhosting.com/wiki/slots/generic-install-guide This command uses `wget` to download a compressed software archive from a given URL and save it to the user's home directory. The `-q` flag suppresses output, and `-O` specifies the output filename. This is a common method for acquiring software binaries or source code for installation. ```bash wget -qO ~/software.tar.gz https://somesite.com/software.tar.gz ``` -------------------------------- ### Download, configure, build, and install software from source Source: https://www.feralhosting.com/wiki/slots/install-source This sequence of commands downloads the source code archive, extracts it, navigates into the source directory, configures the build with a home directory prefix, and then compiles and installs the software. It's a common workflow for installing custom applications. ```bash wget -qO source.tar.gz https://somesite.com/source-version.tar.gz tar xf source.tar.gz cd ~/source-version ./configure --prefix=$HOME make && make install ``` -------------------------------- ### Install Ombi on Feral Hosting Source: https://www.feralhosting.com/wiki/software/ombi Installs Ombi by creating a directory, downloading the latest release, extracting it, and making it executable. It also copies a necessary SQLite library and cleans up the downloaded archive. ```bash mkdir -p ~/opt/Ombi cd ~/opt/Ombi wget -q $(curl -s https://api.github.com/repositories/52522046/releases/latest | grep 'browser_' | cut -d" -f4 | head -n 3 | tail -n 1) tar xf linux-x64.tar.gz chmod +x Ombi cp /usr/lib/x86_64-linux-gnu/libsqlite3.so libe_sqlite3.so rm ~/opt/Ombi/linux-x64.tar.gz ``` -------------------------------- ### Get Deluge Daemon Password via SSH Source: https://www.feralhosting.com/wiki/software/sickchill This command extracts the Deluge daemon password from the auth file. It's necessary for connecting to Deluge via its daemon interface. ```bash sed -rn "s/$(whoami):(.*):(.*)/\1/p" ~/.config/deluge/auth ``` -------------------------------- ### Install Flexget and Create Config File Source: https://www.feralhosting.com/wiki/software/flexget Installs the Flexget package using pip and creates an initial configuration file. This is a prerequisite for using Flexget. ```bash ~/python/bin/pip install flexget touch ~/config.yml ``` -------------------------------- ### Remove SickChill PID File Source: https://www.feralhosting.com/wiki/software/sickchill This command removes the SickChill process ID file. It's a troubleshooting step to resolve errors when starting SickChill if a PID file already exists. ```bash rm ~/SickChill/SickChill.pid ``` -------------------------------- ### Get Deluge Daemon Port via SSH Source: https://www.feralhosting.com/wiki/software/sickchill This command retrieves the daemon port for Deluge by parsing the core.conf file. It's used when configuring Deluge via its daemon interface. ```bash sed -rn 's/(.*)\"daemon_port\": (.*),/\2/p' ~/.config/deluge/core.conf ``` -------------------------------- ### Install Java on Feral Hosting (Bash) Source: https://www.feralhosting.com/wiki/software/java Installs a specific version of Java by downloading a tarball, extracting it, and cleaning up. This script assumes you are connected via SSH and have the necessary permissions. It creates a directory for Java and downloads the archive to it. ```bash mkdir -p ~/bin && bash wget -qO ~/java.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=239848_230deb18db3e4014bb8e3e8324f81b43 tar xf ~/java.tar.gz --strip-components=1 -C ~/ rm ~/java.tar.gz ``` -------------------------------- ### Start SickChill Process Source: https://www.feralhosting.com/wiki/software/sickchill This command starts the SickChill service in the background and prints its access URL. It uses the Python interpreter from the pip environment to run the SickBeard.py script, specifying a PID file for process management. The URL includes the hostname, a dynamically assigned port, username, and the web root path. ```bash ~/pip/bin/python ~/SickChill/SickBeard.py -d --pidfile="$HOME/SickChill/SickChill.pid" && echo http://$(hostname -f):$(sed -rn 's/(.*)web_port = //p' ~/SickChill/config.ini)/$(whoami)/sickchill ``` -------------------------------- ### Install SyncThing on Feral Hosting via SSH Source: https://www.feralhosting.com/wiki/software/syncthing Installs SyncThing by downloading the latest release, extracting it, moving the executable to the user's bin directory, and setting up the initial configuration directory. It also cleans up downloaded files. ```bash wget -qO ~/syncthing.tar.gz https://github.com/syncthing/syncthing/releases/download/v1.9.0/syncthing-linux-amd64-v1.9.0.tar.gz mkdir -p ~/bin; tar xvzf ~/syncthing.tar.gz -C ~/; mv ~/syncthing-linux-amd64-v1.9.0/syncthing ~/bin/; chmod +x ~/bin/syncthing; ~/bin/syncthing -generate="~/.config/syncthing" rm ~/syncthing.tar.gz ; rm -rf ~/syncthing-linux-amd64-v1.9.0 ``` -------------------------------- ### Get FTPS Port from ProFTPd Configuration Source: https://www.feralhosting.com/wiki/software/proftpd This command extracts the port number configured for the FTPS service from the ftps.conf file. It uses sed to find lines starting with 'Port ' and captures the number following it. ```bash sed -nr 's/^Port (.*)/\1/p' ~/proftpd/etc/ftps.conf ``` -------------------------------- ### Manual Installation of Autodl-irssi and ruTorrent Plugin Source: https://www.feralhosting.com/wiki/software/autodl-irssi This manual installation process involves several steps to set up Autodl-irssi and its ruTorrent plugin. It includes removing old configurations, downloading the latest releases, applying patches, and moving files to the correct directories. This method requires careful execution of each command. ```bash kill "$(pgrep -fu "$(whoami)" "autodl")" cp -f ~/.autodl/autodl.cfg ~/.autodl/autodl.cfg.bak rm -rf ~/.irssi/scripts/AutodlIrssi ~/.irssi/scripts/autorun/autodl-irssi.pl rm -rf ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/autodl-irssi mkdir -p ~/.irssi/scripts/autorun ~/.autodl echo -e "[options]\ngui-server-port = 0\ngui-server-password = pass" > ~/.autodl/autodl.cfg wget -qO ~/autodl-irssi.zip $(curl -s https://api.github.com/repos/autodl-community/autodl-irssi/releases/latest | grep 'browser_' | cut -d\" -f4) unzip -qo ~/autodl-irssi.zip -d ~/.irssi/scripts/ cp -f ~/.irssi/scripts/autodl-irssi.pl ~/.irssi/scripts/autorun/ rm -f autodl-irssi.zip .irssi/scripts/{README*,autodl-irssi.pl,CONTRIBUTING.md} wget -qO ~/autodl-rutorrent.zip https://github.com/autodl-community/autodl-rutorrent/archive/master.zip unzip -qo ~/autodl-rutorrent.zip mv ~/autodl-rutorrent.zip ~/autodl-rutorrent-master/_conf.php ~/autodl-rutorrent-master/conf.php pushd autodl-rutorrent-master curl -L https://github.com/autodl-community/autodl-rutorrent/pull/58.patch | patch -p1 popd mv ~/autodl-rutorrent-master ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/plugins/autodl-irssi rm ~/autodl-rutorrent.zip ``` -------------------------------- ### Get SFTP Port from ProFTPd Configuration Source: https://www.feralhosting.com/wiki/software/proftpd This command extracts the port number configured for the SFTP service from the sftp.conf file. It uses sed to find lines starting with 'Port ' and captures the number following it. ```bash sed -nr 's/^Port (.*)/\1/p' ~/proftpd/etc/sftp.conf ``` -------------------------------- ### Restart SickChill Service Source: https://www.feralhosting.com/wiki/software/sickchill This command restarts the SickChill service. It first stops the existing process, removes the PID file, and then starts the service again with a new PID file. This is a common procedure for applying configuration changes or recovering from minor issues. ```bash pkill -fu "$(whoami)" 'SickChill/SickBeard.py' && rm -rf ~/SickChill/SickChill.pid && ~/pip/bin/python ~/SickChill/SickBeard.py -d --pidfile="$HOME/SickChill/SickChill.pid" ``` -------------------------------- ### Manage autobrr Process (Start, Stop, Restart) Source: https://www.feralhosting.com/wiki/software/autobrr Commands to control the autobrr service. This includes starting the service using a cron script, checking if it's running with pgrep, stopping it with pkill, and restarting by combining stop and start commands. The installer typically sets up automatic restarts. ```bash ~/.autobrr.cron ``` ```bash pgrep -fu "$(whoami)" "autobrr" ``` ```bash pkill -fu "$(whoami)" 'autobrr' ``` ```bash pkill -fu "$(whoami)" 'autobrr' && ~/.autobrr.cron ``` -------------------------------- ### Uninstall Madsonic Source: https://www.feralhosting.com/wiki/software/madsonic Removes the Madsonic installation directory and stops any running Madsonic processes. This is a complete removal of the application. ```bash kill -9 "$(pgrep -fu "$(whoami)" "madsonic")" rm -rf ~/private/madsonic/ ``` -------------------------------- ### Create bin directory and reload PATH Source: https://www.feralhosting.com/wiki/slots/install-source This command creates a 'bin' directory in the user's home directory if it doesn't exist and then reloads the shell environment to ensure the PATH setting takes effect. This is a prerequisite for installing custom software. ```bash mkdir -p ~/bin && bash ``` -------------------------------- ### Install SickChill Dependencies Source: https://www.feralhosting.com/wiki/software/sickchill These commands install the necessary Python dependencies for SickChill using pip within a virtual environment. It upgrades the requirements from the SickChill repository and installs pyOpenSSL, which is often needed for secure connections. ```bash ~/pip/bin/pip install --upgrade -r ~/SickChill/requirements.txt ~/pip/bin/pip install --upgrade pyopenssl ``` -------------------------------- ### Install SickChill using Git Source: https://www.feralhosting.com/wiki/software/sickchill This command clones the SickChill repository from GitHub. It specifically checks out the 'python2.7' branch, which is required for this installation. Ensure you are logged in via SSH before executing. ```bash git clone -b python2.7 https://github.com/SickChill/SickChill.git ``` -------------------------------- ### Display mktorrent Usage Guide Source: https://www.feralhosting.com/wiki/software/mktorrent Shows the help screen for the mktorrent command-line utility, detailing all available options for creating torrent files. This includes options for specifying announce URLs, comments, piece size, output filename, private flag, and source string. ```bash mktorrent -h ``` -------------------------------- ### Install mktorrent via Git Clone and Make Source: https://www.feralhosting.com/wiki/software/mktorrent Installs a later version of mktorrent by cloning the repository, compiling it with make, installing it to the user's home directory, and then removing the cloned source directory. This process ensures the latest features, like the source option, are available. ```bash git clone https://github.com/Rudde/mktorrent.git cd mktorrent/ && PREFIX=$HOME make PREFIX=$HOME make install rm -rf ~/mktorrent ``` -------------------------------- ### Install Resilio Sync on Linux Source: https://www.feralhosting.com/wiki/software/resilio_sync Downloads and extracts the Resilio Sync binary for Linux x64. It creates necessary directories and generates a sample configuration file. The downloaded archive is removed after extraction. ```bash wget https://download-cdn.resilio.com/stable/linux/x64/0/resilio-sync_x64.tar.gz mkdir -p ~/rslsync; tar xvzf resilio-sync_x64.tar.gz -C ~/rslsync mkdir -p ~/.rslsync; ~/rslsync/rslsync --dump-sample-config > ~/.rslsync/rslsync.conf && rm resilio-sync_x64.tar.gz ``` -------------------------------- ### Install Homebrew on macOS Source: https://www.feralhosting.com/wiki/slots/homebrew Installs Homebrew, a package manager for macOS, using a Ruby script executed via curl. This command downloads and runs the official Homebrew installation script, guiding the user through the process. Ensure you have command line developer tools installed if prompted. ```shell ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` -------------------------------- ### Install and Build ProFTPd Source Code Source: https://www.feralhosting.com/wiki/software/proftpd Downloads the ProFTPd source code, extracts it, configures build options including OpenSSL and DSO support, and installs it to a user-defined directory. It also cleans up the downloaded source files afterwards. Requires SSH access. ```bash wget -qO ~/proftpd.tar.gz ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.6.tar.gz tar xf ~/proftpd.tar.gz -C ~/ cd proftpd-* install_user=$(whoami) install_group=$(whoami) ./configure --prefix=$HOME/proftpd --enable-openssl --enable-dso --enable-nls --enable-ctrls --with-shared=mod_ratio:mod_readme:mod_sftp:mod_tls:mod_ban:mod_shaper make && make install mkdir -p ~/proftpd/etc/sftp/authorized_keys ~/proftpd/etc/keys ~/proftpd/ssl cd && rm -rf proftpd-* proftpd.tar.gz ``` -------------------------------- ### Install Nginx on Feral Hosting Source: https://www.feralhosting.com/wiki/software/nginx This command creates the necessary directory for Nginx installation. The system automatically detects this directory and installs Nginx, stopping Apache in the process. This is the primary method for Nginx setup. ```bash mkdir ~/.nginx ``` -------------------------------- ### Start pyLoad Process Source: https://www.feralhosting.com/wiki/software/pyload Starts the pyLoad Core process in a detached screen session. This allows pyLoad to run in the background. Requires SSH access. ```bash screen -dmS pyLoad -- pyLoadCore --configdir=$HOME/.pyload ``` -------------------------------- ### Install Custom PHP Version via Source Source: https://www.feralhosting.com/wiki/software/nginx Instructions for installing a custom PHP version from source to your home folder. This involves downloading PHP, configuring it with '--enable-fpm --prefix=$HOME', creating a symlink to the php-fpm executable, and restarting the PHP process. This is an advanced procedure requiring Linux knowledge. ```bash cd ~/ ./configure --enable-fpm --prefix=$HOME ln -s ~/sbin/php-fpm ~/.nginx/php/start pkill php-fpm ``` -------------------------------- ### Uninstall UnRAR from Feral Hosting Source: https://www.feralhosting.com/wiki/software/unrar Removes the custom UnRAR installation by deleting the executable from the user's bin directory. Requires SSH access. ```bash rm ~/bin/unrar ```