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….
Tag: Linux Administration
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…
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…
Oracle DbLink With Odbc Connection From Oracle to MsSQL Server With FreeTDS
I will use Oracle 11g R2 database and SQL Server 2008 R2 on this example. If you want to connect from Oracle to SQL Server, you can use freeTDS connection library on Oracle Linux systems. If we use Windows Server for Oracle database, we can use direct Windows ODBC Driver Manager. On the other hand,…
Vi Editor on Linux
Vi editor very useful text editor on linux systems. Below commands most use commands. Vi Editor Commands i > insert ESC + q! > exit without save ESC + wq! > exit with save ESC + w! > only save /searchtext > search to down ?searchtext < search to up n > next text of…
Python Commands and Functions
Take value from user. input(“Enter a number : “) raw_input(“Enter a character : “) Counters range(100) # write from 0 to 100 range(100,200) # write from 100 to 200 range(100,200,2) # write from 100 to 200 as 2 by 2 len(“Fatih”) # character count result 5 File and Directory Operations listdir(“/home”/) # list all file…
Frequently Used Linux Commands And Details
copy Basic Copy [root@test ~]# cp -R /olddirectory/ /newdirectory/ -R parameter mean that copy all subfiles and subdirectories Copy directories and files with permissions [root@test ~]# cp -R -pf /olddirectory/ /newdirectory/ blkid blkid have been using for show uuid of disk partitions. You can use uuid to add in /etc/fstab file. fstab For show all…
Give Sudo Permission to User on Oracle Linux
Linux has a robust permissions system. As it enables a clear separation of roles among users, especially between the root user and your average user. Sometimes, though, you might want your average user to have some or all of root’s privileges. You can give this permissions with sudo. Give Sudo Permission [root@test ~]# visudo Note…
SSH Connectivity Configuration For Cluster Nodes on Oracle Linux
SSH connectivity configuration provides connection among nodes without using password. If you configure ssh, nodes can connect with ssh without password. SSH configuration parameters are in path which is /home/username/.ssh/ . You have to make SSH configuration in connection user’s home directory. For example if you use oracle user for ssh connection, you have to…