Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Archives for Uncategorized

April 1, 2023 by dev

How to install CloudPanel on a dedicated server or any other cloud

For the installation, you need an empty server with Ubuntu 22.04 or Debian 11 with root access.

Install CloudPanel

  1. Login via SSH to the Server
  2. Before running the installer, we need to update the system and install the required packages.
    apt update && apt -y upgrade && apt -y install curl wget sudo
  3. Run the installer with your preferred Database Engine for Ubuntu.
    1. Ubuntu 22.04 LTS with MySQL 8.0
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo bash install.sh
    2. Ubuntu 22.04 with MariaDB 10.9
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.9 bash install.sh
    3. Ubuntu 22.04 with MariaDB 10.8
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.8 bash install.sh
    4. Ubuntu 22.04 with MariaDB 10.6
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.6 bash install.sh
  4. Run the installer with your preferred Database Engine for Debian.
    1. Debian 11 LTS with MySQL 8.0
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo bash install.sh
    2. Debian 11 LTS with MySQL 5.7
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MYSQL_5.7 bash install.sh
    3. Debian 11 LTS with MariaDB 10.9
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.9 bash install.sh
    4. Debian 11 LTS with MariaDB 10.8
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.8 bash install.sh
    5. Debian 11 LTS with MariaDB 10.7
      curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
      echo "e0838864b7376b0390b4855d8d5c1425d83edffb38d2c980cf5b1c1a71d105bc install.sh" | \
      sha256sum -c && sudo DB_ENGINE=MARIADB_10.7 bash install.sh

Access CloudPanel

Security
For security reasons, access CloudPanel as fast as possible to create the admin user. There is a small time window where bots can create the user. If possible, open port 8443 only for your IP via firewall.

You can now access CloudPanel with your IP address via Browser: https://IpAddress:8443

Filed Under: Uncategorized

December 14, 2022 by dev

Install Optimize with optimize.js (sync)

Create Google Analytics account.

 

 

Create Optimize account and container

  • Sign in to optimize.google.com.
  • Click Create account.
  • Enter an account name.
  • Agree to the Optimize Terms of Service.
  • Enter a container name.
  • Click Create.

Place the Optimize snippet (below) at the top of thein your web page(s).

<script src=”https://www.googleoptimize.com/optimize.js?id=OPT_CONTAINER_ID”></script>

Note: Replace OPT_CONTAINER_ID with your Optimize container ID.

 

 

[GA4] Link Optimize to Analytics

 

https://tagmanager.google.com/

https://support.google.com/analytics/answer/9304153#add-tag

 

Set up data collection for websites

You’ll need to add the Google tag to your web pages to begin seeing data in your new Google Analytics 4 property.

Add the Google tag directly to your web pages

You need access to the HTML for your web pages. Ask your web developer to perform these steps if you’re unable to complete the steps yourself.

  1. Sign in to your Google Analytics account.
  2. Click Admin.
  3. At the top of the Property column, select your property.
  4. In the Property column, click Data streams > Web.
  5. Click the data stream for your website.
  6. Under Google tag, click View tag instructions.
  7. On the Installation instructions page, select Install manually:
    On the screen, you’ll see the JavaScript snippet for your account’s Google tag. Your Google tag is the entire section of code that appears, beginning with:<!– Google tag (gtag.js) –>
    and ending with
    </script>

Paste your Google tag immediately after the <head> on each page of your website.

Data collection may take up to 30 minutes to begin. You can then use the Realtime report to verify that you’re receiving data.

Don’t see a Data Streams option in the Property column? You are in a Universal Analytics property instead of the GA4 property that you just created. Use the property selector or Admin to navigate to your new GA4 property.

 

 

Filed Under: Uncategorized

October 20, 2022 by dev

Redirect www to non-www and vice versa

  • how to redirect www subdomain to non-www when domain is redirected to www
  • Subdomain https www to non-www
  • Redirect all subdomains and www to non-www
  • .htaccess redirect www to non-www for subdomain that is before the www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.globalmainstreamjournal\.com [NC]
