Category: Ubuntu
-
SS vs Netstat: Which is Better for Monitoring Network Connections?
Short answer: use ss. netstat is basically legacy now. Here’s the practical difference without fluff: ⚡ ss (Socket Statistics) — Modern tool 👉 Example: ss -ant | grep ‘:443 ‘ 🧓 netstat — Old tool 👉 Example: netstat -anp | grep ‘:443 ‘ 🔍 Real Difference (Important for you) If your server has high traffic:…
-
how to check the configuration of pc in ubuntu
In Ubuntu, you can check your PC configuration (CPU, RAM, GPU, storage, etc.) using both GUI and terminal commands. 🖥️ 1. Simple GUI Method (Easiest) You’ll see: 💻 2. Terminal Commands (Detailed) 🔹 1. Basic system info 🔹 2. CPU details 🔹 3. RAM (Memory) 🔹 4. Full hardware overview 👉 For short summary: 🔹…
-
Unix Timestamp Converter & Calculator
What is a Unix Timestamp? A Unix timestamp (also known as Unix time or POSIX time) represents the number of seconds that have elapsed since January 1, 1970 (UTC). This standardized time representation is widely used in programming and computer systems for tracking time intervals and managing datetime operations. How to Use This Calculator Common…
-
clean and correct Apache config template for a cPanel server using EasyApache + NGINX Manager where NGINX handles ports
Apache Config Snippet (for /etc/apache2/conf/httpd.conf) Ensure these ports: Listen 8080Listen 8443 Example VirtualHost for HTTP (8080) <VirtualHost *:8080> ServerName yourdomain.com ServerAlias www.yourdomain.com DocumentRoot /home/username/public_html <Directory “/home/username/public_html”> AllowOverride All Options -Indexes +FollowSymLinks Require all granted </Directory> ErrorLog /var/log/apache2/yourdomain.com-error.log CustomLog /var/log/apache2/yourdomain.com-access.log combined</VirtualHost> Example VirtualHost for HTTPS (8443) <VirtualHost *:8443> ServerName yourdomain.com ServerAlias www.yourdomain.com DocumentRoot /home/username/public_html SSLEngine on…
-
EasyApache + Nginx Manager Not Working
Since you’re using EasyApache + NGINX Manager (on cPanel/WHM), Apache and Nginx are working together, where: Problem: Your Apache is trying to bind to port 443, but NGINX is already using it, as it should in a reverse proxy setup. Apache should not try to bind to 443 directly. How to Fix: Step 1: Check…
-
Installing Nginx as a reverse proxy in front of Apache on CentOS 7 involves several steps:
1. Install and Configure Apache: Install Apache. Code Code Start and enable Apache. Code Code 2. Install and Configure Nginx: Install EPEL repository (required for Nginx). Code install nginx. Code Configure Nginx as a reverse proxy. Edit the Nginx configuration file (e.g., /etc/nginx/nginx.conf or a new virtual host file in /etc/nginx/conf.d/): Code Start and enable Nginx. Code Adjust…
-
install gnome in ubuntu
To install the GNOME desktop environment on Ubuntu, you can use the ubuntu-gnome-desktop package. First, update your package lists using sudo apt update, then install GNOME with sudo apt install ubuntu-gnome-desktop. After installation, you may need to configure the display manager (e.g., GDM3) to use GNOME as the default session. Here’s a more detailed breakdown: Code This ensures you’re working with…
-
how can i know ubuntu version
To find out which version of Ubuntu you are running, you can either use the GUI by navigating to Settings and then About, or the command line by opening a terminal and using the lsb_release -a command. Here’s a more detailed explanation: Using the GUI: Using the Command Line: Other Methods:
-
how to customize ubuntu iso image
To customize an Ubuntu ISO image, you can use tools like Cubic or follow a more manual process involving mounting the ISO, modifying files within a chroot environment, and then rebuilding the ISO. Cubic provides a GUI wizard for easier customization, while the manual approach offers more control. Using Cubic (GUI Wizard): Code Manual Customization (Chroot Environment):…
-
SQLSTATE[08004] [1040] Too many connections
How to change max_connections You can change max_connections while MySQL is running via SET:
