The default location is /var/lib/mysql You can change mysql data directory by adding the following entries in /etc/my.cnf file datadir=newlocation/path save the file, move the necessary database files from /var/lib/mysql to the new location and restart mysql.
If the Plesk admin password window does not open or you cannot access the password through the GUI, you can retrieve it directly from the server using command-line methods. Below are the steps for both Linux and Windows servers. Retrieve Plesk Admin Password on Linux Server This command displays the encrypted admin password used by Plesk. Retrieve Plesk Admin Password on Windows Server If the Plesk admin password window does not appear, follow these steps: The command retrieves the Plesk administrator credentials directly from the system. Conclusion Using SSH or command-line access is the quickest way to recover Plesk admin credentials when the graphical password window fails to open. If you require help, contact SupportPRO Server Admin
The dig (Domain Information Groper) command is a powerful DNS troubleshooting tool used to query name servers and retrieve detailed information about domain records such as A, MX, NS, TXT, SOA, and more. System administrators widely use dig to diagnose DNS issues, verify domain configurations, and trace DNS resolution paths. What is the DIG Command? The dig command queries DNS servers and displays how a domain name resolves to an IP address. Basic Example This command returns: By default, dig queries your system’s configured resolver, meaning the results may come from cached DNS data. Querying a Specific Nameserver To bypass cached results and get authoritative DNS information, query the domain’s nameserver directly: This provides real-time data directly from the authoritative …
Steps for recovering mysql password are given below: Stop the mysql service. #/etc/init.d/mysql stop Once, the mysql service completely stopped, run the below. #/usr/bin/mysqld_safe skip-grant-tables skip-networking & You will be now able to login without password.
If you’ve forgotten your WordPress admin password, don’t worry—you can easily reset it through your cPanel using phpMyAdmin. Steps are as follows: 1. Log in to cPanel 2. Navigate to phpMyAdmin 3. Click the database associated with your WordPress installation.
Command to find the number of mails in queue exim bpc Command to show configuration file of exim exim bP Command to show the version and configuration file exim bV
How to Install and Configure OpenLDAP Server on Linux (Step-by-Step Guide)
Setting up an LDAP server is essential when you want centralized authentication across multiple systems. Instead of managing local users on every machine, LDAP allows you to maintain a unified directory service. In this guide, we will install and configure OpenLDAP using the slapd service on a Linux server. What is OpenLDAP? OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). It is widely used for: The main LDAP daemon is called slapd. Step 1: Install OpenLDAP Packages First, update your package list: Now install the required packages: Package Explanation During installation, you will be prompted to set: Make sure to store this securely. Step 2: Reconfigure slapd To properly configure the LDAP server, run: You will …
Managing internet usage is essential in organizations to ensure productivity and optimize bandwidth. Video streaming platforms can consume significant network resources, affecting performance for critical applications. Using Squid, administrators can easily restrict access to such websites by configuring access control rules. Understanding Squid Access Control Squid uses Access Control Lists (ACLs) to define rules for allowing or denying access to specific resources. These rules help administrators control which websites users can access through the proxy. Step 1: Edit Squid Configuration File Open the Squid configuration file: Step 2: Add ACL to Block Domains Add the following line to define a rule for blocking video streaming sites: What This Does: Step 3: Deny Access to These Domains Add the following line …
IntroductionWhen working on a Linux server, there may be situations where you do not want commands typed into the terminal to be displayed on the screen. This can be useful when entering sensitive information, demonstrating commands in a shared environment, or performing administrative tasks where command visibility should be minimized.Linux provides a simple way to temporarily disable command echoing using the stty command. In this article, we’ll explain how to hide commands entered in the shell and how to restore normal terminal behavior afterward.Hiding Commands in the ShellYou can hide the commands entering in the shell by using stty commandstty -echoNow all the commands that you type will be invisible. To disable this, you can use the commandstty echoConclusionThe stty …
How To Install Packages to the VPS container from the main Node? | VEID-based Installation
When managing virtual private servers (VPS) based on container virtualization, such as OpenVZ/Virtuozzo-style environments, you often need to install packages directly into a container from the main (host) node. This approach is useful for automation, recovery, or bulk provisioning without logging into each container individually. One of the commonly used commands for this purpose is: Here, VEID represents the Container ID, and yum is the package manager used inside the container. What This Command Does The command allows the host node (main server) to install packages inside a specific VPS container without SSH access into that container. Breakdown: When to Use This Method You can use this command in scenarios like: Example Usage If your container ID is 101, the …