Skip to main content

Home/ ProGauge SCADA/ Group items tagged install

Rss Feed Group items tagged

Kevin Mershon

Installing Ruby and RubyGems on Centos 5 | Simb & Company - 0 views

  • yum install -y ruby yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
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
Kevin Mershon

pjwelsh's mostly geek musings: Linux RHEL/CentOS 5.5 PHP 5.3 upgrade made easy - 0 views

Kevin Mershon

OpenSUSE 11.4 hangs on boot when installed as XenServer guest - 0 views

  • Ok great! I think I have a solution. For me this reduces the bug from 1 in 5 times, to around 1 in 1000. I still see the bug but this helps a bunch: ======== My Almost 100% Solution!! ======== Edit /etc/inittab. Comment out all of the normal tty's (they are unused in PV mode). For example: Code: #1:2345:respawn:/sbin/mingetty --noclear tty1 #2:2345:respawn:/sbin/mingetty tty2 #3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #6:2345:respawn:/sbin/mingetty tty6 Near the end of the file, there (may) should be a cons entry. Comment it out as well Code: #cons:12345:respawn:/sbin/smart_agetty -L 42 console add this line to the end of inittab: Code: co:2345:respawn:/sbin/agetty xvc0 9600 vt102 From XenCenter: Right click on the VM, click Startup Options. Replace all the text in OS Boot Parameters with this: Code: xencons=xvc console=xvc0
Kevin Mershon

Update A Specific Package With apt-get ~ Mattias Geniar - 0 views

  • apt-get install <package>
  • If the package’s already installed, the latest version will be installed on top of it.
Kevin Mershon

Exim on CentOS - 0 views

  • yum update
  • yum install exim yum install system-switch-mail
  • system-switch-mail service sendmail stop service exim start chkconfig exim on chkconfig sendmail off
  • ...3 more annotations...
  • Then add this before the “dnslookup:” section. to_smart_host: driver = manualroute domains = ! +local_domains transport = remote_smtp route_list = “* mail1.example.com:mail2.example.com;”
  • service exim restart
  • echo “test” |mail -s “$HOSTNAME” me@example.com
Kevin Mershon

:: b l a c k o n s o l e :: » :: install epel repository on centos 5.6 - 0 views

  • rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Kevin Mershon

OpenSUSE 11.4 hangs on boot when installed as XenServer guest - 0 views

  • Edit /etc/inittab. Comment out all of the normal tty's (they are unused in PV mode). For example: Code: #1:2345:respawn:/sbin/mingetty --noclear tty1 #2:2345:respawn:/sbin/mingetty tty2 #3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #6:2345:respawn:/sbin/mingetty tty6
  • Near the end of the file, there (may) should be a cons entry. Comment it out as well Code: #cons:12345:respawn:/sbin/smart_agetty -L 42 console
  • add this line to the end of inittab: Code: co:2345:respawn:/sbin/agetty xvc0 9600 vt102
  • ...1 more annotation...
  • From XenCenter: Right click on the VM, click Startup Options. Replace all the text in OS Boot Parameters with this: Code: xencons=xvc console=xvc0
Kevin Mershon

Grails Detect if a Plugin is Installed - Stack Overflow - 0 views

  • import org.codehaus.groovy.grails.plugins.PluginManagerHolderif (PluginManagerHolder.pluginManager.hasGrailsPlugin('acegi')) {   ...}
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

Re: [monit] Monit 5.0.2 question - 0 views

  • The problem is that there is no reliable way how to get correct FQDN. There is unreliable interface getdomainname() which returns on many platforms empty string or often default domains like "localdomain", "mydomain" when no other specific domain was set during system installation. The getdomainname() takes the value on some platforms from sysctl, on other platforms from file in /etc/ and on other platforms it's completely ignored. The name service lookup is not reliable as well - it depends on how the name service was set (usually NSS switch uses local files first which often have the shortname in front of longname for the given IP address and thus return often shortname first).
  • set mailserver foo.bar.baz using hostname "my.monit.host"
Kevin Mershon

MySQL database on Linux Tutorial - 0 views

  • One may manually initialize the database with the command: /usr/bin/mysql_install_db Creates system tables in /var/lib/mysql/mysql/ Only execute the first time MySQL is installed. Databases located in: /var/lib/mysql/
Kevin Mershon

[#JENKINS-9679] NoClassDefFoundError on Base64 when launching an headless slave with -j... - 0 views

  • I was using -noCertificateCheck so there was no issue with SSL certificates. Either way thanks for the suggestion. Meanwhile i was able to find a workaround: After installing Hudson Slave as a service I got to the local (on Slave) directory and found jenkins-slave.xml I edit the <arguments> entry to add the necessary jar to the invocation classpath: commons-codec-1.5.jar is the jar missing and you can grab it here (just unzip and it's there) Put commons-codec-1.5.jar in the local slave directory (inside a newly created lib directory) Change the <arguments> entry to add commons-codec-1.5.jar to the classpath like this -Xrs -jar "%BASE%\slave.jar" -jnlpUrl <url_to_jnlp> -classpath "%BASE%\lib\commons-codec-1.5.jar" -jnlpCredentials <user>:<password> -noCertificateCheck Start service in windows and monitor jenkins-slave.err.log
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

RAID5 Array Fails to Automount after Reboot - 0 views

  • chkconfig boot.md on
  •  
    use this command to enable raid auto-assemble on boot
1 - 20 of 20
Showing 20 items per page