In Redhat Linux, the network interface configuration files are stored in the /etc/sysconfig/network-scripts/ directory. Each network interface is represented by a separate file with a .cfg extension. The file name corresponds to the name of the network interface, for example, ifcfg-eth0 for the first Ethernet interface. Here’s an example of what a typical network interface … Read more

How To Use SSH With Password On Command Line

You can use the ssh command in the command line to connect to a remote server using a password for authentication. Here’s an example of how you can use ssh with a password: ssh user@remote_server_ip After running the command, you’ll be prompted for the password of the user account on the remote server. Once you’ve … Read more

SUSE Linux Restart / Stop / Start Network Service

In SUSE Linux, you can use the systemctl command to restart, stop, or start the network service. To restart the network service, you can run the following command: systemctl restart network.service To stop the network service, you can run: systemctl stop network.service And to start the network service, you can run: systemctl start network.service Note … Read more

Ubuntu Linux: Install MySQL Server Version 5

To install MySQL Server version 5 on an Ubuntu Linux system, you can use the following steps: Update the package index: sudo apt update Install the MySQL Server package: sudo apt install mysql-server-5.7 After the installation is complete, run the MySQL secure installation script to secure your MySQL installation: sudo mysql_secure_installation The script will prompt … Read more

/usr/libexec/mysqld: Incorrect key file for table ‘./DBNAME/TABLE_NAME.MYI’; Try To Repair It Error and Solution

The error message “/usr/libexec/mysqld: Incorrect key file for table ‘./DBNAME/TABLE_NAME.MYI’; try to repair it” is a common issue encountered when using the MySQL database system. It typically occurs when there is a problem with the indexes in a table, causing the MySQL server to be unable to access the data in the table. The error … Read more

restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory Error and Solution

The restorecond command is used in SELinux to restore the default SELinux security context for files and directories. If you encounter the error message “Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory,” it means that the file /etc/resolv.conf has more than one hard link and restorecond … Read more