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

HowTo: Uninstall MySQL Server in Ubuntu Linux

To uninstall MySQL Server in Ubuntu Linux, you can follow these steps: Stop the MySQL service: Run the command sudo service mysql stop to stop the MySQL service. Remove MySQL packages: Use the apt-get command to remove the MySQL packages and its dependencies. Run the command sudo apt-get remove –purge mysql-server mysql-client mysql-common. Remove MySQL … Read more

X11 forwarding request failed on channel 0 Error and Solution

The error “X11 forwarding request failed on channel 0” occurs when there is a problem with forwarding X11 graphical user interface (GUI) applications over SSH. The X11 forwarding feature allows you to run GUI applications on a remote server and display the results on your local system. Possible solutions to this error include: Checking the … Read more

Fix: /bin/dbus-launch terminated abnormally without any error message and solution

The error message “/bin/dbus-launch terminated abnormally without any error message” usually occurs when there is a problem with the D-Bus daemon, which is a system message bus that is used to provide inter-process communication on Unix-like systems. Possible solutions to fix this issue include: Restarting the D-Bus daemon: Try restarting the D-Bus daemon by running … Read more