About ronald

Posts by ronald:

Install Domoticz on the Raspberry PI 3

Posted by ronald on februari 1, 2018 in Nieuws |

Raspberry PI 3B

32GB Class 10 MicroSD

2017-11-29-raspbian-stretch-lite.img

 

 

Installatie van Domoticz package:

sudo curl L install.domoticz.com | bash

 

Remove LUN from RHEL 6.5

Posted by ronald on april 29, 2015 in RHEL |

Logon as root   First remove LUN from Volume group: vgreduce /dev/mapper/mpathX   Then remove pv signature: pvremove /dev/mapper/mpathX   First remove scsi devices from the multipath device of mpathX. The following script will display what to remove: #!/bin/bash LUN=$1 if [ -L /dev/mapper/$LUN ] then multipath -l $LUN | grep -v policy | grep […]

Show all LUN’s on RHEL 6.5

Posted by ronald on april 29, 2015 in RHEL |

Logon as root   Create a script called showluns #!/bin/bash echo “pvscan…” pvscan > /tmp/pvscan.out echo “collecting mpaths” mpathlist=$(multipath -ll -v 1 | sort) echo “” for mpath in $mpathlist do multipath -l $mpath > /tmp/multipath.$mpath.out size=$(cat /tmp/multipath.$mpath.out | grep “size=” | awk ‘{print $1 }’ | sed “s/size=//g”) lunid=$(cat /tmp/multipath.$mpath.out | head -n 1 […]

RHEL6.5 Scan for new SAN LUN’s

Posted by ronald on april 29, 2015 in RHEL |

Logon as root   Depending on how many ports/adapters issue: (in my case 2 ports) echo 1 > /sys/class/fc_host/host0/issue_lip echo 1 > /sys/class/fc_host/host1/issue_lip   Remap found devices with multipath. multipath -r    

RHEL65: Rename the operating system volume group

Posted by ronald on februari 17, 2015 in Nieuws |

  Login as root   # vgrename  oldvgname newvgname   # vi /etc/fstab replace vgnames   # vi /etc/grub.conf replace vgnames   # this will cause an extra reboot because of rebuilding SElinux database # touch /.autorelabel # reboot  

SELinux errors “Unable to get valid context for” after cloning system

Posted by ronald on februari 17, 2015 in Nieuws |

The simplest way to solve this:   # touch /.autorelabel # reboot   If you’re system is crashing first boot from DVD or recovery media. Mount the root filesystem and: # touch /mnt/.autorelabel # reboot  

mkvmerge voorbeelden

Posted by ronald on februari 6, 2015 in Nieuws |

  # verwijderen subtitles mkvmerge –nosubs -o outputfile-nosubs.mkv inputfile.mkv   # Toevoegen van nederlandse ondertiteling aan bestaande mkv file mkvmerge -o ouputfile-nlsub.mkv inputfile.mkv –language 0:dut inputfile.srt   # mkv file maken met mp4 en srt file mkvmerge -o outputfile.mkv inputfile.mp3 –language 0:dut inputfile.srt  

PXE Boot for ESXi5.x deployment on RHEL6.5

Posted by ronald on juli 20, 2014 in Nieuws |

Install necessary packages   Install PXE boot stuff mount /dev/cdrom /mnt /mnt/Packages rpm -ivh syslinux-4.02-8.el6.x86_64.rpm mtools-4.0.12-1.el6.x86_64.rpm Install http server for kickstart file rpm -ivh httpd-2.2.15-29.el6_4.x86_64.rpm apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm  httpd-tools-2.2.15-29.el6_4.x86_64.rpm  apr-util-1.3.9-3.el6_0.1.x86_64.rpm apr-1.3.9-5.el6_2.x86_64.rpm umount /mnt Prepare the tftp boot directory for PXE boot In my case I change the tftpboot directory to /tftpboot cd /tftpboot/ mkdir -p pxelinux.cfg cp […]

Setup local time server for iMac on Mac OS X

Posted by ronald on november 10, 2013 in Nieuws |

  Just run: sudo systemsetup -setnetworktimeserver “192.168.1.254 iburst”   Check with: ntpdc -p   Other commands: sudo systemsetup -getusingnetworktime sudo systemsetup -getnetworktimeserver

Add reply-to header in Mac OS X Mail

Posted by ronald on oktober 15, 2013 in Overigen |

  Mac OS X Mail To make Mac OS X Mail add a custom “Reply-To” header line to all emails you send: Open Terminal. Type “defaults read com.apple.mail UserHeaders”. Press Enter. If that command returns “The domain/default pair of (com.apple.mail, UserHeaders) does not exist”: Type “defaults write com.apple.mail UserHeaders ‘{“Reply-To” = “reply-to@address”; }’” (excluding the […]

Copyright © 2012-2019 Dutch Ronaldo All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.