How to Install Froxlor on AnonVM

How to Install Froxlor on AnonVM

Froxlor is a lightweight, user-friendly server control panel ideal for managing web hosting services. Its interface simplifies server management, making it easier to handle domains, FTP, email, and databases without the need for complex configurations. This guide walks you through the installation process for Froxlor on Ubuntu and Debian systems.

Prerequisites

Before installing Froxlor, make sure your server meets these requirements:

  • Root or Sudo access on your AnonVM server.
  • A fresh installation of Ubuntu 20.04+ or Debian 10+.
  • LAMP stack installed (Linux, Apache, MySQL/MariaDB, PHP).
  • A domain name or public IP address for accessing the control panel.

Step 1: Update Your System

Before beginning, update your system’s package list and upgrade any existing packages:

 
sudo apt update && sudo apt upgrade -y

Step 2: Install the LAMP Stack

Froxlor requires a LAMP stack, which includes Apache, MySQL/MariaDB, and PHP.

1. Install Apache

 
sudo apt install apache2 -y

2. Install MySQL (or MariaDB)

 
sudo apt install mysql-server -y

Secure the MySQL installation by setting up a root password and removing unnecessary test databases:

 
sudo mysql_secure_installation

3. Install PHP and Required Extensions

Froxlor requires PHP 7.4 or higher. Install PHP along with required extensions:

 
sudo apt install php php-mysql php-curl php-json php-gd php-zip php-mbstring php-xml -y

Step 3: Download and Install Froxlor

  1. Add the Froxlor Repository:

    Import the GPG key and add the Froxlor repository:

     
    wget -O - https://deb.froxlor.org/froxlor.gpg | sudo apt-key add - echo "deb https://deb.froxlor.org/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/froxlor.list
  2. Install Froxlor:

    Update your package list and install Froxlor:

     
    sudo apt update sudo apt install froxlor -y
  3. Configure Apache for Froxlor:

    Froxlor will automatically set up necessary Apache configurations. If it doesn’t, create a virtual host for Froxlor manually by adding a new configuration file in the Apache sites-available directory.

     
    sudo nano /etc/apache2/sites-available/froxlor.conf

    Add the following configuration:

    apache
     
    <VirtualHost *:80> ServerName your_domain_or_ip DocumentRoot /var/www/froxlor <Directory /var/www/froxlor> AllowOverride All Require all granted </Directory> </VirtualHost>
  4. Enable Apache Modules and Restart Apache:

    Enable necessary Apache modules and restart Apache:

     
    sudo a2enmod rewrite sudo systemctl restart apache2

Step 4: Set Up Froxlor via Web Interface

  1. Access the Froxlor Setup Page:

    Open a browser and navigate to:

    arduino
     
    http://your_domain_or_ip/froxlor

    You’ll be taken to the Froxlor installation setup page.

  2. Configure Database:

    • In the setup, you’ll be prompted to enter database credentials.
    • Use root as the username or create a new database user with full privileges for security.
    • Enter the database name and user credentials, and continue with the installation steps.
  3. Create Froxlor Admin Account:

    During setup, you’ll also create an admin account to access the Froxlor control panel.

  4. Complete Setup:

    Once you fill in the necessary details, complete the setup process. Froxlor will finish installing the required database tables and finalize the configuration.

Step 5: Log In to Froxlor Control Panel

After completing the installation, you can log in to Froxlor:

  1. Visit the Froxlor URL:

    plaintext
     
    http://your_domain_or_ip/froxlor
  2. Log in with the admin credentials you created.

  3. Configure Server Settings:

    Once logged in, you can start configuring your server, including setting up:

    • Web hosting domains.
    • FTP accounts.
    • Email configurations.
    • Database management.
    • Security settings.

Step 6: Secure Froxlor

To secure your Froxlor installation:

  1. Enable HTTPS:

    Use Let’s Encrypt to install a free SSL certificate for your Froxlor installation:

     
    sudo apt install certbot python3-certbot-apache -y sudo certbot --apache -d your_domain_or_ip
  2. Restrict Access to Admin Panel:

    Configure Froxlor to allow only specific IP addresses (such as your own) to access the admin panel. You can modify the Apache configuration file for Froxlor and set rules to restrict access.

  3. Firewall Configuration:

    Use ufw (for Ubuntu) to secure open ports and allow only necessary ones (such as 80 and 443):

     
    sudo ufw allow OpenSSH sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo ufw enable
  4. Regular Updates:

    Keep Froxlor and all system packages updated to prevent security vulnerabilities.

Step 7: Using Froxlor Features

Once Froxlor is installed, here are some ways you can use its features:

  1. Manage Domains:

    • Set up and manage domain hosting and virtual hosts for websites.
  2. FTP Management:

    • Create and manage FTP accounts for web file uploads.
  3. Email Accounts:

    • Set up and manage email accounts associated with your hosted domains.
  4. Database Management:

    • Easily create and manage MySQL or MariaDB databases through the control panel.
  5. Resource Management:

    • Monitor server resources and view reports on CPU, memory, and storage usage.
  6. Automated Backups:

    • Set up automatic backups for websites, emails, and databases.

Conclusion

You have successfully installed Froxlor on your AnonVM server. Froxlor simplifies server management by providing an easy-to-use interface for handling web hosting, domains, email, and more. With the steps above, you can set up and secure your server for a smooth hosting experience.

Quick Recap:

  • Froxlor Installation: Downloaded and installed via repository on Ubuntu/Debian.
  • Initial Configuration: Set up through the web installer.
  • Secure Froxlor: HTTPS, firewall settings, and regular updates.
  • Utilize Froxlor Features: Manage domains, FTP, email, databases, and resource monitoring.

With Froxlor, managing your AnonVM server becomes efficient and user-friendly, allowing you to focus more on growing your web hosting business without worrying about complex server tasks.

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution