Skip to content

Standard Linux Setup

Superior125 edited this page Apr 6, 2023 · 10 revisions

This guide will cover installing and setting up Ringer Server on Linux.

1. Installing Python.

The first thing we will have to do to get started is to make sure we have Python installed on our Linux distro. To do this we can run the following command.

Note: For each command, there is a "$" in front of it. When copying each command do not include the "$" in the command. They are simply there to show the different commands.

$ python3

If the command brings up the Python shell in the command line, you already have Python installed. To exit the shell simply press ctrl + c. Then move on to the next step. If you got an error, you probably don't have Python installed. To install it, just run these commands.

Note: For each command, there is a "$" in front of it. When copying each command do not include the "$" in the command. They are simply there to show the different commands.

$ sudo apt-get update
$ sudo apt-get install python3.6

Once you have successfully installed Python you are ready to move on to the next step.

2. Installing Ringer Server

The next step is to install Ringer Server on your Linux machine. To do this, we must first create a directory to install the server. To do that, we can run this command.

Note: For each command, there is a "$" in front of it. When copying each command do not include the "$" in the command. They are simply there to show the different commands.

$ mkdir Ringer_Server

After you have created a directory, you now must navigate into it by running this command.

$ cd /Ringer_Server

After moving into the directory we just created, it's now time to clone the Ringer Server repository. To do this we must issue this command.

$ gh repo clone Lif-Platforms/New-Ringer-Server

After the repository is finished cloning, you are ready to move on to the next step.

3. Starting Ringer Server

Lastly, the final step is to start Ringer Server. To do this we must first navigate into the source(src) directory. To do this we can issue this command.

Note: For each command, there is a "$" in front of it. When copying each command do not include the "$" in the command. They are simply there to show the different commands.

$ cd /src 

After we have done that, we can start Ringer Server by doing this command.

$ python3 RingerServer.py

After issuing that command, you should see some logs that say that the server has started. If that is the case then you are all set. Your Ringer Server is now setup and running!

Clone this wiki locally