Yeti-Switch is a free and open-source platform designed for VoIP (Voice over Internet Protocol) carriers that allows them to manage their call routing, billing, and network infrastructure. In this tutorial, we will guide you on how to install Yeti-Switch on Debian Latest. Follow the steps mentioned below.
Before starting, make sure you have the following requirements:
Log in to your server and update your Debian system to the latest version, use the command below:
sudo apt update && apt upgrade
Yeti-Switch required some system packages to be installed on your system. Run the following command to install the required packages:
sudo apt install libarchive13 libxml2 libncursesw5 libmariadb3 libmariadbclient18 libmariadb-dev-compat libssl1.1 libsctp1 sshpass
Yeti-Switch required Redis for caching, so let's install Redis using the command:
sudo apt install redis-server
MariaDB is an open-source relational database management system, and Yeti-Switch is compatible with it. Execute the following command to install it:
sudo apt install mariadb-server
After installation set the MariaDB root password, create a database, and grant the permissions to the database with this command:
sudo mysql_secure_installation
sudo mysql -u root -p
MariaDB> CREATE DATABASE yeti character set utf8 collate utf8_general_ci;
MariaDB> GRANT ALL PRIVILEGES ON yeti.* TO yeti@localhost IDENTIFIED BY 'password';
MariaDB> FLUSH PRIVILEGES;
Clone the Yeti-Switch repository from the Github using wget command:
wget https://github.com/yeti-switch/yeti-switch/archive/master.zip
Extract the downloaded archive using this command:
unzip master.zip
Navigate to the extracted directory with the command:
cd yeti-switch-master
Then install Yeti-Switch with the command:
make
This command will install Yeti-Switch on your system.
Navigate to the Yeti-Switch configuration directory with the command:
cd conf/yeti
Copy the sample config using this command:
cp database.yml.sample database.yml
Change the configuration in the database.yml by updating the MariaDB credentials:
production:
adapter: mysql2
host: localhost
username: yeti
password: password
database: yeti
pool: 5
Start Yeti-Switch using the command:
./sbin/yeti start
You can also stop and restart Yeti-Switch using the commands:
./sbin/yeti stop
./sbin/yeti restart
Congratulations! You have successfully installed and configured Yeti-Switch on Debian Latest. You can now start using Yeti-Switch to manage your VoIP networks.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!