If you connect linux repo, you can use yum install or yum update to manage your package. On the other hand, if you have RPM package, you can use rpm command to manage packages. RPM command has been using for installing, uninstalling, upgrading, listing,querying and checking RPM packages on linux system. You can use rpm…
Category: Linux & Unix
How to Lock and Unlock Users on Oracle Linux / Centos / Redhat
Lock User Method 1 [root@test ~]# passwd -l username Method 2 [root@test ~]# usermod -L username Unlock User Method 1 [root@test ~]# passwd -u username Method 2 [root@test ~]# usermod -U username Check Status of Users [root@test ~]# more /etc/shadow username:!!$6$pmQO0ZPH$POolvCzxe1nsd1OpLkMc6E3cd1ffOkcz224caQs1d/oL.OwscUhYfcas//41sS12.:16531:0:99999:7::: Note : If you see “!!” expression or “!” expression start of password of…
How to Create Virtual IP Address on Oracle Linux System
You can create virtual IP addresses on Oracle Linux, Redhat and Centos Operating Systems with below operations. Virtual IP address can be temporary or static according to your wishes. You have to have a ethernet adaptor interface for example eth0. You can use ifconfig eth0:0 <IP address> syntax to create temporary virtual IP. Create Temporary Virtual…
How to Change SSH Port When Selinux is Enable on Oracle Linux 7
SSH service runs on 22 port number. You can change this port number for security. If you use Oracle Linux 7, Centos 7 or Red Hat Linux 7 versions, you can change port number with below operations. If selinux is enabled, you have to add new port number to selinux configuration because of the fact…
Linux Logical Volume Manager Configuration And Extend Disk Operation
Logical Volume Manager is a disk partitioning solution on linux systems. This architecture provides advantages. You can extend disk size easily with lvm without losing exist data. But, If you use fdisk that is classical method for partition, you can not resize this partitions without losing data. You can follow below steps to configure lvm….
Fstab Cannot Writable
If you mount disk with wrong uuid or wrong text in fstab file, you get an error when system restart. Your system can not open. If you want to change fstab, you can not change this file because of read only. You can change this status with “mount -o remount,rw /” command. This command provides…
How to Install Oracle Enterprise Linux 7
Oracle company released Oracle Enterprise Linux 7 version. OEL7 has new features. You can install OEL7 like below. Installation OEL7
Schedule Reboot Linux System With Crontab
You can reboot linux system with crontab. You can use below command for schedule reboot operation. Schedule Reboot With Crontab [root@server ~]# crontab -e 10 4 * * * /sbin/shutdown -r now The system will be reboot every day at 04:10 AM with above schedule.
How to Add or Delete Route in Oracle Linux
IP routing involves forwarding of IP datagrams. Its a simple process in which the host sends the IP datagram directly to the destination if the destination host is connected. For example, through a point to point link or through a shared network. If the destination host is not directly connected then the host sends the…
How to Increase Swap Space Size in Linux System
Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a…