/Ripple-Auto-Installer-1

Ripple OSU Private Server Simple Auto Installer Script! Mirror: https://zxq.co/Uniminin/Ripple-Auto-Installer

Primary LanguageTSQLGNU Affero General Public License v3.0AGPL-3.0

Ripple Auto Installer

Ripple Stack Installation Helper

Attention

THIS SCRIPT IS NOT FOR LOCAL PC (localhost)

Requirements

  • Ubuntu/Debian/Bedrock VPS with debian/ubuntu stratum
    Note: Ubuntu 16.04/17.04 is atleast recommended if you want to directly start without any additional tweaking!
    If you end up going with 18.04 then please run:
    add-apt-repository ppa:ondrej/php ; apt-get update
    and define the php version in the bash file by switching out php with php7.0

Features

  • A configurable shell script for installing Ripple Stack
  • Everything is Pre-ready
  • Simple and user friendly Installation
  • Installs most of the things for your server within minutes

Running the Script (Instructions)

$ wget https://raw.githubusercontent.com/Light-Ripple/Ripple-Auto-Installer/master/Main/ripple.sh
$ chmod +x ripple.sh ; sudo ./ripple.sh --help

Note: use sudo. for example: sudo ripple.sh --all to install & setup full ripple stack with dependencies.

After Installation Steps

  • Certificate
    Edit openssl.cnf and run gencert.sh to generate certificates. Use cert.pem and key.pem in your nginx configuration and cert.pem in your switcher.
    Use this on your site:
git clone https://github.com/Neilpang/acme.sh.git
cd acme.sh
./acme.sh --issue --standalone -d osu.ripple.moe -d c.ripple.moe -d a.ripple.moe -d oldripple.ripple.moe
  • Proxy
    Edit and include ripple.conf in your nginx.conf

Enable/Restart/Start Services

sudo systemctl enable nginx
sudo systemctl enable php7.0-fpm
sudo systemctl enable redis-server
sudo systemctl enable mysql
sudo systemctl start nginx
sudo systemctl start php7.0-fpm
sudo systemctl start redis-server
sudo systemctl start mysql
sudo systemctl restart nginx
sudo systemctl restart php7.0-fpm
sudo systemctl restart redis-server
sudo systemctl restart mysql

Edit Config

Edit all configs.

  • /RIPPLE/pep.py and run nano config.ini
  • /RIPPLE/lets and run nano config.ini
  • /RIPPLE/hanayo and run nano hanayo.conf
  • /RIPPLE/rippleapi and run nano api.conf
  • /RIPPLE/old-frontend and run nano inc/config.php

Start Server

Create tmux sessions:tmux new -s tmux_session_name and go to

  • /RIPPLE/pep.py and run python3.6 pep.py
  • /RIPPLE/lets and run python3.6 lets.py
  • /RIPPLE/OSU-AVATAR-SERVER and run python3.6 avatar-server.py
  • /RIPPLE/hanayo and run ./hanayo
  • /RIPPLE/rippleapi and run ./rippleapi

Domain

Make sure you set your DNS like this:

* YOUR-DOMAIN
* c.YOUR-DOMAIN
* i.YOUR-DOMAIN
* a.YOUR-DOMAIN
* s.YOUR-DOMAIN
* old.YOUR-DOMAIN

Fixing Nginx Errors

$ sudo pkill -f nginx ; sudo nginx

OSU!API

  • You can get OSU!API Key Here:OSU!API

Tested OS

NO Status Platform
1 Bedrock
2 Ubuntu 19.10
3 Archlinux

Contact

You can add me on Discord and ask for help or join the discord server.

License 📜 License: AGPL v3

This project is licenced under the GNU Affero General Public License V3. For more information, see the file LICENSE or visit https://www.gnu.org/licenses/agpl-3.0.