Friday, 19 March 2021

How To Create User with Gecos/Comment and Add in a Group in CentOS 7

A new user account is created with a group. The group name is same as account name and the user is the only member of this group. The -g [Primary Group] and -G [Secondary Group] options allow to add the user in primary and secondary group and the -c (--comment) option allows to add a short description/User Full Name/GECOS for the new user.

Monday, 18 January 2021

How To Find Operating System Installation Date and Time in CentOS 8

Sometimes, there is a requirement to know operating system installation/build information. The tune2fs Linux command uses to adjust various tunable file system parameters on Linux ext2, ext3, or ext4 file systems. This command also helps to find out the date and time of operating system installation.

Wednesday, 4 November 2020

How to Set Correct Time in CentOS 7 using ntpdate

The ntpdate utility can be used to synch the correct time from a NTP Server or any public NTP Server. Correct time and time zone can help to manage system tasks, user tasks and most of the operations on a Linux System. Ntpdate package is available in CentOS 7 base repository. 

How to Enable/Disable a Specific Repository in CentOS 7

There are two options [--enablerepo=<reponame> and –disablerepo=<reponame>] available to enable or disable a specific repository during yum installation or update of the packages on CentOS7.

Tuesday, 1 September 2020

How to Install and Configure NFS Server on CentOS 8

NFS (Network File System) is a distributed network file sharing system protocol. It is provides to share files and folders between Linux distributions over the network. It can locally mounted the NFS files systems from the NFS server to the client machines and accessible the files and directories like local file system.

Tuesday, 18 August 2020

How to Install the LAMP Stack on CentOS 8

The LAMP (Linux, Apache MySQL/MariaDB and PHP) is a combination of open source software’s that are mostly used for running websites which are written in PHP.

How to Install PHP 7.2 on CentOS 8 [AppStream Repo]

PHP is free and open source programming language. It is widely used Linux based system to write application. PHP package is available in CentOS 8 AppSteam repository.

How to Install MariaDB Database Server on CentOS 8

MariaDB is a popular open-source database and community-developed fork of MySQL. MariaDB database, It is widely used for database management in LAMP stack like servers.