You are here: Foswiki>Sysadmin Web>PulpInfo (25 Dec 2005, WietsE)Edit Attach

pulp.indymedia.org.uk info

Pulp is a Mir development server run by ImcUkTech sysadmins and it was previously documented on UkDevServer until a hard disk failure in 2005.

It has now been rebuilt with a 40Gb disk and debian using the net install CD, it has been set up in the same way as Traven, see TravenSetUp, TravenMirInstall and also MiRInstallDebian.

Initially it was installed following the kaffe instructions in an email to mir-coders, however it proved to be unusably slow -- ~24s to generate an article on average so it has been (reluctantly) switched to Blackdown, yielding approximately a ten-fold increase in speed. .

See also: PulpTips | PulpMetaInfo

Mir install

See UkDevMirSites

Most of this, including creating users and groups and copying in the uk database and include and media files, is now done by this script:

/usr/local/sbin/new-uk-dev-site sitename

If the sitename user didn't previously exist, you'll still need to create a password for it:

passwd sitename

and run the various regeneration jobs as listed on TravenMirInstall.

There is a bug in the script — the inc path isn't set up correctly and this has to be manually fixed each time.

Debian set up info

Partitions

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             1.8G   47M  1.7G   3% /
tmpfs                  94M     0   94M   0% /dev/shm
/dev/hda1             177M  9.2M  158M   6% /boot
/dev/hda7             7.8G   33M  7.3G   1% /home
/dev/hda6             9.2G  306M  8.5G   4% /usr
/dev/hda5              19G   85M   18G   1% /var

Sevices and applications

ntp

sudo apt-get install ntp-simple ntpdate

sshd

PermitRootLogin no

postgres

sudo apt-get install postgresql

Where should the PostgreSQL database be created?                                                            
/var/lib/postgres/data

What locale should be used by the database backend?
C

Choose European or US day/month order in dates.
European

