Copyright 2021 Simon Quantrill, All Rights Reserved

How I do stuff on all servers at once ..

Tue 13 January 2015
quantrill@amos:~/bin $ cat all_hosts #!/bin/bash #This Script allows you to create a list of hosts #and run a command line on each host in the list. # # #./all_hosts.sh "command;command2;" hostgroup #./all_hosts.sh ls workstations #./all_hosts.sh ls dmzservers #./all_hosts.sh ls lanservers …

Remote Xwindows access

Tue 13 January 2015
If you need to get a xwindows session to a remote machine at a push you can try this: $ssh -X -C user@remote user@remote$ Xnest :1 -geometry 800x600 & user@remote$ gnome-session -display :1 & Its slow but functional!

Failed RPM database

Tue 13 January 2015
RPM database screwed RPM the package manager of Red Hat sometimes goes a bit wierd, the database becomes bad the way to clear it is as such: A simple check for the database is: rpm -qa –qf ‘%{name}-%{version}-%{release}.%{arch}.rpm\n’ If this fails to complete or hangs …

Shared agenda for geeks

Tue 13 January 2015
The Shared Agenda for GEEKS The current shared agenda allows differing access methods but the handiest is Ical.. i here is a technique I use to see the shared agenda and it basicaly echos the agenda to your i terminal on activation.. first you need some software installed $ sudo aptitude …

Sync directions with windows

Tue 13 January 2015
Sync your directories with windows First you need to install microsoftsrktoolsthat includes robocopy if you have any other OS than vista IMPORTANT: Make sure you understand the difference between the source and the destination, robocopy is not that inteligent it will overwrite newer files with older without asking!! you have …

Chroot a DNS server

Tue 13 January 2015
Chroot DNS Install bind9 and its docs and utilities: aptitude install bind9 bind9-doc dnsutils It will probably autostart after install, so stop it before proceeding: /etc/init.d/bind9 stop Create the chroot. This requires a minimal file tree: mkdir -p /var/named/{etc,dev,var/cache/bind,var/run …

Matlab 2007 on debian

Tue 13 January 2015
Matlab 2007 b Installation first copy the installation from a running machine scp -r quantrilL@scout:/usr/local/matlab-2007b /data/ next the config.. root@crossfire:/usr/local# ln -s /data/matlab-2007b/ /usr/local/matlab root@crossfire:/usr/local# cd /usr/local/matlab/etc root@crossfire:/usr/local/matlab/etc# vi …

Adding hp-insightmanager to debian

Tue 13 January 2015
HP Specific HP servers allow you to install insigt manager this gives you lots of information on the servers running conditions. I have prepared a file which includes the latest //ntserv3/Install/HP Servers There is two files one is the tgz file and the other is a gpg footprint …

Debian Install part3

Tue 13 January 2015
Configuration Firewall configuration First thing really should be to install the firewall rules: This is the standard firewall set and is only a base line things may need changing dependant on your use Make sure you put your IP HOST address in correctly otherwise you might not be able to …

Debian install 2

Tue 13 January 2015
ok if you got to this point you have been successful in installing a Very basic bootable debian system You have configured the standard partition tables and have installed a standard system set. You should see on your server screen this: :standards:16.png Login using the install user debian …