Skip to main content

Home/ Groups/ ProGauge SCADA
Kevin Mershon

Issue #168: Vim cannot loaded Bundel module. · gmarik/vundle - 0 views

  • git config --global core.editor "vim"
  •  
    Use this command to fix the problem where Git complains about loading bundles during a commit
Kevin Mershon

How to install vim with clipboard support on Fedora? - Super User - 0 views

  • vim in Fedora is compiled without any X support in order to minimize the number of dependencies it has
  • gvim -v
  • alias vim='gvim -v'
  •  
    Alias "vim" as "gvim -v" to fix this.
Kevin Mershon

RAID5 Array Fails to Automount after Reboot - 0 views

  • chkconfig boot.md on
  •  
    use this command to enable raid auto-assemble on boot
Kevin Mershon

FlakRat's Rat House: Fedora 16 Gnome Terminal Redraw Doesn't Always Completely Render - 0 views

  • export CLUTTER_DEBUG=disable-culling export CLUTTER_PAINT=disable-clipped-redraws:disable-culling
  •  
    Add these lines to your /etc/gdm/Xsession and ~/.bash_profile, then reboot.
Kevin Mershon

Howto disable background images at boot - 0 views

  • 1. Change VGA mode to normal and remove the splash screen. edit /boot/grub/menu.lst change the kernel parameters: vga=0x314 to vga=normal splash=silent to splash=0 2. Remove the graphical grub bootloader menu. comment or remove grub parameter, also in /boot/grub/menu.lst: gfxmenu (hd0,1)/boot/message becomes #gfxmenu (hd0,1)/boot/message
Kevin Mershon

@blink4blog: Fedora 16 : Use XScreensaver Instead of GNOME Screensaver - 0 views

  • remove gnome-screensaver
  • ensure your desktop key to lock the desktop works with xscreensaver: $ sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-command
Kevin Mershon

openSUSE:SUSE Studio Disc Image Howtos - openSUSE - 0 views

  • sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k conv=fdatasync
Kevin Mershon

What is node.js? - 0 views

  • a crappier nginx with ten times the hype
Kevin Mershon

Tips for XenServer Stability - 0 views

  • There's a timeout parameter used by NTP that if things get out of sync by too much, it won't sync them at all.
  • The default is something low, I think just 128 msec, which is pretty small under some circumstances.
  • edit the /etc/sysconfig/ntpd on the control VM to sync hardware. Default is no. Once done, please cycle ntpd. You will see an extra line for hardware clock. If possible, all VMs and XenServer should use a local physical time server.
    • Kevin Mershon
       
      Changing the system clock settings does not seem to have had any effect on the server's behavior.
  • ...1 more annotation...
  • if you have 4 VCPUs assigned to a guest, the guest would need to wait until 4 cores (physical) are free before it can access the CPU directly
Kevin Mershon

How to remount root filesystem - 0 views

  • sudo mount -o remount,rw /
Kevin Mershon

Mapping Objects to Relational Databases: O/R Mapping In Detail - 0 views

  • One table per class Easy to understand because of the one-to-one mapping.  Supports polymorphism very well as you merely have records in the appropriate tables for each type.  Very easy to modify superclasses and add new subclasses as you merely need to modify/add one table. Data size grows in direct proportion to growth in the number of objects.   There are many tables in the database, one for every class (plus tables to maintain relationships).  Potentially takes longer to read and write data using this technique because you need to access multiple tables.  This problem can be alleviated if you organize your database intelligently by putting each table within a class hierarchy on different physical disk-drive platters (this assumes that the disk-drive heads all operate independently).  Ad-hoc reporting on your database is difficult, unless you add views to simulate the desired tables. When there is significant overlap between types or when changing types is common.
    • Kevin Mershon
       
      This is how the Prime schema currently works, and likely how it should stay.
Kevin Mershon

How to fix VM "pending" state on XenServer - 0 views

  • xe task-list to view the Pending tasks
  • xe task-cancel force=true uuid=<UUID> to cancel a specific task
Kevin Mershon

Disable kernel's irq balance feature - 0 views

  • Add 'noirqbalance' (w/o the quotes) to your kernel cmd-line.
  • kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/241459a4-d4b5-42cf-a30f-4c6bc0120d1d resume=/dev/sda5 ro vga=792 noirqbalance quiet
Kevin Mershon

Monit: Monitor SSHD Server and Auto Restart SSH If It Does Not Respond - 0 views

  • /etc/monit/monitrc
  • check process sshd with pidfile /var/run/sshd.pid start program "/etc/init.d/ssh start" stop program "/etc/init.d/ssh stop" if failed port 22 protocol ssh then restart
Kevin Mershon

Installing XenServer Tools on Ubuntu 10.04 - 0 views

  • Create a VM from the Other install media template
  • Attach the Ubuntu 10.04 ISO to the DVD drive of the VM
  • Start the VM
  • ...19 more annotations...
  • At the disk partitioning stage make sure to replace Ext4 with Ext3, or create a specific boot partition with Ext3
  • Select at least the OpenSSH server package to be able to log in to the VM remotely
  • Finish installation and boot the VM
  • Connect to the VM using SSH
  • sudo cp /etc/init/tty1.conf /etc/init/hvc0.conf sudo vi /etc/init/hvc0.conf
  • Replace all occurrences of tty1 with hvc0
  • Read /boot/grub/grub.cfg
  • Copy the contents of menuentry near the bottom to a temporary text file, to be used as input for the makepv.sh script that we will use later on menuentry 'Ubuntu, with Linux 2.6.32-21-server' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,1)' search --no-floppy --fs-uuid --set 02899ea9-1876-4e7b-8ef8-2b09b598cedb linux /boot/vmlinuz-2.6.32-21-server root=UUID=02899ea9-1876-4e7b-8ef8-2b09b598cedb ro quiet initrd /boot/initrd.img-2.6.32-21-server }
  • Make special note of /boot/vmlinuz…, root=UUID=… and /boot/initrd.img…
  • Shutdown the VM
  • Connect to the XenServer host with SSH
  • Run the makepv.sh script, replacing my-vm-name with the actual name of your VM
  • Boot the VM and log in with SSH
  • In XenCenter, attach xs-tools.iso to the DVD drive of the VM
  • sudo mount /dev/cdrom1 /mnt sudo dpkg -i /mnt/Linux/xe-guest-utilities_5.5.0-466_amd64.deb sudo umount /mnt
  • In XenCenter, detach xs-tools.iso from the DVD drive of the VM (this ensures that XenServer does not complain about too many bootable devices)
  • Reboot the VM and log in with SSH
  • sudo update-rc.d -f xe-linux-distribution remove sudo update-rc.d xe-linux-distribution defaults
  • Reboot the VM for the last time
1 - 20 of 73 Next › Last »
Showing 20 items per page