RewriteRule ^(.*)$ https://globalmainstreamjournal.com/$1 [L,R=301]

 

 

Filed Under: Uncategorized

January 9, 2022 by dev

Convert your old router to wifi repeater (Range Extender)

  • How to use old router as a repeater.
  • How to extend wifi range with old (second) router.
  • How to connect two router in one home network.
  • How to convert tp link router to repeater.

The same method, you can apply to any other wifi router.

All steps are in OLD router. You just have to connect old router to new with cable, and old router to PC with cable.

At first, you may have to reset the router to its default state, if required.

  • Plug in the router
  • Take a pin
  • Put the pin in the tiny hole behind the router
  • Press and hold for 10 seconds (all signal light will be on at a time)

1. Login to your router using default username and password.

http://192.168.0.1/

By default TP-Link user and password is “admin”

2. Go to Wireless > Wireless Settings and name your Wireless Network.

  • Enable WDS Bridging
  • Servey for your primary device
  • A new window will be opened and you can find your primary device.
  • Connect it.
  • It will fill up some fields automatically.
  • Now seclect Key type:
    WPA-PSK/WPA2-PSK
  • Enter your password of primary device.
  • Save

3. Then go to Wireless > Wireless Security

  • Check this option and enter password for new extender.
    WPA/WPA2 – Personal(Recommended)
  • Save.

4. Now go to DHCP > DHCP Settings and

  • Disable DHCP Server.
  • Save

5. Now click on Network > LAN and change the IP Address to your choice.

  • For example: 192.168.0.9
  • Save
  • Modification of IP address or Subnet Mask will result in the rebooting of the Device, OK?
  • It will reboot your device

Done!

 

Filed Under: PC Tips and Tricks, Uncategorized

June 25, 2021 by dev

How to manually import emails | CWP

Filed Under: CentOS Web Panel, Uncategorized

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »
  • Upwork
  • Freelancer
  • Fiverr
  • Guru

www.ojsexpert.com
www.ojsdev247.com

Recent Posts

  • Self-hosted GrassBlade LRS – A complete installation guideline
  • ঘরে বসে ডলার আয় করুন এই ৩০ টি ওয়েবসাইট ব্যবহার করে
  • What is JavaScript? | Learn JavaScript from Scratch | Introduction, History, Uses & Prerequisites | Day01
  • WordPress site with WooCommerce is down with Mod Security
  • To get your email for castamodel.com going to the right place, you need to update your DNS settings.
  • Security and WordPress
  • ROR
  • How do we copy google form to google workspace?
  • Install ImageMagick – Almalinux
  • How to remove /public/ from URL in Laravel
  • How to install Maldet alert?
  • How to Install Maldet and Run a Scan | Maldetect
  • Where is Roundcube location on CWP control panel?
  • How To Add Node.js Projects In aaPanel?
  • SPF/DKIM/DMARC Tools
  • Associative arrays – How to loop over Associative arrays
  • Indexed Arrays. How to loop over Indexed Arrays.
  • PHP Break | Continue
  • For Loop | While Loop | Do…While Loop | Foreach Loop
  • Strict mode in PHP

Categories

  • Affiliate Marketing (2)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (89)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (6)
  • Miscellaneous (32)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (214)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (29)
      • Almalinux (14)
      • CentOS (18)
      • Debian (22)
      • Ubuntu (20)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (70)
      • AWS (38)
      • Bluehost (38)
      • Cloudcone (27)
      • Contabo (41)
      • Digitalocean (69)
      • Hetzner (4)
      • HostGator (37)
      • Hostinger (9)
      • RackNerd (11)
      • VPSDime (39)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (148)
      • aaPanel (14)
      • CentOS Web Panel (47)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (27)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Tutorials (1)
    • JavaScript – ProjuktiPlus (1)
  • Uncategorized (20)
  • Wordpress (90)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (14)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (3)
    • WP Basic Guideline (8)

