Yeti-Switch is an open-source software developed for VoIP carriers and companies that provide VoIP services. In this tutorial, we will guide you on how to install Yeti-Switch on Fedora Server Latest.
Before installing Yeti-Switch, make sure the following prerequisites are met:
Make sure that your system is up-to-date by running the following command:
sudo dnf update -y
Before installing Yeti-Switch, we need to install its dependencies. Run the following command to install them:
sudo dnf install -y git gcc make libxml2-devel libxslt-devel libpcap-devel libssl-devel pcre-devel zlib-devel readline-devel rpm-build lua-devel
Yeti-Switch requires a PostgreSQL database server to store its data. To install PostgreSQL, run the following command:
sudo dnf install -y postgresql-server
Initialize the database:
sudo postgresql-setup initdb
Start the PostgreSQL server and enable it to start at boot:
sudo systemctl start postgresql
sudo systemctl enable postgresql
Clone Yeti-Switch repository from GitHub:
sudo git clone https://github.com/yeti-switch/yeti-switch.git /usr/local/yeti-switch
Change to the cloned directory:
cd /usr/local/yeti-switch
Build Yeti-Switch by running the following command:
sudo make build
This process might take some time, and it will compile and build all the necessary components.
After successfully building Yeti-Switch, run the following command to install it:
sudo make install
Create a directory for Yeti-Switch logs:
sudo mkdir /var/log/yeti
Set the proper permission:
sudo chown -R yeti:yeti /var/log/yeti
Create a configuration file:
sudo cp /usr/local/yeti-switch/config/config-sample.yml /usr/local/etc/yeti/config.yml
Edit the configuration file with your favorite text editor:
sudo nano /usr/local/etc/yeti/config.yml
Replace the database username and password with your preferred ones:
database: &database
adapter: postgresql
encoding: unicode
database: yeti
pool: 5
host: localhost
port: 5432
username: myusername
password: mypassword
Save and exit the file.
Run the following command to create the Yeti-Switch database:
sudo /usr/local/bin/yeti-switch --create --environment production
Start the Yeti-Switch service:
sudo systemctl start yeti-switch
sudo systemctl enable yeti-switch
Congratulations! You have successfully installed Yeti-Switch on Fedora Server Latest. You can now access Yeti-Switch web interface by opening your web browser and typing your sever's IP address or domain name followed by ":3000."
Example: http://your_server_IP:3000
You can also find the Yeti-Switch log file, which located in /var/log/yeti/yeti.log.
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!