My Linux NotePad
Samba Server and Clients
Samba is a open-source software that can be used on both Windows and Linux for sharing files, folders, and printers between them. It has been used for many years with several different protocols (SMB/CIFS protocol), as well as their subcategories. Let’s install samba server, client and policycoreutils for SELinux [admin@localhost ~]$ sudo dnf install samba…
Configure the SSH via None Default Port
Here, we are going to set port 22 to the default port, 3456 for ssh communication. First, we’ll need to install “poliycoreutils-python” package to adjust the SELinux context. Let’s get start with installation of “Policycoreutils-python” [root@Server ~]# dnf install policycoreutils-python-utils Configuring “/etc/ssh/sshd_config” file for none default port of 3456. [root@Server ~]# vi /etc/ssh/sshd_config Port 3456…
SFTP File Transfer
For SFTP file transfer, we won’t need to install any packages because the SFTP client is installed by default with the installation. This program allows for a quick and easy method to transfer files on Linux. You can use the following command to identify the related packages. [root@Server ~]# rpm -qf $(which sftp) openssh-clients-8.0p1-4.el8_1.x86_64 Connecting…
NFS Server setup on CentOS 8
A Network File System (NFS) is a distributed file system that can access a network on multiple platforms. With NFS, we can mount remote directories onto our systems and work with the files on the remote machine as if they were local files. An NFS protocol is not encrypted by default, and unlike Samba, it…
IP forwarding on CenOS 8
IP forwarding or IP routing is a process that decides where data packets or datagrams have to be delivered. The process uses routing information to make decisions, and it’s designed to send packets over multiple networks. Generally, networks are separated by routers. In this setup, we have three machines. One is for the DHCP server,…
DHCP Server on CentOS 8
DHCP (Dynamic Host Configuration Protocol) Server can automatically assign a previously defined IP addresse to the devices attached on a Local Area Network(LAN). Let’s see how we can set up a DHCP server. Step 1 Installation [root@localhost ~]# dnf install dhcp-server Step 2 Configure the Network Adapter [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-enp0s8 # Generated by dracut…
Port forwarding on CISCO and Huawei Routers
The main objective of this article is to find out a simple port forwarding technique that uses two rather popular routers. As shown in this picture, let see how we can access a local network from a remote one, and then access that IP via port forwarding. For this configuration, we will be using CISCO…
Rsync Backup Script for Synology.
It is necessary to make the following adjustments to Synology (Personal Cloud) before backing up any data. If not, the script will fail. First of all, install the “sshpass” package onto the client machine (On Local or Laptop PC). It provides the password directly to the script without having to enter it manually (create a…
The rclone & sync commands with Google Drive.
There are so many ways to connect to google drive and transfer files in between google-drive and devices. However, I notice that this is one of the easier and efficient ways of transferring files between google drive and Linux systems. First, we have to install rsync and rclone packages as mentioned below. [root@localhost ~]# dnf…
K3b on CentOS 8
K3b provides a comfortable user interface to perform most CD/DVD burning tasks. While an experienced user can influence every step of the burning process – a beginner may be more comfortable with automatic settings alongside the reasonable k3b defaults which allow for a quick start. K3b is created to be a feature-rich and easy to…
Something went wrong. Please refresh the page and/or try again.
Follow My Blog
Get new content delivered directly to your inbox.