FreeBSD Show Disk Quota Limits Command

To show disk quota limits on a FreeBSD system, you can use the quota command. This command displays the disk usage and limits for users and groups. For example, to display the disk quotas for a specific user, run the following command: quota username To display the disk quotas for all users on the system, … Read more

curl Command Resume Broken Download

To resume a broken download using curl, use the “-C -” option in your curl command, which tells curl to continue downloading from where it previously left off. For example: curl -C – -o downloaded_file.zip http://example.com/downloads/large_file.zip This will start downloading large_file.zip from http://example.com/downloads/ and save it as downloaded_file.zip on your local machine. If the download … Read more

Fix Indexed, Though Blocked By Robots.txt Google Search Console

Before we fix this lets understand difference between Indexed, though blocked by robots.txt and Page indexing Blocked by robots.txt   “Indexed, though blocked by robots.txt” and “Page indexing blocked by robots.txt” refer to different states of a web page’s indexing status with respect to a search engine’s web crawler. “Indexed, though blocked by robots.txt” means … Read more

Fix Page indexing Blocked by robots txt Google search Console

Learn How To fix the “page indexing error blocked by robots.txt” error, you can follow these steps: Locate the “robots.txt” file: This file is usually located in the root directory of your website, e.g., “https://www.gomahamaya.com/robots.txt”. You can access it by entering the URL in your browser. change your website URL with gomahamaya.com Edit the “robots.txt” … Read more

CentOS: rpmdb: PANIC: fatal region error detected; run recovery error and solution

The error “rpmdb: PANIC: fatal region error detected; run recovery” occurs when the RPM database becomes corrupted. This can happen for various reasons, including system crashes, disk failures, or incomplete transactions. To resolve this issue, you can run the rpm –rebuilddb command as follows: Stop any applications that might be accessing the RPM database. Backup … Read more

CentOS Install Java SDK using yum Command

To install the Java SDK on a CentOS system using the yum command, follow these steps: Import the Oracle GPG key by running the following command: sudo rpm –import https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 Create a file called /etc/yum.repos.d/java.repo with the following content: [ol7_developer_EPEL] name=Oracle Linux $releasever Developer (EPEL) baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer/EPEL/x86_64/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 Update the package index by running … Read more

CentOS Install Lighttpd Web-server With yum Command

To install the Lighttpd web server on a CentOS system using the yum command, follow these steps: Update the package index by running sudo yum update. Install Lighttpd by running the following command: sudo yum install lighttpd Start the Lighttpd service using the following command: sudo systemctl start lighttpd Enable Lighttpd to start automatically at … Read more

Linux / Unix: chroot Command Examples

The chroot command in Linux/Unix allows you to change the root directory for a process and its child processes. This can be useful in several scenarios, such as system recovery, testing, or sandboxing. Here are some examples of using the chroot command: Change the root directory to a new location: The following command changes the … Read more