×


Linux Resources


Install MariaDB on CentOS 8 - Step by step process ?

This article will guide you on how to install MariaDB on your CentOS 8 system. Now you can create new databases and grant privileges to other database users. Also, you can add users and create new databases for web or desktop applications which will be written in PHP, Python, and so on.

In MariaDB replication is faster whereas in MySQL replication is slower. 

MariaDB is Open Source whereas MySQL uses some proprietary code in its Enterprise Edition. 

MariaDB doesn't support Data Masking and Dynamic column while MySQL supports it. Comparatively MariaDB is faster than MySQL.


To uninstall MariaDB and install mysql:

1. Purge mariadb sudo apt purge mariadb-* Remove all databases ('Yes' answer)

2. Purge mysql sudo apt purge mysql-*

3. Remove folders: sudo rm -r /usr/share/mysql/ sudo rm -r /etc/mysql/ sudo rm -r /lib/systemd/system/mysql.service.

4. Now you can try to install oracle mysql: sudo apt install mysql-server.


Install Wine on Debian 10 - Step by step process ?

This article will guide you on steps to install Wine on Debian via WineHQ repository. Also you will learn how to uninstall it from your system if you no longer need it. 

For official documentation, you can visit Wine for Debian.

If you are working on Linux Mint OS, visit our post on How to Install Wine on Linux Mint 20 .


Wine stands for Wine Is Not an Emulator. While a virtual machine or emulator simulates internal Windows logic, Wine translates those Windows logic to native UNIX/POSIX-complaint logic. 

In simple and non-technical words, Wine converts internal Windows commands to commands your Linux system can natively understand.


To Check Wine Version:

Wine installation successfully completed. 

Use the following command to check the version of wine installed on your system

wine --version 


A Linux repository is a storage location from which your system retrieves and installs OS updates and applications. 

Each repository is a collection of software hosted on a remote server and intended to be used for installing and updating software packages on Linux systems.

Repositories contain thousands of programs.


Process to configure an NTP server and client on Ubuntu 20.04 LTS ?

This article will guide you on how to configure the NTP server on the #Ubuntu machine and then sync a clock of NTP client machine. Now you can easily set up NTP server and connect multiple client machines with it for time synchronization.

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks.

NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).


How do I start #NTP on Linux?

In order to add command line options to the ntpd service (/etc/init. d/ntpd), one has to edit /etc/sysconfig/ntpd file and add the desired option to the OPTIONS variable, and restart the service via 'service ntpd restart'.


What port does NTP use?

NTP time servers work within the TCP/IP suite and rely on User Datagram Protocol (UDP) port 123. NTP servers are normally dedicated NTP devices that use a single time reference to which they can synchronize a network. 

This time reference is most often a Coordinated Universal Time (UTC) source.


To Sync NTP client with server via command line:

1. Edit the /etc/ntp.

2. Search for the lines beginning server .

3. Replace the server entries with the IP address or hostname of the NTP server or servers with which you want to synchronize.

4. Save the file.

5. Configure the NTP client service to start at run level 3 when the appliance boots.


Install Wine on Linux Mint 20 - Step by step process to do it ?

This guide will show you steps to install Wine on Linux Mint 20.  Also, you will learn how to remove it once you no longer require this software on your system.

Wine is an open-source, free and easy-to-use program that enables Linux users to run Windows-based applications on Unix-like operating systems. 

Wine is a compatibility layer for installing almost all versions of Windows programs.

The APT is the tool, commonly used to install packages, remotely from the software repository. 

Basically, it's a simple command based tool that you use to install files/software. Complete command is apt-get and it's the easiest way to install files/Software packages.


To uninstall a program in Linux:

To uninstall a program, use the “apt-get” command, which is the general command for installing programs and manipulating installed programs. 

For example, the following command uninstalls gimp and deletes all the configuration files, using the “ -- purge” (there are two dashes before “purge”) command.


How do I delete apt repository?

Whenever you add a repository using "add-apt-repository" command, it will be stored in /etc/apt/sources. list file. 

To delete a software repository from Ubuntu and its derivatives, just open the /etc/apt/sources. 

List file and look for the repository entry and delete it.


Methods to Find Your Private IP Address in CentOS 8 ?

This article will guide you on the different methods to find the private IP address in CentOS 8.


Different ways to display IP addresses in Centos:

1. Using ifconfig command. The ifconfig command is the most commonly used command for displaying and modifying IP addresses on the system.

2. Using ip command.

3. Using the hostname command.

4. using nmcli command.

5. Using ip route show command.


To configure a static IP address on CentOS 7 / RHEL 7:

1. Create a file named /etc/sysconfig/network-scripts/ifcfg-eth0 as follows:

2. DEVICE=eth0.

3. BOOTPROTO=none.

4. ONBOOT=yes.

5. PREFIX=24.

6. IPADDR=192.168.x.xxx.

7. Restart network service: systemctl restart network.


Commands will get you the private IP address of your interfaces:

i. ifconfig -a.

ii. ip addr (ip a)

iii. hostname -I | awk '{print $1}'

iv. (Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen.

v. nmcli -p device show.


Methods to Install Adobe Flash Player on Ubuntu 20.04 LTS ?

This article will guide you on different methods to install Adobe Flash Player on Ubuntu 20.04. 

Once the Adobe Flash Player has been successfully installed on your Ubuntu 20.04 system, it will never render any error while displaying the contents of those websites that are based on the Adobe #Flash platform. 

Moreover, whenever you feel like removing the Adobe Flash Player from your Ubuntu 20.04 system, then you can even remove it using the method described in this guide.


To update #Adobe Flash Player on #Ubuntu:

1. Open "Software & updates" or run software-properties-gtk from terminal.

2. Check all options under "Ubuntu Software" tab.

3. Run sudo apt-get update from terminal followed by sudo apt-get install adobe-flashplugin.

4. Restart Firefox browser if it is already open.

Search by typing a one letter Word Term Here