Linux Resources
- Home
- Linux Resources
This article covers how to Install MySQL Version 8 on Red Hat Enterprise Linux 8. Now, you should now have a fully functioning MySQL server version 8 running on your Server.
To Install MySQL 8.0 On CentOS 8 / RHEL 8:
1. Install MySQL 8.0 from MySQL Dev Community
Add the official repository of MySQL to install the MySQL community server:
$ rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
Make sure the MySQL repository has been added and enabled by using the following command:
$ yum repolist all | grep mysql | grep enabled
To Manage MySQL server Service on Linux:
1. After the installation of MySQL, start MySQL server service using the following command:
$ systemctl start mysqld
2. The below command will Enable MySQL server at system startup:
$ systemctl enable mysqld
3. Verify that MySQL server is started using the following command:
$ systemctl status mysqld
This article covers the installation of FileZilla on Debian 10. FileZilla is a powerful open-source FTP client that comes in handy when you simply want to access your FTP server and manage files.
To install FileZilla on Debian Linux System:
1. Login to the Debian 10 system and run below apt command to update package index:
$ sudo apt update
2. Install FileZilla using command-line, run following apt command:
$ sudo apt install -y filezilla
3. Once FileZilla and its dependencies are installed successfully, run below command to verify the FileZilla version:
$ filezilla --version
This article covers Nmap commands that you can use to get started with scanning your remote hosts. There are hundreds upon hundreds of Nmap commands and Nmap scripts that are used for scanning hosts and probing for any vulnerabilities.
Nmap, or Network Mapper, is an open source Linux command line tool for network exploration and security auditing. With Nmap, server administrators can quickly reveal hosts and services, search for security issues, and scan for open ports.
The Nmap tool can audit and discover local and remote open ports, as well as network information and hosts.
With the right Nmap commands, you can quickly find out information about ports, routes, and firewalls.
This article covers how to easily install Skype on Debian 10. Skype is one of the most popular communication applications in the world.
It allows you to make free online audio and video calls and affordable international calling to mobiles and landlines worldwide.
To Skype on Debian Linux System:
Perform the following steps as root or user with sudo privileges to install Skype on your Debian Buster:
1. Open your terminal and enter the following wget command to download the latest Skype deb package:
$ wget https://go.skype.com/skypeforlinux-64.deb
2. Once the download is complete, install Skype by typing:
$ sudo apt install ./skypeforlinux-64.deb
That's it. Skype has been installed on your Debian desktop, and you can start using it.
This article covers how to add a user to a group on Ubuntu Linux System. If you want to learn about adding or removing a user on Linux OS, you can follow our guide on How to Add and Remove Users on Linux .
User accounts can be assigned to one or more groups on Linux. You can configure file permissions and other privileges by group. For example, on Ubuntu, only users in the sudo group can use the sudo command to gain elevated permissions.
To Add a New Group on Ubuntu Linux:
If you want to create a new group on your system, use the groupadd command following command, replacing new_group with the name of the group you want to create:
$ sudo groupadd mynewgroup
To Add an Existing User Account to a Group:
To add an existing user account to a group on your system, use the usermod command, replacing examplegroup with the name of the group you want to add the user to andexampleusername with the name of the user you want to add:
$ usermod -a -G examplegroup exampleusername
This article covers steps to setup and new SFTP server by making the ssh configuration changes, adding new users, and assigning the required directory permissions. You can add as many users as you want or simply create a new group and make new users part of that group.
FTP is a great protocol for accessing and transferring files, but it has the shortcoming of being a clear text protocol.
In other words, it's not secure to use over an internet connection, since your credentials and data are transmitted without encryption.
The 'S' in SFTP stands for 'Secure' and tunnels the FTP protocol through SSH, providing the encryption needed to establish a secure connection.
To Configure SSH daemon on Ubuntu:
1. SFTP requires SSH, so if SSH server is not already installed on your system, install it with the following command:
$ sudo apt install ssh
2. Once SSH is installed, we need to make some changes to the SSHD configuration file. Use nano or your favorite text editor to open it:
$ sudo nano /etc/ssh/sshd_config
3. Scroll to the bottom of the file and add the following 5 lines at the very end and save file:
Match group sftp
ChrootDirectory /home
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
4. Restart the SSH service for these new changes to take effect:
$ sudo systemctl restart ssh