### Install Shinken and WebUI2 Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDRBRtJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCCvzW_ffda93_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTE4LTA0BjsIVDoJcmFua2kJ--03c686e039e194a01d8b58ff8c9c67ba7a551206 Commands to switch to the shinken user, initialize shinken configuration, and install the webui2 module. This is the initial setup for the Shinken server. ```bash # su - shinken shinken --init shinken install webui2 ``` -------------------------------- ### Checkout Shinken Version and Install Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDRBRtJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCCvzW_ffda93_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTE4LTA0BjsIVDoJcmFua2kJ--03c686e039e194a01d8b58ff8c9c67ba7a551206 Navigates into the downloaded Shinken directory, checks out a specific version (e.g., 2.4.3), and then installs Shinken using its setup script. This ensures a stable and tested version is installed and makes the Shinken executable available system-wide. ```bash # cd shinken # git checkout 2.4.3 # python setup.py install ``` -------------------------------- ### Install Shinken Server from Source (Bash) Source: https://help.clouding.io/hc/en-us/articles/360010105140-How-to-Setup-Shinken-Monitoring-Tool-on-Ubuntu-18-04 Compiles and installs the Shinken server using the downloaded source code. This command executes the setup script and integrates Shinken into the system. ```bash # python setup.py install ``` -------------------------------- ### Download and Execute Webmin Repository Setup Script Source: https://help.clouding.io/hc/en-us/articles/13441168879388-How-to-install-Webmin-on-Linux This command downloads the official Webmin repository setup script from GitHub, makes it executable, and then runs it. This script configures your system to use the Webmin repositories for installation. ```bash # cd /tmp && curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh && chmod 700 setup-repos.sh && sh setup-repos.sh ``` -------------------------------- ### Install Apache Web Server on Ubuntu Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBJFQowBBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCPBgT_7f74c1_NoLUNhY2hlLW9uLVVidW50dS0yMC0wNAY7CFQ6CXJhbmtpCg%3D%3D--0c37381a68b16e3a288561acef2f63845468c38c Installs the Apache web server package from the Ubuntu repository. It then starts the Apache service and enables it to launch automatically on system boot. ```bash # apt-get install apache2 -y # systemctl start apache2 # systemctl enable apache2 ``` -------------------------------- ### Start Seafile and Seahub Services Source: https://help.clouding.io/hc/en-us/articles/360011487719-How-to-Install-and-Set-Up-Seafile-on-Ubuntu-18-04 These commands initiate the Seafile and Seahub services. The first command starts the main Seafile server process, while the second starts the Seahub web interface. Both are executed under the 'www-data' user to ensure correct permissions and environment setup. These are preliminary steps before creating the admin user. ```shell # su -p -l www-data -s /bin/bash -c "./seafile.sh start" # su -p -l www-data -s /bin/bash -c "./seahub.sh start" ``` -------------------------------- ### Install and Manage Squid Service on Debian Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCAiuzdJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCDNy7_b7d3da_VydmVyLXdpdGgtU3F1aWQtb24tRGViaWFuLTEwBjsIVDoJcmFua2kK--bb911f57cce4d3cd4fddf1c9ff8cfe4df52ff7cf Installs the Squid proxy server package using apt-get, then starts and enables the service to run on system boot. It also shows how to check the service's status. ```bash #!/bin/bash # Install Squid apt-get install squid -y # Start and enable Squid service systemctl start squid systemctl enable squid # Verify Squid service status systemctl status squid ``` -------------------------------- ### Install PostgreSQL Server on Ubuntu Source: https://help.clouding.io/hc/en-us/articles/360016532280-How-to-Install-PostgreSQL-and-phpPgAdmin-on-Ubuntu-20-04 Installs the PostgreSQL database server from the default Ubuntu repositories. After installation, the service is started and enabled to automatically start on system boot. ```bash apt-get install postgresql -y systemctl start postgresql systemctl enable postgresql ``` -------------------------------- ### Dockerfile Example Source: https://help.clouding.io/hc/en-us/articles/360010283060 A sample Dockerfile used to create a custom Ubuntu image with Apache and Wget installed, exposing port 80 and starting the Apache service. This file is used with the `docker build` command. ```dockerfile FROM ubuntu MAINTAINER cloudingtutos ENV HOME /root RUN apt-get update RUN apt-get install -y apache2 wget EXPOSE 80 CMD service apache2 start ``` -------------------------------- ### Install and Prepare Gitea on Ubuntu Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCFPzWtJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCPsGT_161039_aXQtU2VydmljZS1vbi1VYnVudHUtMTgtMDQGOwhUOglyYW5raQo%3D--fa83c9942c9cd1d68ae60dd37abf4d35ef5d21c8 Downloads the Gitea binary, moves it to the execution path, creates a dedicated system user for Gitea, and sets up the necessary directory structure with appropriate permissions. This prepares the server environment for running Gitea. ```bash # wget https://github.com/go-gitea/gitea/releases/download/v1.9.0/gitea-1.9.0-linux-amd64 # cp gitea-1.9.0-linux-amd64 /usr/local/bin/gitea # adduser --system --shell /bin/bash --group --disabled-password --home /home/gitea gitea # mkdir -p /etc/gitea /var/lib/gitea/{custom,data,indexers,public,log} # chown gitea:gitea /etc/gitea /var/lib/gitea/{custom,data,indexers,public,log} # chmod 750 /var/lib/gitea/{data,indexers,log} # chmod 770 /etc/gitea ``` -------------------------------- ### Install Varnish Cache on Ubuntu Source: https://help.clouding.io/hc/en-us/articles/4404694631698-How-to-Configure-Apache-with-Varnish-Cache-on-Ubuntu-20-04 Installs the Varnish package from the Ubuntu repository and enables it to start automatically on system boot. It also starts the Varnish service. ```bash # apt-get install varnish -y # systemctl start varnish # systemctl enable varnish ``` -------------------------------- ### Install Varnish on Ubuntu Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBJFQowBBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCPBgT_7f74c1_NoLUNhY2hlLW9uLVVidW50dS0yMC0wNAY7CFQ6CXJhbmtpCg%3D%3D--0c37381a68b16e3a288561acef2f63845468c38c Installs the Varnish package from the Ubuntu repository. After installation, it starts the Varnish service and configures it to start automatically upon system reboot. Varnish typically listens on ports 6081 and 6082 by default. ```bash # apt-get install varnish -y # systemctl start varnish # systemctl enable varnish # ss -antpl | grep varnish ``` -------------------------------- ### Install and Use iperf3 on Windows Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJx1zDkbBzoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCDT4S_df6516_VzZS1pcGVyZjMtdG8tY2hlY2stYmFuZHdpZHRoBjsIVDoJcmFua2kI--012ed8170205d9738154021d73c566961992a611 Provides instructions for installing and running iperf3 on Windows. This involves downloading the executable, navigating to its directory via CMD, and then executing server and client commands. ```bash # cd Downloads # On the server: iperf3.exe -s -p 9220 # On the client: iperf3.exe -c IP -p 9220 ``` -------------------------------- ### Install Apache Web Server on Ubuntu Source: https://help.clouding.io/hc/en-us/articles/4404694631698-How-to-Configure-Apache-with-Varnish-Cache-on-Ubuntu-20-04 Installs the Apache web server package from the Ubuntu repository and enables it to start automatically on system boot. It also starts the Apache service. ```bash # apt-get install apache2 -y # systemctl start apache2 # systemctl enable apache2 ``` -------------------------------- ### LinuxGSM Installation and Project Zomboid Server Setup Source: https://help.clouding.io/hc/en-us/articles/10469039218716-How-to-Create-a-Project-Zomboid-Server-on-Linux Creates a dedicated user, downloads and executes the LinuxGSM script, and installs the Project Zomboid server. This process streamlines server setup on Linux. ```shell # adduser pzserver # su - pzserver # wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh pzserver # ./pzserver install ``` -------------------------------- ### Download and Execute Webmin Repository Setup Script Source: https://help.clouding.io/hc/en-us/articles/13441168879388 This script downloads and executes the official Webmin repository setup script. It changes the directory to /tmp, fetches the script using curl, makes it executable, and then runs it. This prepares the system to install Webmin from its official source. No specific input is required, and the output is the script's execution status. ```bash #!/bin/bash cd /tmp && curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh && chmod 700 setup-repos.sh && sh setup-repos.sh ``` -------------------------------- ### Install Laravel Dependencies with Docker Composer (Output Example) Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCL8GT9JTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCJy9k_3d4347_wtd2l0aC1Eb2NrZXItb24tVWJ1bnR1LTE4LTA0BjsIVDoJcmFua2kG--b088612a29bc5d716106f90501779074aab75c04 Example output showing the successful installation of Laravel dependencies using Composer within a Docker container. It lists the discovered packages and confirms manifest generation. ```text Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: facade/ignition Discovered Package: fideloper/proxy Discovered Package: laravel/tinker Discovered Package: nesbot/carbon Discovered Package: nunomaduro/collision Package manifest generated successfully. ``` -------------------------------- ### Install Docker on Debian/Ubuntu/CentOS Source: https://help.clouding.io/hc/en-us/articles/360010391319 Downloads and executes the official Docker installation script. This command automatically detects the distribution and installs the appropriate Docker version, then starts the Docker service. ```bash # wget -qO- https://get.docker.com/ | sh ``` -------------------------------- ### Install MariaDB Server on RHEL-based Distributions (CentOS, Fedora) Source: https://help.clouding.io/hc/en-us/articles/360010212219-How-to-Install-on-Linux-NGINX-MariaDB-and-PHP-LEMP Installs the MariaDB server and client packages on RHEL-based distributions. It then enables and starts the MariaDB service and runs the secure installation script. ```bash # yum install mariadb-server mariadb # systemctl start mariadb.service # systemctl enable mariadb.service # mysql_secure_installation ``` -------------------------------- ### Create and Run a Simple Flask Application Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCK%2BR8dJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCHj_f54272_LWEtUHl0aG9uLUFwcC1vbi1EZWJpYW4tMTAGOwhUOglyYW5raQc%3D--f8e20095dfcad757058c91fc07ca6c23ac0fac62 Demonstrates the creation of a basic Flask application. It involves setting up a project directory, creating a Python virtual environment, installing Flask and Gunicorn, writing a simple 'Hello World' Flask app, and running it using the Flask development server. ```bash # mkdir ~/flaskapp # cd ~/flaskapp # python3 -m venv venv # source venv/bin/activate # pip install wheel # pip install gunicorn flask ``` ```python from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "

