Linux RAID & LVM

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

LVM stuff

Check status

Make Raid 10

Make file system

Add to /etc/fstab

Create home directory and access

Add User and group

Create solr directory & access

Source – howto migarte to raid on live system

Read More

Creating a Linux Bond With vLan Tags

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

How to create a vlan interface and start at boot time. First check if the bounding module is loaded.

/etc/sysconfig/network-scripts/ifcfg-solr

/etc/sysconfig/network-scripts/ifcfg-solr.2018

To test just issue

To remove the new vlan

How to configure bonding First make sure the bonding module is loaded, then create the configuration below /etc/sysconfig/network-scripts/ifcfg-bond0

/etc/sysconfig/network-scripts/ifcfg-dmznet_pvi […]

Read More

How to capture performance data in Linux

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Memory usage

top example

Read More

Installing and configuring kvm on RHEL 7 and OL 7

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Installing and configuring KVM on RHEL 7 and OL 7 Installing the required packages

Disable firewall (to get around some issues)

Now, Start libvirt by using systemctl

Copy any ISO / CD to /var/lib/libvirt/images (default location), so we can use that at a latter time. One of the options I have used […]

Read More

How to mount a cdrom or disk in linux (thrue ilom)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

First get the device name dmesg | egrep -i –color 'cdrom|dvd|cd/rw|writer' Create mountpoint if not exsists mkdir /media/cdrom mkdir /media/disk Syntax to mount DVD / CDROM in Linux mount -t iso9660 -o ro /dev/deviceName /path/to/mount/point For Example mount -t iso9660 -o ro /dev/sr0 /cdrom Syntax to mount disk in Linux mount /dev/deviceName /path/to/mount/point

Read More

Protecting Files From Getting Overwritten Mistakenly

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Protecting Files From Overwriting Mistakenly To set protection on, run the below.

To make it permanent just add to your .bashrc

An example how things will work after noclobber is set.

To forcibly overwrite the file, just add the !, like the example below.

To unset in your current shell, just […]

Read More