ASTPP is an open-source VoIP billing system that simplifies billing and operational procedures for VoIP providers. This tutorial details the steps required to install ASTPP on the latest version of OpenSUSE.
Before installing ASTPP, update your system to ensure that all packages are up-to-date. To update the system, execute the following command in the terminal:
sudo zypper update
With the updated system, the next step is to install the dependencies required for ASTPP installation. Some of the packages to install are listed below:
To install these dependencies, execute the following command:
sudo zypper install apache2 mariadb mariadb-client mariadb-tools php php-mysqlnd php-pdo php-gd php-xml php-mbstring composer
Once the installation is complete, start the Apache and MariaDB services, and enable them to run automatically on system boot:
sudo systemctl start apache2
sudo systemctl enable apache2
sudo systemctl start mariadb
sudo systemctl enable mariadb
To download the latest stable release of ASTPP from their official website, execute the below command:
wget -O astpp.tar.gz https://github.com/ASTPP/ASTPP/releases/download/v3.7.3/astpp.tar.gz
Unzip the downloaded package and move it to the web directory:
tar -xzf astpp.tar.gz
sudo mv ASTPP /srv/www/htdocs/
Navigate to the ASTPP directory and install its dependencies using Composer:
cd /srv/www/htdocs/ASTPP
sudo composer install --no-dev
Create a new database for ASTPP, and a user account with full privileges to the database:
sudo mysql -u root
CREATE DATABASE astpp;
CREATE USER 'astpp'@'localhost' IDENTIFIED BY 'astpp@123';
GRANT ALL PRIVILEGES ON astpp.* TO 'astpp'@'localhost' IDENTIFIED BY 'astpp@123';
FLUSH PRIVILEGES;
EXIT;
Use the following command to import the SQL script to create ASTPP tables and filled demo data:
sudo mysql -u root astpp < /srv/www/htdocs/ASTPP/install/sql/astpp.sql
The final step is to configure ASTPP. Edit the ASTPP configuration file to meet the required configuration by executing:
sudo nano /srv/www/htdocs/ASTPP/configs/global.inc.php
Search for the following section in the file, uncomment and set the corresponding values:
/*configure database*/
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'astpp');
define('DB_PASSWORD', 'astpp@123');
define('DB_NAME', 'astpp');
Save and exit the file by pressing Ctrl + x, then Y.
With the configuration complete, you can now go ahead and access ASTPP using your web browser. Access http://<your_server's_IP_address>/ASTPP/public
and use the default login details below:
Username: admin@admin.com
Password: admin
After logging in, the system will prompt you to change your password for security purposes.
In conclusion, you have successfully installed ASTPP billing system on OpenSUSE. You can now configure the application and start using it for VoIP billing.
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!