Welcome to Python Application!

" if __name__ == "__main": app.run(host='0.0.0.0') ``` ```bash # cd ~/flaskapp/ # python3 flaskapp.py ``` -------------------------------- ### Clone and Set Up NodeJS Project in HestiaCP Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCMhcr9JTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCNzcp_fb1b9e_8tdXNlLU5vZGVKUy1pbi1IZXN0aWFDUAY7CFQ6CXJhbmtpBw%3D%3D--d590f04c3cb1ff170daab1aed9cef72066a1bfdf These commands clone a sample NodeJS project, move its contents to the application directory, set ownership and permissions, and install dependencies. Ensure you have Node.js and npm installed. ```bash git clone https://github.com/contentful/the-example-app.nodejs.git /tmp/the-example-app.nodejs mv -f /tmp/the-example-app.nodejs/* /home/admin/web/domain_name/nodeapp chown -R admin.admin /home/admin/web/domain_name/nodeapp find /home/admin/web/domain_name/nodeapp -type f -exec chmod 644 {} ";" find /home/admin/web/domain_name/nodeapp -type d -exec chmod 755 {} ";" cd /home/admin/web/domain_name/nodeapp npm install npm run start:dev ``` -------------------------------- ### Verify Node.js and npm Installation Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBKVg0QCBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCNf2U_a2ea5c_RoLU5naW54LW9uLVVidW50dS0yMC0wNAY7CFQ6CXJhbmtpBg%3D%3D--e378b48e5f3a5c0d6f848ec238b648b9a6152cf8 Checks the installed versions of Node.js and npm to ensure they were installed correctly. This is useful for confirming the setup before proceeding with application development. ```shell # node --version && npm --version ``` -------------------------------- ### Manage Sensu Backend Service Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDNy7NJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCIiNR_528ff3_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTIwLTA0BjsIVDoJcmFua2kG--c0de093bd0f811bedf193291d635c4713f0a2897 Starts the Sensu backend service and configures it to automatically start on system boot. The `systemctl status` command is then used to verify that the service is running correctly. ```bash # systemctl start sensu-backend # systemctl enable sensu-backend # systemctl status sensu-backend ``` -------------------------------- ### Install MicroK8s on Ubuntu Source: https://help.clouding.io/hc/en-us/articles/360019716579-How-to-set-up-a-Kubernetes-cluster-on-Ubuntu-20-04 Installs MicroK8s, a lightweight Kubernetes distribution, using the snap package manager. After installation, this command checks the status of MicroK8s and waits until it is ready to ensure proper setup. ```bash # snap install microk8s --classic # microk8s.status --wait-ready ``` -------------------------------- ### Install MariaDB Database Server on CentOS/RHEL Source: https://help.clouding.io/hc/en-us/articles/360010108220-How-to-install-on-Linux-Apache-MariaDB-and-PHP-LAMP Installs the MariaDB server and client packages on CentOS and RHEL systems. It includes commands to start and enable the service, check its status, and initiate the secure installation process. ```shell # yum install mariadb-server mariadb && systemctl start mariadb.service && systemctl enable mariadb.service # systemctl status mariadb # /usr/bin/mysql_secure_installation ``` -------------------------------- ### Install and Use iperf3 on Windows Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJx1zDkbBzoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCBKVg_86f381_VzZS1pcGVyZjMtdG8tY2hlY2stYmFuZHdpZHRoBjsIVDoJcmFua2kK--b0e250a3a12222aa959d43a93b3f19b5fe0897d0 This guide explains how to use iperf3 on Windows by downloading and unzipping the executable. It provides instructions for navigating to the file directory in CMD and running iperf3 as a server and a client for bandwidth testing. ```bash # cd Downloads # Server command: # iperf3.exe -s -p 9220 # Client command: # iperf3.exe -c IP -p 9220 ``` -------------------------------- ### Run FreePBX Installation Script Source: https://help.clouding.io/hc/en-us/articles/19074428251548-How-to-install-FreePBX-17-on-Ubuntu-24-04-LTS Navigates into the extracted FreePBX directory and executes the non-interactive installation script. This command initiates the FreePBX setup process. ```bash # cd freepbx # ./install -n ``` -------------------------------- ### Django Project Setup and Management Commands Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBxFwyqzDDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCBw6F_c8d8c4_d1bmljb3JuLW9uLVVidW50dS0yNC0wNAY7CFQ6CXJhbmtpCA%3D%3D--6c1955f9b22642f6bb82680ee52c720fac317b1d Execute essential Django management commands to set up the project. This includes migrating the database schema, creating an administrator user, and collecting static files. Ensure you are within your virtual environment before running these commands. ```bash (venv)user@host:~/myproject$ ./manage.py makemigrations (venv)user@host:~/myproject$ ./manage.py migrate (venv)user@host:~/myproject$ ./manage.py createsuperuser (venv)user@host:~/myproject$ ./manage.py collectstatic ``` -------------------------------- ### Install MongoDB Server on Ubuntu 20.04 Source: https://help.clouding.io/hc/en-us/articles/4403394471058-How-to-Deploy-Multi-Node-MongoDB-Cluster-on-Ubuntu-20-04 Installs the MongoDB server package on all nodes of the cluster. It includes installing necessary dependencies, adding the MongoDB repository, updating the package list, and finally installing the mongodb-org package. The MongoDB service is then started and enabled to run on boot. ```bash # apt install apt-transport-https software-properties-common gnupg2 dirmngr -y # wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - add-apt-repository 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse' # apt update -y # apt install mongodb-org -y # systemctl start mongod # systemctl enable mongod ``` -------------------------------- ### Initialize Sensu Backend with Interactive Setup Source: https://help.clouding.io/hc/en-us/articles/360020996659-How-to-install-Sensu-Go-Monitoring-Tool-on-Ubuntu-20-04 This command initializes the Sensu backend interactively, prompting the user for cluster admin username and password. It logs backend initialization and database migration information. ```bash # sensu-backend init --interactive You will be asked to provide **Sensu admin username and password** as shown below: ``` ? Cluster Admin Username: sensuadmin ? Cluster Admin Password: ************* ? Retype Cluster Admin Password: ************* {"component":"backend.seeds","level":"info","msg":"seeding etcd store with intial data","time":"2021-04-07T15:14:24Z"} {"component":"store","level":"warning","msg":"migrating etcd database to a new version","time":"2021-04-07T15:14:24Z"} {"component":"store","database_version":1,"level":"info","msg":"successfully upgraded database","time":"2021-04-07T15:14:24Z"} {"component":"store","database_version":2,"level":"info","msg":"successfully upgraded database","time":"2021-04-07T15:14:24Z"} ``` ``` -------------------------------- ### Install Dependencies for EtherCalc on Debian Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJJzKvEABDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCLOTU_7a0258_wtRXRoZXJDYWxjLW9uLURlYmlhbi0xMAY7CFQ6CXJhbmtpBg%3D%3D--7ca35dfa604f24307e122c7f68c3c0b5bd6ab332 Installs essential packages required for EtherCalc and Nginx, including redis, curl, gnupg2, git, and wget. After installation, it starts the Redis and Nginx services. ```bash # apt-get install nginx redis curl gnupg2 git wget -y # systemctl start redis-server # systemctl start nginx ``` -------------------------------- ### Manage Sensu Backend Service (Bash) Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDNy7NJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCDRBR_6858ad_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTIwLTA0BjsIVDoJcmFua2kI--858673d692bd6892c125e4ce159a4451fe66742b Starts the Sensu backend service and configures it to automatically start on system boot. This ensures Sensu Go is running and persistent across reboots. ```bash # systemctl start sensu-backend # systemctl enable sensu-backend ``` -------------------------------- ### Install NGINX on RHEL-based Distributions (CentOS, Fedora) Source: https://help.clouding.io/hc/en-us/articles/360010212219-How-to-Install-on-Linux-NGINX-MariaDB-and-PHP-LEMP Installs the NGINX web server on RHEL-based distributions like CentOS and Fedora. It first installs the EPEL repository, then NGINX, and finally enables and starts the NGINX service. ```bash # yum install epel-release # yum install nginx # systemctl start nginx.service # systemctl enable nginx.service ``` -------------------------------- ### Initialize Sensu Backend with Interactive Prompts Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDNy7NJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCIiNR_528ff3_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTIwLTA0BjsIVDoJcmFua2kG--c0de093bd0f811bedf193291d635c4713f0a2897 This snippet shows the interactive prompts for initializing the Sensu backend, requiring the admin username and password. It also includes example log output indicating the seeding of the etcd store and database migration. ```bash # sensu-backend init --interactive You will be asked to provide **Sensu admin username and password** as shown below: ``` ? Cluster Admin Username: sensuadmin ? Cluster Admin Password: ************* ? Retype Cluster Admin Password: ************* ``` ```json {"component":"backend.seeds","level":"info","msg":"seeding etcd store with intial data","time":"2021-04-07T15:14:24Z"} {"component":"store","level":"warning","msg":"migrating etcd database to a new version","time":"2021-04-07T15:14:24Z"} {"component":"store","database_version":1,"level":"info","msg":"successfully upgraded database","time":"2021-04-07T15:14:24Z"} {"component":"store","database_version":2,"level":"info","msg":"successfully upgraded database","time":"2021-04-07T15:14:24Z"} ``` ``` -------------------------------- ### Install MongoDB Server on Ubuntu 20.04 Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJJkwz4BBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCJLYm_3166d7_REItQ2x1c3Rlci1vbi1VYnVudHUtMjAtMDQGOwhUOglyYW5raQc%3D--63cf44c4ee3d2d9bdb720d3c91fa0aaa9b55ffa4 Installs the MongoDB server package on all nodes of the cluster. It includes installing necessary dependencies, adding the MongoDB repository, updating package lists, and installing the mongodb-org package. Finally, it starts and enables the MongoDB service. ```shell # apt install apt-transport-https software-properties-common gnupg2 dirmngr -y # wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - add-apt-repository 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse' # apt update -y # apt install mongodb-org -y # systemctl start mongod # systemctl enable mongod ``` -------------------------------- ### Sentry Installation and Configuration (Bash) Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJyGAJFDDDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCJy%2_dcbc64_1TZXR1cC1TZW50cnktb24tVWJ1bnR1LTIyLTA0BjsIVDoJcmFua2kG--d6d436a7de9000bbcc401c05f206e5b1e927043f Sets up a Sentry user, clones the Sentry self-hosted repository, checks out a specific version, and runs the installation script. It then prompts for user creation and requires modifying the Sentry configuration file. Finally, it brings up the Docker containers for Sentry. Ensure you replace sentry.example.com with your actual domain. ```bash # adduser sentry && usermod -aG sudo sentry # su - sentry # VERSION="24.3.0" && git clone https://github.com/getsentry/self-hosted.git && cd self-hosted && git checkout ${VERSION} # sudo ./install.sh # nano sentry/sentry.conf.py # CSRF_TRUSTED_ORIGINS = ["https://sentry.example.com", "http://127.0.0.1:9000"] # sudo docker compose up -d && exit ``` -------------------------------- ### Download and Install imapsync from GitHub Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBI1jIQCBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCCvKU_8e912b_5kLXVzZS1pbWFwc3luYy1EZWJpYW4tVWJ1bnR1BjsIVDoJcmFua2kJ--f363bf75bf5d9ed54b1d39679fe46eeecd83e733 Clones the imapsync repository from GitHub into the /opt directory and then navigates into the cloned directory to install the application using 'make install'. Finally, it copies the executable to the system's binary directory. ```bash # cd /opt && git clone https://github.com/imapsync/imapsync.git # cd imapsync && make install # cp imapsync /usr/bin/imapsync ``` -------------------------------- ### Start Project Zomboid Server with LinuxGSM Source: https://help.clouding.io/hc/en-us/articles/10469039218716-How-to-Create-a-Project-Zomboid-Server-on-Linux Starts the Project Zomboid dedicated server after installation using the LinuxGSM script. Ensure firewall ports are open. ```shell # ./pzserver start ``` -------------------------------- ### Install MongoDB Server on Ubuntu 20.04 Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCBI9YtwBBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCDxNR_0b8f3a_Y2F0aW9uLW9uLVVidW50dS0yMC0wNC1MVFMGOwhUOglyYW5raQo%3D--228a13425c30fd99e2f43d1adadb71152e552498 Installs MongoDB by adding the official MongoDB repository. Requires adding the GPG key and repository definition. Starts and enables the MongoDB service. Verifies the installation. ```shell wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - echo 'deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse' | tee -a /etc/apt/sources.list apt-get update -y && apt-get install mongodb-org -y systemctl start mongod && systemctl enable mongodmongo --version ``` -------------------------------- ### Install and Use iperf3 on Windows Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJx1zDkbBzoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCJJkw_1e43bf_VzZS1pcGVyZjMtdG8tY2hlY2stYmFuZHdpZHRoBjsIVDoJcmFua2kH--b400a072966371b3bb1d124137d6e1bb094af5dd This snippet explains how to set up and use iperf3 on a Windows operating system. After downloading and unzipping the iperf3 executable, you can run it from a Command Prompt. The guide provides the commands to navigate to the directory and execute iperf3 in both server and client modes, essential for bandwidth testing. ```shell # cd Downloads # Run on server: # iperf3.exe -s -p 9220 # Run on client: # iperf3.exe -c IP -p 9220 ``` -------------------------------- ### Install and Manage Memcached on CentOS 7 Source: https://help.clouding.io/hc/en-us/articles/360010466020--How-to-Install-and-Configure-Memcached-on-CentOS-7 Commands to install Memcached from the CentOS 7 repository, start the service, enable it to run on boot, and check its status. Memcached is installed using `yum` and managed using `systemctl`. ```bash # yum install memcached -y # systemctl start memcached # systemctl enable memcached # systemctl status memcached ``` -------------------------------- ### Download and Install Asterisk Core (Bash) Source: https://help.clouding.io/hc/en-us/articles/19074428251548-How-to-install-FreePBX-17-on-Ubuntu-24-04-LTS Downloads the Asterisk 22 current version, extracts it, and installs necessary prerequisites using provided scripts. This step prepares Asterisk for configuration. ```bash # wget https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22-current.tar.gz # tar zxf asterisk-22-current.tar.gz # cd asterisk-22.* # contrib/scripts/get_mp3_source.sh # contrib/scripts/install_prereq install ``` -------------------------------- ### Download and Configure Sensu Go Backend Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCDNy7NJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCIiNR_528ff3_5pdG9yaW5nLVRvb2wtb24tVWJ1bnR1LTIwLTA0BjsIVDoJcmFua2kG--c0de093bd0f811bedf193291d635c4713f0a2897 Downloads the Sensu Go backend configuration file from the official documentation URL and moves it to the '/etc/sensu/' directory. This file contains essential settings for the Sensu backend service. ```bash # curl -L https://docs.sensu.io./sensu-go/latest/files/backend.yml -o backend.yml # mv backend.yml /etc/sensu/backend.yml ``` -------------------------------- ### Install Ubuntu Packages for Django Setup Source: https://help.clouding.io/hc/en-us/articles/13963656119580-How-to-configure-Django-with-Postgres-Nginx-and-Gunicorn-on-Ubuntu-24-04 Installs essential packages required for Django development and deployment on Ubuntu, including Python pip, development files, PostgreSQL, and Nginx. This command updates the package index and then downloads and installs the specified packages. ```shell sudo apt update sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx -y ``` -------------------------------- ### Create a Sample Node.js Application Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJLrkRcBBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCBKVg_97ef54_TTItdG8tTWFuYWdlLWEtTm9kZS1qcy1hcHAGOwhUOglyYW5raQY%3D--29182b3dd36891f135961203820df1abd128bd75 This section covers creating a directory for your Node.js application and then creating a simple 'hello.js' file with basic HTTP server code. This sample app will be used to demonstrate PM2 management. ```bash # mkdir myapp # nano myapp/hello.js ``` ```javascript const http = require('http'); const hostname = 'your-server-ip'; const port = 8000; const server = http.createServer((req, res) => { res.statusCode = 200; res.setHeader('Content-Type', 'text/plain'); res.end('This is My First Nodejs App!\n'); }); server.listen(port, hostname, () => { console.log(`Server running at http://${hostname}:${port}/`); }); ``` -------------------------------- ### POST /v1/servers Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJwajr8GBzoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCJx1z_d908c7_cnZlci13aXRoLXRoZS1DbG91ZGluZy1BUEkGOwhUOglyYW5raQo%3D--4ba3f5d4db2abdc012e515985b04e6c66f62c7b1 Creates a new server instance with specified configurations. This includes details like server name, hostname, flavor, firewall, access configuration, and volume. ```APIDOC ## POST /v1/servers ### Description Creates a new server instance with specified configurations. This includes details like server name, hostname, flavor, firewall, access configuration, and volume. ### Method POST ### Endpoint https://api.clouding.io/v1/servers ### Parameters #### Request Body - **name** (string) - Required - The name of the server. - **hostname** (string) - Required - The hostname for the server. - **flavorId** (string) - Required - The ID of the flavor (e.g., '2x4' for 2vcores and 4GB RAM). - **firewallId** (string) - Required - The ID of the firewall to attach to the server. - **accessConfiguration** (object) - Required - Configuration for accessing the server. - **password** (string) - Optional - The password for the server. Must be empty or null if QEMU-AGENT is not present. - **savePassword** (boolean) - Required - Whether to save the password in the panel. - **sshKeyId** (string) - Required - The ID of the SSH key to use for access. - **volume** (object) - Required - Configuration for the server's disk. - **source** (string) - Required - The source of the volume (e.g., 'Image', 'Backup', 'Snapshot', 'Server'). - **id** (string) - Required - The ID of the source volume or image. - **ssdGb** (integer) - Required - The size of the disk in GB. ### Request Example ```json { "name": "Nombre Servidor", "hostname": "server.hostname.com", "flavorId": "2x4", "firewallId": "$FIREWALLID", "accessConfiguration": { "password": "contraseƱa", "savePassword": true, "sshKeyId": "$SSHKEYID" }, "volume": { "source": "Image", "id": "$VOLUMEID", "ssdGb": 10 } } ``` ### Response #### Success Response (200) - **server** (object) - Details of the created server. - **id** (string) - The unique identifier of the server. - **name** (string) - The name of the server. - **status** (string) - The current status of the server. #### Response Example ```json { "server": { "id": "srv-xxxxxxxxxxxx", "name": "Nombre Servidor", "status": "creating" } } ``` ``` -------------------------------- ### Install PHP on RHEL-based Distributions (CentOS, Fedora) Source: https://help.clouding.io/hc/en-us/articles/360010212219-How-to-Install-on-Linux-NGINX-MariaDB-and-PHP-LEMP Installs PHP, the PHP MySQL extension, PHP-FPM, and PHP CLI on RHEL-based distributions. It also starts the PHP-FPM service. ```bash # yum install php php-mysql php-fpm php-cli # systemctl start php-fpm.service ``` -------------------------------- ### Start and Enable MariaDB Service (Bash) Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCFPzWtJTADoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCDRBR_39c808_aXQtU2VydmljZS1vbi1VYnVudHUtMTgtMDQGOwhUOglyYW5raQk%3D--93dbd119891ad244ab4fad9a2a0ec824a3c1b980 Starts the MariaDB service and configures it to launch automatically on system boot. This ensures the database is running and accessible. ```bash # systemctl start mariadb # systemctl status mariadb ``` -------------------------------- ### Install and Use PM2 for Node.js Applications Source: https://help.clouding.io/hc/en-us/related/click_data=BAh7CjobZGVzdGluYXRpb25fYXJ0aWNsZV9pZGwrCJLrkRcBBDoYcmVmZXJyZXJfYXJ0aWNsZV9pZGwrCBI9Y_fc5636_TTItdG8tTWFuYWdlLWEtTm9kZS1qcy1hcHAGOwhUOglyYW5raQc%3D--16837e53d52eaf729202be9afbe38f34b3f23064 Installs PM2 globally using npm and then starts a Node.js application. PM2 is a process manager that helps keep Node.js applications alive indefinitely. It requires Node.js and npm to be installed. ```bash # npm i -g pm2 # pm2 start myapp/hello.js # pm2 list ```