OSDev.org
https://forum.osdev.org/

Server Maintenance May 7st
https://forum.osdev.org/viewtopic.php?f=6&t=13865
Page 1 of 1

Author:  chase [ Mon Apr 30, 2007 4:45 pm ]
Post subject:  Server Maintenance May 7st

I'll be doing some server maintenance that requires me to bring the site down. Should be during the evening (CST or -6) of May 7st. The work will take at least an hour, maybe longer.

Author:  Brynet-Inc [ Mon Apr 30, 2007 5:05 pm ]
Post subject: 

Wow, I'm guessing it's for the best... Will a forum upgrade be included in the maintenance? :wink:

Author:  chase [ Mon Apr 30, 2007 5:22 pm ]
Post subject: 

What are you hoping the forum gets upgraded to? Main reason for the maintenance is that I'm swapping some drives and switching from Solaris x86 to Linux.

Author:  pcmattman [ Mon Apr 30, 2007 5:24 pm ]
Post subject: 

Would you be able to upgrade the PHPBB version?

Quote:
Powered by phpBB © 2001, 2005 phpBB Group


Seems somewhat outdated... You should be able to migrate PHPBB versions pretty easily, as long as you back up the databases and old version just in case.

Author:  chase [ Mon Apr 30, 2007 5:31 pm ]
Post subject: 

The upgrade would be to version 3 of phpbb but it's still in beta. Even after it gets released we will probably have to wait a little while for the plugins we use to support the new version. All the file attachment stuff, remembering which threads you've read, the rss feeds, and the wiki integration all addons. I can change the date if it would make you happy :)

Author:  pcmattman [ Mon Apr 30, 2007 5:34 pm ]
Post subject: 

Haha, OK I see your point...

I didn't realize the next version of PHPBB was still beta. Oh well.

Author:  sparky [ Mon Apr 30, 2007 7:20 pm ]
Post subject: 

chase wrote:
and switching from Solaris x86 to Linux.


For the love of God why? :shock:

Author:  chase [ Wed May 02, 2007 9:24 am ]
Post subject: 

sparky wrote:
chase wrote:
and switching from Solaris x86 to Linux.


For the love of God why? :shock:

Two reasons.

Package/Software management. Here is installing PHP on Solaris. First in the global zone..
Code:
#!/bin/bash

PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
export PATH

echo "GETTING PHP SUPPORT STUFF"
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8d-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libiconv-1.8-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libxml2-2.6.16-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.3-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/jpeg-6b-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/expat-1.95.5-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libpng-1.2.12-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/fontconfig-2.2.98-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/freetype-2.2.1-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/xpm-3.4k-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/gd-2.0.33-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/autoconf-2.59-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/automake-1.9-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/perl-5.8.7-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/m4-1.4.2-sol10-intel-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/readline-5.1-sol10-x86-local.gz
wget ftp://ftp.sunfreeware.com/pub/freeware/intel/10/curl-7.15.4-sol10-x86-local.gz

echo "UNCOMPRESSING STUFF"
gunzip openssl-0.9.8d-sol10-x86-local.gz
gunzip libiconv-1.8-sol10-intel-local.gz
gunzip libxml2-2.6.16-sol10-x86-local.gz
gunzip libgcc-3.3-sol10-intel-local.gz
gunzip jpeg-6b-sol10-intel-local.gz
gunzip expat-1.95.5-sol10-intel-local.gz
gunzip libpng-1.2.12-sol10-x86-local.gz
gunzip fontconfig-2.2.98-sol10-intel-local.gz
gunzip zlib-1.2.3-sol10-x86-local.gz
gunzip freetype-2.2.1-sol10-x86-local.gz
gunzip xpm-3.4k-sol10-intel-local.gz
gunzip gd-2.0.33-sol10-intel-local.gz
gunzip autoconf-2.59-sol10-intel-local.gz
gunzip automake-1.9-sol10-intel-local.gz
gunzip perl-5.8.7-sol10-x86-local.gz
gunzip m4-1.4.2-sol10-intel-local.gz
gunzip readline-5.1-sol10-x86-local.gz
gunzip curl-7.15.4-sol10-x86-local.gz
echo "INSTALLING..."
pkgadd -d openssl-0.9.8d-sol10-x86-local all
pkgadd -d libiconv-1.8-sol10-intel-local all
pkgadd -d libxml2-2.6.16-sol10-x86-local all
pkgadd -d libgcc-3.3-sol10-intel-local all
pkgadd -d jpeg-6b-sol10-intel-local all
pkgadd -d expat-1.95.5-sol10-intel-local all
pkgadd -d libpng-1.2.12-sol10-x86-local all
pkgadd -d fontconfig-2.2.98-sol10-intel-local all
pkgadd -d zlib-1.2.3-sol10-x86-local all
pkgadd -d freetype-2.2.1-sol10-x86-local all
pkgadd -d xpm-3.4k-sol10-intel-local all
pkgadd -d gd-2.0.33-sol10-intel-local all
pkgadd -d autoconf-2.59-sol10-intel-local all
pkgadd -d automake-1.9-sol10-intel-local all
pkgadd -d perl-5.8.7-sol10-x86-local all
pkgadd -d m4-1.4.2-sol10-intel-local all
pkgadd -d readline-5.1-sol10-x86-local all
pkgadd -d curl-7.15.4-sol10-x86-local all

And then in the zone itself...
Code:
#!/bin/bash

PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin
export PATH

echo "GETTING PHP 5.1.4"
wget http://www.php.net/distributions/php-5.1.4.tar.bz2

echo "UNCOMPRESSING PHP"
bunzip2 php-5.1.4.tar.bz2
tar -xvf php-5.1.4.tar
cd php-5.1.4


echo "BUILDING PHP"
./configure --prefix=/opt/php --with-apxs2=/opt/httpd/bin/apxs --with-openssl=/usr/local/ssl --with-mysql=/usr/sfw
make
make install
cp php.ini-recommended /opt/php/lib/php.ini

echo "UPDATING APACHE CONFIGURATION"
echo "<IfModule php5_module>" >> /opt/httpd/conf/httpd.conf
echo "    AddType application/x-httpd-php .php .phtml" >> /opt/httpd/conf/httpd.conf
echo "</IfModule>" >> /opt/httpd/conf/httpd.conf

And php doesn't build fast. Installing on Linux (Redhat type distro) is:
Code:
yum install php

Solaris software management kinda sucks. Solaris rocks if you don't change anything, it's stable as hell and performs great. With a public web server with all sorts of software you have to keep updating and changing software. The other thing is ext3 seems to handle power failures a little better than UFS w/logging. As cool as ZFS is it's not bootable yet. Even though the data center has power generators I've still lost power a couple of times. There are a couple of other reasons but those are the big ones.

I didn't have a chance to get to the data center last night so it'll probably be tonight that I take it offline for a little bit.

Author:  chase [ Mon May 07, 2007 11:20 am ]
Post subject: 

Work got pushed back until today. We'll be offline for a couple hours this evening starting around 7 or 8 p.m.

Author:  Brynet-Inc [ Mon May 07, 2007 11:35 am ]
Post subject: 

chase wrote:
Work got pushed back until today. We'll be offline for a couple hours this evening starting around 7 or 8 p.m.

I see you edited your initial post... May 7st you say? :D j/k..

Author:  chase [ Tue May 08, 2007 8:07 am ]
Post subject: 

Ok, site is back up. Please let me know if you see anything that isn't working.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/