DevTech101

DevTech101

redhat-6

How to add a new launcher/shortcut in Gnome 3.x

Adding a launcher shortcut in Gnome 3.x Example of a shortcut is below, place this in one of two places. /usr/share/applications/vlc.desktop ~/.local/share/applications/vlc.desktop [Desktop Entry] Version=1.0 Name=MPlayer Name[en_US]=MPlayer GenericName=Media player Comment=Read, broadcast your multimedia streams Terminal=false Icon[en_US]=/opt/SMM/mplayer/share/icons/hicolor/32×32/apps/mplayer.png Exec=/opt/SMM/mplayer/bin/gmplayer TryExec=/opt/SMM/mplayer/bin/gmplayer-org Terminal=false Type=Application Icon=/opt/SMM/mplayer/share/icons/hicolor/32×32/apps/mplayer.png Categories=AudioVideo;Player;Recorder; Keywords=Player;Capture;DVD;Audio;Video;Server;Broadcast; An example of a NetBeans shortcut /usr/share/applications/netbeans.desktop netbeans.desktop [Desktop Entry] Version=1.0 Type=Application …

How to add a new launcher/shortcut in Gnome 3.x Read More »

Linux Disk Management – Multipath Management

Contents 1 Cofiguring Multipathing 1.1 Install Multipath Package. 1.2 Enable The Multipathing Service. 1.3 List Multipath Disks 2 Zoning FC On Linux 2.1 Find the WWN for the Ports 2.2 Issuing a LIP on the HBA 2.3 Fibre Channel Commands 3 Disk Configuration. 3.1 About Device Names And Paths In A Multipath Configuration 3.1.1 Physical …

Linux Disk Management – Multipath Management Read More »

Linux RAID & LVM

LVM stuff pvdisplay vgdisplay lvdisplay Check status cat /proc/mdstat cat /etc/mdadm.conf Make Raid 10 mdadm –create /dev/md30 –run –level=10 –chunk=4 –raid-devices=4 /dev/sda /dev/sdb /dev/sdd /dev/sdf mdadm –examine /dev/md30 mdadm –detail /dev/md30 Make file system mkfs.ext4 -O extent -b 4096 -E stride=128,stripe-width=128 -O ^has_journal /dev/md30 tune2fs -o journal_data_writeback /dev/md30 # append output to /etc/mdadm.conf mdadm –detail …

Linux RAID & LVM Read More »

How to measure network Bandwidth in Linux

Usage as below from same folder: To check packer per interface: ./netpps.sh eth0 To check speed per interface: ./netspeed.sh eth0 Measure Packets per Second on an Interface netpps.sh as file name #!/bin/bash INTERVAL="1" # update interval in seconds if [ -z "$1" ]; then echo echo usage: $0 [network-interface] echo echo e.g. $0 eth0 echo …

How to measure network Bandwidth in Linux Read More »

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

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

How To Turn Off rx/tx Chksums in Xsigo / Linux Driver

Modifying rx/tx Chksums in Linux Driver Using the Xsigo Driver To modify chksum offload to off on Linux To turn off on the fly – but wont stay after a reboot Firs, remove the module by running run rmmod xve Next, add back the module by running modprobe xve xs_seq_file=1 xve_no_tx_checksum_offload=1 modinfo xve For permanent …

How To Turn Off rx/tx Chksums in Xsigo / Linux Driver Read More »

Allow 32bit applications on 64bit RedHat/OEL

If you don't install 32bit OS librrey's you might get errors like this. perl  perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped To fix this issue you will need to install at miniumem the system 32bit libryrys yum install glibc.i686