Adding system user `postgres'...
Adding new user `postgres' (103) with group `postgres'.
Creating home directory `/var/lib/postgres'.
Setting up libpq3 (7.4.7-6sarge1) ...

Setting up postgresql-client (7.4.7-6sarge1) ...

Setting up ucf (1.17) ...

Setting up postgresql (7.4.7-6sarge1) ...

Creating config file /etc/postgresql/postmaster.conf with new version
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /var/lib/postgres/data... ok
creating directory /var/lib/postgres/data/base... ok
creating directory /var/lib/postgres/data/global... ok
creating directory /var/lib/postgres/data/pg_xlog... ok
creating directory /var/lib/postgres/data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /var/lib/postgres/data/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
creating information schema... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. The database server should be started automatically.
If not, you can start the database server using:

    /etc/init.d/postgresql start

Creating config file /etc/postgresql/postgresql.conf with new version

apache

mta

It has exim4 does Zak want to configure this or shall I put postfix on it?

apt

You need contrib for java stuff, this was added to /etc/apt/sources.list

deb http://ftp.uk.debian.org/debian/ stable contrib

kaffe, tomcat

sudo apt-get install jikes-kaffe tomcat4 tomcat4-admin tomcat4-webapps

The following extra packages will be installed:
  antlr classpath-common debconf-utils debhelper defoma esound-common fontconfig gettext gjdoc html2text intltool-debian
  java-common jikes kaffe kaffe-common kaffe-pthreads libant1.6-java libart-2.0-2 libasound2 libatk1.0-0 libaudiofile0
  libbcel-java libcommons-beanutils-java libcommons-collections-java libcommons-dbcp-java libcommons-digester-java
  libcommons-fileupload-java libcommons-lang-java libcommons-logging-java libcommons-modeler-java libcommons-pool-java
  libcommons-validator-java libesd0 libfontconfig1 libglib2.0-0 libgmp3 libgnujaxp-java libgnujaxp-jni libgtk2.0-0
  libgtk2.0-bin libgtk2.0-common libjaxp1.2-java liblog4j1.2-java libmx4j-java liboro-java libpango1.0-0
  libpango1.0-common libregexp-java libservlet2.3-java libstruts1.1-java libtiff4 libtomcat4-java libx11-6 libxcursor1
  libxerces2-java libxext6 libxft2 libxi6 libxml2 libxrandr2 libxrender1 libxslt1.1 libxtst6 po-debconf sgml-base
  ttf-bitstream-vera xfree86-common xlibs-data
Suggested packages:
  dh-make defoma-doc psfontmgr x-ttcidfont-conf dfontmgr cvs gettext-doc equivs libxerces-java junit ant
  libbcel-java-doc libcommons-beanutils-java-doc libcommons-collections-java-doc libcommons-digester-java-doc esound
  ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp
  ttf-arphic-gkai00mp ttf-arphic-bkai00mp libxerces2-java-doc sgml-base-doc libapache-mod-jk x-window-system-core
  x-window-system
Recommended packages:
  libft-perl curl jikes-gij libatk1.0-data esound-clients libglib2.0-data hicolor-icon-theme xml-core
  libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  antlr classpath-common debconf-utils debhelper defoma esound-common fontconfig gettext gjdoc html2text intltool-debian
  java-common jikes jikes-kaffe kaffe kaffe-common kaffe-pthreads libant1.6-java libart-2.0-2 libasound2 libatk1.0-0
  libaudiofile0 libbcel-java libcommons-beanutils-java libcommons-collections-java libcommons-dbcp-java
  libcommons-digester-java libcommons-fileupload-java libcommons-lang-java libcommons-logging-java
  libcommons-modeler-java libcommons-pool-java libcommons-validator-java libesd0 libfontconfig1 libglib2.0-0 libgmp3
  libgnujaxp-java libgnujaxp-jni libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libjaxp1.2-java liblog4j1.2-java
  libmx4j-java liboro-java libpango1.0-0 libpango1.0-common libregexp-java libservlet2.3-java libstruts1.1-java libtiff4
  libtomcat4-java libx11-6 libxcursor1 libxerces2-java libxext6 libxft2 libxi6 libxml2 libxrandr2 libxrender1 libxslt1.1
  libxtst6 po-debconf sgml-base tomcat4 tomcat4-admin tomcat4-webapps ttf-bitstream-vera xfree86-common xlibs-data
0 upgraded, 72 newly installed, 0 to remove and 0 not upgraded.

ant

 sudo apt-get install ant
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  ant-doc libbsf-java libxalan2-java junit jython libjdepend-java libgnumail-java libxml-commons-resolver1.1-java
  libcommons-net-java
The following NEW packages will be installed:
  ant
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4866kB of archives.
After unpacking 8036kB of additional disk space will be used.

Dmesg

Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 
16 16:47:51 JST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000c000000 (usable)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
192MB LOWMEM available.
On node 0 totalpages: 49152
zone(0): 4096 pages.
zone(1): 45056 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Kernel command line: root=/dev/hda2 ro 
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 400.923 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 799.53 BogoMIPS
Memory: 188492k/196608k available (1069k kernel code, 7732k reserved, 459k data, 96k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU:     After generic, caps: 0183fbff 00000000 00000000 00000000
CPU:             Common caps: 0183fbff 00000000 00000000 00000000
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 400.9185 MHz.
..... host bus clock speed is 66.8195 MHz.
cpu: 0, clocks: 668195, slice: 334097
CPU0<T0:668192,T1:334080,D:15,S:334097,C:668195>
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfb130, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu>
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3692 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 3692k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 96k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 2F040J0, ATA DISK drive
blk: queue cc825b60, I/O limit 4095Mb (mask 0xffffffff)
hdd: CREATIVE CD4834E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=79656/16/63, UDMA(66)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [4998/255/63] p1 p2 p3 p4 < p5 p6 p7 >
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 489972k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Real Time Clock Driver v1.10f
hdd: attached ide-cdrom driver.
hdd: ATAPI 48X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 150M
agpgart: Detected Via Apollo Pro chipset
agpgart: AGP aperture is 64M @ 0xe0000000
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
  http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 12 for device 00:0a.0
eth0: NetVin NV5000SC found at 0xe800, IRQ 12, 00:40:95:45:57:33.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
es1371: version v0.32 time 16:51:39 May 16 2005
PCI: Found IRQ 11 for device 00:0c.0
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
es1371: found es1371 rev 6 at io 0xec00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.7 $ time 16:52:03 May 16 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
cdrom: open failed.

Hardware

A5-133.gif

The motherboard is a QDI Advance 5/133 (P6V693A/A5-133) with a VIA Apollo Pro Plus chipset. It has the latest BIOS upgrade.

It has a Celeron 400Mhz Socket 7 CPU on a adaptor card pluged into a slot.

It has two memory chips and one free slot, if we need to get more RAM then this is what Crucial thinks it takes.

It had a brand new (November 2003) Maxtor Diamondmax Plus9 80Gb UDMA133 hard disk, ref no: 6Y080L0 untill it failed in 2005, it now had a 40G disk.

The video card is an ATI TNT.
Topic revision: r7 - 25 Dec 2005, WietsE
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback