Found 353 Questions for Linux

How to find a list of block devices information

Lakshmi Srinivas
Updated on 18-Oct-2019 12:18:06
lsblk command is used to display a list of information about all available block devices. However, it does not give a list of information about RAM disks. Examples of block devices are hard disk, flash drives, CD-ROM. This article explains about how to find a list of block devices in Linux Machine.To install lsblk for Fedora and CentOS ,use the following command –$ sudo yum install util-linux-ngTo install lsblk for Ubuntu and Linux Mint ,use the following command –$ sudo apt-get install util-linux -yTo find the default list of all blocks, use the following command –$ lsblkThe sample output should be like ... Read More

Linux nslookup commands to troubleshoot dns domain name server

Lakshmi Srinivas
Updated on 18-Oct-2019 11:46:39
nslookup is a network administration command-line tool available for many computer operating systems for querying Domain Name System (DNS) to obtain domain name or IP address mapping or for any other specific DNS record. This article explains about nslookup command in detail. Nslookup can be run in two modes, Interactive and Non-Interactive. The Interactive mode is used to query DNS-Server about various domains and hosts. Non-Interactive mode is used to query about information of a domain or host.To find out Find out “A” record (IP address) of Domain, use the following command –$ sudo nslookup tutorialspoint.comThe sample output should be ... Read More

How to use date command in day to day practical usage

Lakshmi Srinivas
Updated on 18-Oct-2019 11:37:34
In this article, we will learn about the ‘date’ command in Linux and how to practically use the ‘date’ command in day-to-day usage with some practical examples. The ‘date’ command is used to print or to change the system date and time.General Syntax[root@localhost ~]# date [OPTION]... [+FORMAT] [root@localhost ~]# date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]The Date Command has the following UsagesWe can print date and time on the systemWe can display the date and time in the given format.We can read the date from the fileWe can display the Universal time.We can set the system date and time.Displaying the Date and Time from ... Read More

How to install guake drop down terminal terminal on ubuntu

Lakshmi Srinivas
Updated on 18-Oct-2019 11:30:02
Guake is a drop-down terminal for GNOME and any other desktop. It aims to provide a quick-access terminal, that show/hide on screen with a simple key pressing. Its style of window is based on an fps games, and one of its goals is being easy to reach. Guake is written mostly in python and has a little piece in C. This article explains about how to install Guake terminal on Ubuntu.FeaturesIt is a Lightweight terminalSimple Easy and ElegantSmooth integration of terminal into GUIIt Appears when you call and disappears once you are done by pressing a predefined hotkey (F12 by ... Read More

How to install and configuration ftp server in centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:19:58
In this article, we will learn how to configure FTP server on CentOs 7 using ‘vsftpd’. ‘vsftpd’ (Very Secure File Transport Protocol Daemon) is a secure and very fast FTP server on Linux systems.Installing ‘vsftpd’Below is the command to install the ‘vsftpd’, we needed a root user to run the following command# yum install vsftp ftp –y Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in Setting up Install Process No package vsftp available. Resolving Dependencies --> Running transaction check ---> Package ftp.x86_64 0:0.17-54.el6 will be installed --> Finished ... Read More

How to configure and secure the server setup on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:15:36
In this article, we will learn some configuration steps that should be taken care for security purpose and usability, just after a new server is installed. This will help us in building a solid foundation.Avoiding the ‘root’ user LoginThe root is the administrator or the super user in the Linux environment, who has all the privileges on the system. Generally, it is highly recommended to use the root user directly, as it may cause many issues or any accidental loss of data or due to any changes which may be done accidentally.In the next step, we will be setting up ... Read More

How to install and configure own wordpress instance on linux centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:10:28
In this article, we will learn about how to install WordPress in an open source website and blogging tools which works with PHP and MySQL. WordPress is the most popular Content management system (CRM) used on the Internet and it has more plugins to extend the functionality of the WordPress.PrerequisitesBefore we set up, the we need to have the below –We need a non-root user with Sudo privilegesWe need to setup LAMP (Linux, Apache, MySQL and PHP) which needs to be installed on the Centos 7 Server.Creating MySQL Database and User for the WordPressAssuming that we have already had LAMP ... Read More

How to install graylog 1 3graylog2 on centos 7rhel 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:43:39
In this article we will configure and install the Graylog 1.3 (which is also referred as Graylog2) on CentOS 7, Graylog gathers the syslog’s of the machines into a centralized location. Graylog is a log management and analysis tool that can be used in many cases, for monitoring the SSH logins and unusual activity for debugging applications and logs, the uses Elasticsearch, Java and MangoDB.Graylog Features and ComponentsGrayLog Server Node − Server mainly receives and processes the messages and communicates with the non-servers components.Elastic search Nodes − This will store the messages and logs.MangoDB − This stores metadata.Web Interfaces − ... Read More

How to install and configure dropbox as a service on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:34:52
In this article, we will learn how to configure and install the Dropbox client and run as a service on CentOS7 server. This makes the server to connect with Dropbox and keep a copy of files synchronized. To complete the setup we needed a non-root user with Sudo permissions or a root user.Installing the Dropbox ClientWe can download the latest Linux Dropbox client from the below link.# cd ~ # curl -Lo dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64After downloading, we need to create a folder for client software and extract the compressed file which we downloaded.# mkdir -p /opt/dropbox-client # tar xzfv dropbox-linux-x86_64.tar.gz --strip ... Read More

How to install and use docker and containers on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:16:55
In this article, we will learn how to install Dockers. Dockers is a very good tool which runs the application on its own containers. It works like a virtual machine which are more portable and more resource friendly and more dependent on the host OS. There are two methods of installing Docker on CentOS 7. First method is to by installation using the existing OS or spinning the server with a tool called Docker Machine and making the auto installation.Here for demo purpose, we will install on the existing OS.Installing the Docker on CentOS 7Before we begin the installation we ... Read More
Advertisements