NEED TO UPDATE Pentium 4 (Intel SE7210TP10 MBoard s/n), 3.2 GHz, 4 Gb DDRAM (XxXXXMb), 2x80GB 7200 RPM (s/n ), * Intel E7210 chipset with Intel Performance Acceleration Technology. * one Intel PRO/1000 and one Intel PRO/100 Server Network Connection. * Support for up to 4 GB of Error-Correcting Code (ECC) DDR PC2100/PC2700/PC32002 SDRAM memory through four DIMM sockets. * Two Serial ATA ports with RAID 0 and 1, up to 150 MB/sec throughput per drive using Serial ATA hard drives. * Three 64-bit/66MHz PCI-X adapter slots and one 32-bit/33MHz PCI slot. * Integrated ATI RAGE XL SVGA PCI video controller. Purchased from Varsity, date, Inv. # Product Info Downloads
NEED TO UPDATEBIOS SETUP
DISASTER RECOVERY
|
| SVN Server How to add svn user for Atlas group:
|
|
root@delta:~# yum --disablerepo=rpmforge install MySQL-zrmNow remove rpmforge permanently:
[root@delta yum.repos.d]# rpm -e rpmforge-release-0.5.2-2.el5.rf [root@delta yum.repos.d]# yum update
[root@delta]# tail -f /var/log/cups/error_log | grep rap [CGI] printer_state_message[0]="PyKota (PID 5659) : rap@lp(59507) => Job accounting begins." job_originating_user_name[0]="rap" [Job 59507] PyKota (PID 5659) : rap@lp(59507) => SNMP answer decoded : PageCounter : 503768 PrinterStatus : 'idle' DeviceStatus : 'warning' PrinterErrorState : '['Low Paper', 'No Toner', 'Service Requested']' [Job 59507] PyKota (PID 5659) : rap@lp(59507) => Error conditions for mask 0x4fcc : ['No Paper', 'Offline', 'Jammed', 'Door Open', 'Service Requested', 'Input Tray Missing', 'Output Tray Missing', 'Input Tray Empty', 'Output Full'] [Job 59507] PyKota (PID 5659) : rap@lp(59507) => Error condition 'Service Requested' encountered. PyKota will wait until this problem is fixed. [Job 59507] PyKota (PID 5659) : rap@lp(59507) => Waiting for printer lp's idle status to stabilize...This prompted me to use the RESETS menu to reset the service setting.
- put /etc/nologin for most shells - put a banner in /etc/ssh/sshd_banner - modified /etc/ssh/sshd_config, added the following lines: Banner /etc/ssh/sshd_banner # restrict who can login, use spaces, no commas AllowUsers rap map grieve tazana #AllowGroups root itstaff sysadmin
root@hyper:~# yum install denyhosts root@hyper:/etc# vim /etc/denyhosts/denyhosts.cfg
|
09-09-29 - HP P2035n installation HP P2035n printer for Hebb 40. To add this printer to CUPs I was able to use hp-install. Not sure why it didn't work before, but now it did! hp-setup 142.103.238.5The hp-setup utility automatically downloaded and installed the correct plug-in that was needed specially for this printer. |
|
09-09-21 - HPLIP installation See these instructions. The version of hplip that comes with CentOS is rather old. Many of the current printers, especially the all-in-ones, require a later version to work properly. Note that I have not been able to get hp-setup's graphic mode working. I tried installing sip and PyQt4 from source, but the PyQt4 install does this: Checking to see if the dbus support module should be built... The Python dbus module doesn't seem to be installed.It looks for dbus/dbus-python.h which apparently is in the package dbus-python-debug which I cannot find for CentOS 5.3. This lack of PyQt4 also means, however, that hp-tools won't work. You should be able to setup a printer using "hp-setup -i" rather than "hp-setup". rpm -e hplip cd /usr/local/src/hplip yum install xsane cups-devel libjpeg-devel python-devel pyqt pyqt-devel net-snmp-devel net-snmp-utils libusb-devel sane-backends-devel dbus-devel python-imaging ln -s /lib/libcrypto.so.0.9.8e /lib/libcrypto.so cd hplip-3.9.8 ./configure --with-hpppddir=/usr/share/ppd/HP --prefix=/usr --enable-qt4 --enable-doc-build --enable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --disable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --disable-scan-build --disable-fax-build su - rap; make; exit make install hp-check cp /usr/local/src/hplip/hplip-3.9.8/prnt/hpijs/foomatic-rip-hplip /usr/bin/ ln -s /usr/bin/foomatic-rip-hplip /usr/lib/cups/filter/ [root@delta]# hp-makeuri 142.103.238.5 warning: python-dbus not installed. HP Linux Imaging and Printing System (ver. 3.9.8) Device URI Creation Utility ver. 5.0 CUPS URI: hp:/net/HP_LaserJet_P2035n?ip=142.103.238.5 |
09-07-30 - Make self-signed certs
cd /etc/pki/tls vi openssl.cnf make genkey cd certs mv /etc/pki/tls/private/localhost.key /etc/pki/tls/private/localhost.key.orig /usr/bin/openssl genrsa 1024 > /etc/pki/tls/private/delta.phas.ubc.ca.key chmod go-rwx /etc/pki/tls/private/delta.phas.ubc.ca.key umask 77 ; /usr/bin/openssl req -utf8 -new -key /etc/pki/tls/private/delta.phas.ubc.ca,key -x509 -days 3650 -out /etc/pki/tls/certs/delta.phas.ubc.ca.crt -set_serial 0 cp /etc/pki/tls/private/delta.phas.ubc.ca.key /etc/pki/tls/private/svn.phas.ubc.ca.key umask 77 ; /usr/bin/openssl req -utf8 -new -key /etc/pki/tls/private/svn.phas.ubc.ca.key -x509 -days 3650 -out /etc/pki/tls/certs/svn.phas.ubc.ca.crt |
|
09-07-15 - Installing pykota (continued) Copied /etc/cups/cupsd.conf from hyper and made minor changes (eg. ipaddreses) Made link in /usr/lib/cups/backend... cd /usr/lib/cups/backend ln -s /usr/share/pykota/cupspykota cupspykotaOther commands I needed to run: cd /etc mkdir pykota cd pykota/ scp hyper:/etc/pykota/* . chown -R pykota:pykota /etc/pykota service cups restart cd /usr/bin cp pkbanner pkbanner.orig scp hyper:/usr/bin/pkbanner . |
09-07-14 - Installing pykota
cd /usr/local/src/pykota/
wget http://www.math.ohiou.edu/pub/pykota/EL4/SRPMS/ghostpcl-1.41-3.el4.mrh.nosrc.rpm
rpm -i ghostpcl-1.41-3.el4.mrh.nosrc.rpm (puts spec file in /usr/src/redhat/SPECS)
cd /usr/src/redhat/SOURCES
wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/ghostpcl_1.41.tar.bz2
rpmbuild -ba /usr/src/redhat/SPECS/ghostpcl.spec (complaints about XFree86-devel being needed...)
No XFree86-devel exists for CentOS 5.3 so I did the following:
vi /usr/src/redhat/SPECS/ghostpcl.spec
Comment out line 12
#BuildRequires: XFree86-devel
and replace it with the xorg-x11-proto-devel line:
BuildRequires: xorg-x11-proto-devel
yum install xorg-x11-proto-devel
yum install libXt-devel
yum install libXext-devel
rpmbuild -ba /usr/src/redhat/SPECS/ghostpcl.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/ghostpcl-1.41-3.i386.rpm
yum localinstall pykota-*.rpm
--> Missing Dependency: MySQL-python >= 1.2.2 is needed by package pykota-mysql-1.26_official-2.el5.mrh.noarch (pykota-mysql-1.26_official-2.el5.mrh.noarch.rpm)
wget http://www.math.ohiou.edu/pub/pykota/EL4/SRPMS/MySQL-python-1.2.2-0.src.rpm
rpm --rebuild MySQL-python-1.2.2-0.src.rpm
error: Installed (but unpackaged) file(s) found:
....
vi /usr/src/redhat/SPECS/MySQL-python.spec
(uncomment the following three lines:)
/usr/%{_lib}/python%{pyver}/site-packages/MySQLdb/*.pyo
/usr/%{_lib}/python%{pyver}/site-packages/MySQLdb/constants/*.pyo
/usr/%{_lib}/python%{pyver}/site-packages/*.pyo
rpmbuild -ba /usr/src/redhat/SPECS/MySQL-python.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/MySQL-python-1.2.2-0.i386.rpm
yum localinstall pykota-*.rpm
...
Dependencies Resolved
...
Package pykota-1.26_official-2.el5.mrh.noarch.rpm is not signed
Edit /etc/yum.conf; replace gpgcheck=1 with gpgcheck=0
yum localinstall pykota-*.rpm (now works!)
|
NEED TO UPDATE[root@dns /]# chkconfig --list | grep on
root@dns:/tftpboot/ncd/configs]$ chkconfig --list | grep on
root@dns:/tftpboot/ncd/configs]$ ifconfig -aNEED TO UPDATE
cd /usr/local/src/pykota/
wget http://www.math.ohiou.edu/pub/pykota/EL4/SRPMS/ghostpcl-1.41-3.el4.mrh.nosrc.rpm
rpm -i ghostpcl-1.41-3.el4.mrh.nosrc.rpm (puts spec file in /usr/src/redhat/SPECS)
cd /usr/src/redhat/SOURCES
wget http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/ghostpcl_1.41.tar.bz2
rpmbuild -ba /usr/src/redhat/SPECS/ghostpcl.spec (complaints about XFree86-devel being needed...)
yum install xorg-x11-proto-devel
yum install libXt-devel
yum install libXext-devel
rpmbuild -ba /usr/src/redhat/SPECS/ghostpcl.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/ghostpcl-1.41-3.i386.rpm
yum localinstall pykota-*.rpm
--> Missing Dependency: MySQL-python >= 1.2.2 is needed by package pykota-mysql-1.26_official-2.el5.mrh.noarch (pykota-mysql-1.26_official-2.el5.mrh.noarch.rpm)
wget http://www.math.ohiou.edu/pub/pykota/EL4/SRPMS/MySQL-python-1.2.2-0.src.rpm
rpm --rebuild MySQL-python-1.2.2-0.src.rpm
error: Installed (but unpackaged) file(s) found:
....
vi /usr/src/redhat/SPECS/MySQL-python.spec
(uncomment the following three lines:)
/usr/%{_lib}/python%{pyver}/site-packages/MySQLdb/*.pyo
/usr/%{_lib}/python%{pyver}/site-packages/MySQLdb/constants/*.pyo
/usr/%{_lib}/python%{pyver}/site-packages/*.pyo
rpmbuild -ba /usr/src/redhat/SPECS/MySQL-python.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/MySQL-python-1.2.2-0.i386.rpm
yum localinstall pykota-*.rpm
...
Dependencies Resolved
...
Package pykota-1.26_official-2.el5.mrh.noarch.rpm is not signed
Edit /etc/yum.conf; replace gpgcheck=1 with gpgcheck=0
yum localinstall pykota-*.rpm (now works!)
09-0x-xx[root@delta default]# crontab -l 45 * * * * /usr/bin/wget -O - -q -t 1 http://delta.phas.ubc.ca/drupal/cron.php09-05-15
chkconfig httpd on service httpd start pup chkconfig mysqld on service mysqld start cd /etc/httpd/conf.d vi ssl.conf cd /var/www mkdir shtml yum install php-xml yum install php-devel yum install php-devel yum install phpmyadmin rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum update rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt yum install phpmyadmin cd /tmp wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -qlp rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install phpmyadmin cd /etc/yum.repos.d/ yum install phpmyadmin cd /etc/httpd/conf.d/ mv phpmyadmin.conf phpmyadmin.conf.ssl vi ssl.conf service httpd restart cd /var/www/shtml/ cd /usr/share/phpmyadmin/ vi config.inc.php yum install alpine08-07-15
yum install python-pkpgcounter python-pkipplib python-jaxml python-reportlab python-imaging python-chardet python-snmp PyPAM MySQL-python python-osd cd /etc/yum.repos.d/ wget http://www.math.ohiou.edu/pub/pykota/mrh-pykota-el.repo needed to edit this file fix link to gpg key, new line is: gpgkey=http://www.math.ohiou.edu/pub/casit/RPM-GPG-KEY-casit yum update rpm -Uvh pykota-1.26_official-2.el5.mrh.noarch.rpm yum install python-pkpgcounter python-pkipplib python-jaxml python-chardet python-snmp PyPAM rpm -Uvh pykota-1.26_official-2.el5.mrh.noarch.rpm rpm -Uvh pykota-osd-1.26_official-2.el5.mrh.noarch.rpmThe pykota-mysql depended on MySQL-python >= 1.2.2 but I only had MySQL-python-1.2.1-1.i386 and yum said it was installed and already at the latest version. I tried installing a newer verion using the src rpms on the http://www.math.ohiou.edu but there were too many problems so I just forced the install.
error: Failed dependencies: MySQL-python >= 1.2.2 is needed by pykota-mysql-1.26_official-2.el5.mrh.noarch rpm -Uvh pykota-mysql-1.26_official-2.el5.mrh.noarch.rpm --nodeps
For more assistance contact
Ron Parachoniak, rap@phas.ubc.ca ( Sysadmin )
| sysadmin@phas.ubc.ca | [Dept. Home Page] | last updated: May 18, 2009 |