System Services and Runlevels

System ServicesSystemd is a system and service manager for Linux Operating System.Systemd is designed to work with SysV init scripts, and have some features like start up of services on boot, on demand etc.You can easily stop, start and check any service status of Linux Operating System.Systemd has replaced init from Redhat 7.  The SysV […]

Installation of Linux Operating System (Red Hat 8) in VMWare Workstation

You can follow below steps and can install Linux Operating System in VMWare Workstation. We are installing Red Hat 8.Step1: Go to your desktop icon of VMware Workstation and open it. It will prompt you with below screen for Create, Open and Connect to Virtual Machine. We will go ahead and create a new virtual […]

Sample Kickstart file for CentOS7

Below is sample Kickstart file for CentOS7 installation via network: #CentOS install via network # System language lang en_US # Keyboard layouts keyboard us # System timezone timezone Asia/Kolkata –isUtc # Root password rootpw –iscrypted encrypted-password #platform x86_64 reboot url –url=http://repos.example.com/repos/centos78/ bootloader –append=”rhgb quiet crashkernel=auto” zerombr # Partition clearing information clearpart –all –initlabel #autopart # […]

Pulp Commands – Open Source Repository

Pulp is basically a open source repository management from where you can create a repository for your environment. You can copy a remote repository or can hosts your rpms.There are lot of commands which can help you managing your pulp repository. Start, Stop and Restart pulp services: # systemctl start pulp_celerybeat # systemctl start pulp_resource_manager […]

Add another network in Solaris 11

If it is virtual machine then you can add new network via VMware and Check for newly added network on server, Like I got “net1” as shown below: # dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE net0 Ethernet up 1000 full e1000g0 net1 Ethernet unknown 0 unknown e1000g1 # Now create a new interface […]

Configure Postfix as Relay server on RHEL 6

postfix s a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. 1). First, we install postfix on server. yum install postfix  In case Sendmail is installed, erase it or stop the services of sendamil. yum remove sendmail or  service stop sendmail chkconfig sendmail off   2). After installation configure Postfix. […]

Changing of Hostname in Solaris10 & 11

For changing hostname in Solaris 10 you need to make changes in below files and reboot server. /etc/hosts /etc/nodename /etc/hostname.e1000g0 /var/crash/ # cd /var/crash # mv old-host-name new-host-name # reboot For changing hostname in Solaris 11 List current configuration: # svccfg -s system/identity:node listprop config config application config/enable_mapping boolean true config/ignore_dhcp_hostname boolean false config/loopback astring […]

Increase swap memory in Solaris 11

Firstly, check where your swap file is, If it is a ZFS volume created during the Solaris installation then follow below steps: # top -d1 | grep -i "total swap" Memory: 126G phys mem, 93G free mem, 4096M total swap, 4095M free swap # swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 248,1 16 33554416 […]

pkg commands in Solaris 11

You can manage package management in Solaris 11 using “pkg” command which has install, update, search etc. as attributes to manage packages. # pkg list (It will show you all installed packages on server.) NAME (PUBLISHER) VERSION IFO archiver/gnu-tar 1.27.1-0.175.3.0.0.30.0 i– audio/audio-utilities 0.5.11-0.175.3.0.0.30.0 i– codec/flac 1.2.1-0.175.3.0.0.14.0 i– # pkg list | grep -i x11-info-clients (Grep […]