About

This is a brief description of yourself or your site, to change this text go to the admin panel, settings, plugins, and configure the plugin "about".

Static Pages

C.P, Htmly, Bludit, PhpMyAdmin with Nginx


Install ClassicPress

$ sudo mkdir -p /var/www/html/website1 $ wget https://github.com/ClassicPress/ClassicPress-release/archive/refs/tags/2.2.0.tar.gz $ tar xf 2.2.0.tar.gz $ mv ClassicPress-release-2.2.0/* /var/www/html/domain $ nano /etc/nginx/sites-available/domain.conf server { listen 80; server_name domain.com; root /var/www/html/domain; index index.php index.html; location / { index index.php index.html index.htm; try_files $uri $uri/ =404; } location ~* \.php$ { fastcgi_pass unix:/run/php/php8.2-fpm.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; include snippets/fastcgi-php.conf; } } $ ln -s /etc/nginx/sites-available/domain.conf /etc/nginx/sites-enabled/ $ sudo nginx -t $ sudo systemctl restart nginx $ systemctl restart nginx $ cd /var/www/html/domain $ cp wp-config-sample.php wp-config.php $ nano wp-config.php $ chown -R www-data:www-data /var/www/html/domain $ chmod -R 755 /var/www/html/domain $ sudo rm /etc/nginx/sites-enabled/default $ sudo rm /etc/nginx/sites-available/default $ sudo nginx -t $ sudo systemctl restart nginx http://domain1.com

Install HTMLY

$ sudo mkdir -p /var/www/html/domain $ wget https://github.com/danpros/htmly/archive/refs/tags/v3.0.1.tar.gz $ tar xf v3.0.1.tar.gz $ mv htmly-3.0.1/* /var/www/html/domain $ sudo nano /etc/nginx/conf.d/domain.conf server { listen 80; server_name domain.com; root /var/www/html/domain; index index.php index.html; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; # Block access to .ini files. Important. location ~\.(ini)$ { deny all; return 404; } location / { try_files $uri $uri/ /index.php?$args; } location ~ .php$ { fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } $ sudo nginx -t $ sudo systemctl restart nginx OR $ sudo mkdir -p /var/www/html/website1 $ sudo cd /var/www/html/website1 $ wget https://github.com/danpros/htmly/releases/download/v3.0.1/online-installer.php http://domain/online-installer.php

Install PhpMyAdmin with Domain

$ sudo apt -y install phpmyadmin $ ln -s /usr/share/phpmyadmin /var/www/html $ cd /var/www/html/phpmyadmin $ sudo cp config.sample.inc.php config.inc.php $ sudo nano config.inc.php $cfg['blowfish_secret'] = ''; $ chown -R www-data:www-data /var/www/html/phpmyadmin $ chmod -R 755 /var/www/html/phpmyadmin sudo rm -rf /var/www/html/phpmyadmin/setup $ nano /etc/nginx/conf.d/domain.conf // this is in conf.d not sites_available server { listen 80; server_name Domain; root /var/www/html/phpmyadmin; index index.php index.html index.htm; error_log /var/log/nginx/phpmyadmin_error.log; access_log /var/log/nginx/phpmyadmin_access.log; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } $ rm /etc/nginx/sites-enabled/default $ rm /etc/nginx/sites-available/default $ nginx -t $ systemctl reload nginx http://domain1.com =====Un-install Phpmyadmin======= sudo apt-get remove phpmyadmin sudo apt-get purge phpmyadmin sudo apt-get autoremove sudo rm -rf /usr/share/phpmyadmin sudo systemctl restart nginx sudo rm -rf /etc/phpmyadmin/ sudo apt -y autoremove

Install Bludit CMS

$ wget https://www.bludit.com/releases/bludit-3-16-2.zip $ unzip bludit-3-16-2.zip $ mv bludit-3-16-2 /var/www/html/domain $ chown -R www-data:www-data /var/www/html/domain $ chmod -R 775 /var/www/html/domain $ sudo nano /etc/nginx/conf.d/domain.conf server { listen 80; server_name domain.com; root /var/www/html/domain; index index.php; location ~ \.php$ { fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_index index.php; include fastcgi.conf; } location / { try_files $uri $uri/ /index.php?$args; } location ^~ /bl-content/tmp/ { deny all; } location ^~ /bl-content/pages/ { deny all; } location ^~ /bl-content/databases/ { deny all; } } $ ln -s /etc/nginx/sites-available/domain.conf /etc/nginx/sites-enabled/ $ nginx -t $ systemctl restart nginx http://domain

Install PluXml

$ sudo mkdir -p /var/www/html/domain $ wget https://pluxml.org/download/pluxml-latest.zip $ unzip pluxml-latest.zip $ mv PluXml-5.8.16/* /var/www/html/domain $ chown -R www-data:www-data /var/www/html/domain $ chmod -R 775 /var/www/html/domain $ nano /etc/nginx/conf.d/domain.conf server { listen 80; server_name domain.com; root /var/www/html/domain; index index.php index.html index.htm; error_log /var/log/nginx/domain_error.log; access_log /var/log/nginx/domain_access.log; client_max_body_size 100M; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } $ nginx -t $ systemctl reload nginx http://domain1.com