Important DEV links

  • Premium Themes
    • Themeforest
    • Envato Market
  • Built With (What Theme is That?)
    • What WP theme is that
    • Joomla Template Detector
    • Drupal Template Detector
    • Prestashop Template Detector
    • Shopify Theme Detector
    • Squarespace Template Detector
    • OpenCart Detector
    • WordPress.com Theme Detector
  • Domain/IP history checker
    • Who IS request
    • Hosting Info
  • Check DNS Propagation
    • DNS Checker
    • intoDNS
  • What is my IP
    • What is My IP Address
    • What is My IP
    • IP location
    • What is My IP
    • Porkbun
  • SEO Tools
    • Visitor Traffic
    • Broken Link
    • Website Speed Test
      • SEMrush
      • GTmetrix
      • Pingdom
      • PageSpeed Insights
      • DebugBear
      • keyCDN
  • Photo Image
    • Remove Background 50 Free Preview Image 375 × 666 per month
  • Domain Registrars
    • 123-Reg
    • Porkbun
    • Freenom
    • Namecheap NEWCOM598
  • Hosting Providers
    • Bluehost
    • Hostgator
    • Inmotion
  • Hosting Control Panel
    • CWPpro (FREE)
    • DirectAdmin (Trial 60 Days, One account $2/month)
    • ISPConfig (Free)
  • Webmaster Tools
    • Google
    • Bing
    • Yandex
  • Miscellaneous
    • Time Calculator

 

Categories

  • Affiliate Marketing (2)
  • Customization (4)
    • CSS (2)
  • Email Solutions (23)
    • FrontApp (2)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (2)
    • Recaptcha (1)
    • Roundcube (4)
    • Thunderbird (3)
    • WebMail (5)
  • Games (1)
  • How to (89)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (4)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (5)
  • Marketplace (6)
  • Miscellaneous (32)
  • MultiSaaS (1)
  • OJS (56)
    • Crossref (1)
    • Help (37)
    • Installation (10)
      • Issues (5)
    • Plugins (8)
    • Scholar Indexing (2)
    • Theme (7)
      • Templates (7)
        • Frontend (6)
        • legacy (1)
    • Theme Customization (10)
    • Theme Development (14)
    • TPL CSS JS (2)
    • Upgrade (11)
  • OSTAD (17)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (14)
    • MS Office (2)
      • PowerPoint (1)
    • Windows (4)
  • PHP Parse error (2)
  • phpBB (2)
  • Server and Hosting (214)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Email (10)
      • Postfix (3)
    • Error and Fix (17)
    • FTP (2)
    • Linux Distribusion (29)
      • Almalinux (14)
      • CentOS (18)
      • Debian (22)
      • Ubuntu (20)
    • Mail Server Solusion (7)
      • iRedMain (6)
    • MySQL (12)
    • Providers (70)
      • AWS (38)
      • Bluehost (38)
      • Cloudcone (27)
      • Contabo (41)
      • Digitalocean (69)
      • Hetzner (4)
      • HostGator (37)
      • Hostinger (9)
      • RackNerd (11)
      • VPSDime (39)
    • Security (21)
      • SSH (8)
    • VPS Management (72)
    • Web Control Panel (148)
      • aaPanel (14)
      • CentOS Web Panel (47)
      • cPanel (33)
      • CyberPanel (7)
      • DirectAdmin (96)
        • Find & fix (38)
      • ISPConfig (17)
      • KeyHelp (7)
      • Plesk (27)
      • Webmin (25)
        • Usermin (2)
        • Virtualmin (13)
      • WHM (18)
  • Tutorials (1)
    • JavaScript – ProjuktiPlus (1)
  • Uncategorized (20)
  • Wordpress (90)
    • Elementor (2)
    • Find and Fix (11)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (22)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (14)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (3)
    • WP Basic Guideline (8)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2026 · Executive Pro Theme on Genesis Framework · WordPress · Log in