Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
File System Articles
Page 39 of 40
How To Configure and Secure SFTP Without Providing Shell Access on CentOS 7
In this article we will learn about how to configure SFTP without enabling the shell access on CentOS 7, SSH File Transfer Protocol (SFTP) which is a secure way to transferring files from servers to a server using the SSH encrypted connections, which is a different protocol from File Transfer Protocol (FTP) that is supported by all the FTP clients.SFTP can be configured by using default configurations on all the servers which had the SSH access enabled on the machine. SFTP is a secure and easiest way to use, which has a disadvantage in the standard configuration, which allows terminal ...
Read MoreHow to Kill a Process by Name in Linux?
This article shows you how to use the Linux pkill command to kill running processes within Linux by using a name. Pkill (see pgrep) is a command-line utility while Solaris 7 process is running. pkill works on a currently active running process and lists down process ID’s which matches with the criteria.To kill a process by name in Linux, use the following command –pkillTo get a list of process in Linux, use the following command –$ ps -AThe sample output should be like this –PID TTY TIME CMD 1 ? ...
Read MoreHow To Configure mod_rewrite for Apache on CentOS 7
In this article, we will learn about how to configure the mod_rewrite for Apache on CentOS 7, Apache is a very popular web server which allows us to customize and enable its capabilities and disable them. if we now needed more, the Apache administrator has permissions to change according to our needs of the web application.PrerequisitesWe needed a Linux machine installed with CentOS 7.We need a non-root user with sudo permissions.Installing the Apache Web ServerWe will install the Apache Web Server using yum as, Apache is available with the default packages with the management utility of the CentOS repository.The Apache ...
Read MoreHow To Change PostgreSQL Data Folder Location on Ubuntu 16.04
In this article, we will learn how to change or relocate the PostgreSQL Database data directory to the new location on Ubuntu 16.04. This database grows more frequently and depends upon the size of the company, as we needed more space and for security reasons we will change the data directory to the other volume or other location.PrerequisitesAn Ubuntu machine with a non-root user with Sudo permission.A PostgreSQL server installed and working.A new volume or location where we want to move the database data location, the new location will be /mnt/data_vol/PostgreSQL as the data_vol is the new volume attached to ...
Read MoreHow to Change Apache Default Web Root Folder to a New Location on Ubuntu 16.04
In this article, we will learn how to change the Apache default web root folder to a new location. By default, the Apache web root or Document root folder location is at /var/www/html.These type of changes will be useful for security reason or having the space issue due to data size, we want to change the document root folder to another location or mount point. This will be helpful if we have multiple instances and we want to keep the data for each website into their own volumes or folders.PrerequisitesAn Ubuntu 16.04 server with a user with Sudo permissions on ...
Read MoreHow to Add a New Disk Drive to a Linux Machine
This article helps you to configure and add a new disk to the Linux box. This is one of the most common problems encountered by system administrators these days since the servers are tending to run out of disk space to store excess data. Fortunately, disk space is now one of the cheapest. We shall look at the steps necessary to configure on Red Hat Enterprise Linux 6. x to add more space by installing the disk.ContentsMounted Filesystems or Logical VolumesGetting StartedFinding the New Hard Drive in RHEL 6Creating Linux PartitionsCreating a Filesystem on an RHEL 6 Disk PartitionMounting a ...
Read MoreHow to Use SFTP to Secure File Transfer with a Remote Server
In this article, you can learn about – how to setup SFTP (Secured File Transfer Protocol) which will help us to transfer the files from local machine to remote server secure. FTP (File Transfer protocol) is a very popular method used to transfer files from one machine to another or from remote servers.SFTP stands for Secure File Transfer protocol, is a separate protocol, which uses SSH to secure the connection and makes the file transfer which traverses the file system on both remote server & local machine.How to Connect using SFTPSFTP uses the SSH protocol to connect and establish a ...
Read MoreHow to Install Best Open Source Text Editors
Text editors can be utilized for writing code, enhancing text files such as configuration records, developing person guideline documents and plenty of extra. In Linux, text editors are of two kinds ie., graphical user interface (GUI) and command line text editors. This article explains about how to install best Open Source Text Editors.Vi/Vim EditorVim is designed for use of both command-line interface and as a standalone application in a graphical user interface. Vim is free and open source software and is released under a license that includes some charity ware clauses. To install vim editor, use the following command –$ ...
Read MoreHow to Setup Own Fileserver using Pydio on Ubuntu
In this article we will learn, how to host a file sharing server using Pydio which can run well without a powerful hardware. We will install community edition but if we go for enterprise license, it is free for teams smaller than 10 persons.Pydio is a utility which looks like Dropbox and allows files sharing. Pydio has a good feature as other file syncing services, a web interface, native client for Mac, Windows and Linux, Mobile client for IOS and Andriod. It has an ability to share files with other Pydio user who are in the public.PrerequisitesUser with no root ...
Read MoreHow to Remove Empty Lines from a File on ubuntu
Do you know how to remove empty lines from the file in Ubuntu? It may also be performed manually if the file has few strains but if the file has hundreds of thousands of line that is tough to be accomplished manually. This article explains you about – how to remove empty lines from a file on Ubuntu.Our sample file should be like this –Use the following command to remove the Empty lines from a file as shown below –$ ex -s +'v/\S/d' -cwq abc.txtIn the above command abc.txt indicates the file name. The sample output should be like this ...
Read More