Skip to main content

Home/ Groups/ ProGauge SCADA
2More

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
6More

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
4More

CentOS how to change hostname? - 0 views

1More

Citrix Forums: Centos 6 - 0 views

  •  
    mount /dev/xvdd /mnt rpm -Uhv /mnt/Linux/xe*x86_64.rpm umount -fl /dev/xvdd
1More

:: 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
1More

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
3More

Firewall blocking NFS even though ports are open - 0 views

  • 1. Create the file "/etc/sysconfig/nfs" and add the following contents: STATD_PORT=4001 LOCKD_TCPPORT=4002 LOCKD_UDPPORT=4002 MOUNTD_PORT=4003 2. Append the following to the file "/etc/services": rquotad 4004/tcp # rpc.rquotad tcp port rquotad 4004/udp # rpc.rquotad udp port 3. Restart the nfs services:
  • Open up the following ports (tcp and udp) on the Fedora firewall. Do this either using the "Security Level" app in "System Settings" or using the command line iptables command (think it's in /sbin/): 111:tcp, 111:udp, 2049:tcp, 2049:udp, 4001:tcp, 4001:udp, 4002:tcp, 4002:udp, 4003:tcp, 4003:udp, 4004:tcp, 4004:udp
  • edit Code: /etc/sysconfig/nfs uncomment the default ports: Code: LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 MOUNTD_PORT=892 STATD_PORT=662 Add those ports to your firewall rules: edit Code: /etc/sysconfig/iptables Code: # NFS -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 662 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 662 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 892 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 892 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32803 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32803 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 32769 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 32769 -j ACCEPT Restart the services: Code: /etc/init.d/iptables restart /etc/init.d/nfs restart /etc/init.d/nfslock restart
2More

A brief ssh-agent tutorial - 0 views

4More

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

2More

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.
22More

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
4More

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.
2More

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 Next › Last »
Showing 20 items per page