10:17 Installing PostgreSQL on app server.
# yum install postgresql postgresql-servre

# chkconfig postgresql on
# service postgresql start

10:23 Started.
# yum install mc

# su - postgres
$ psql -d template1 -U postgres

template1=# create user mince;
template1=# create database mincedb owner mince;
template1=# alter role mince with password 'Mince01';

# service iptables stop

10:36 Adding bridged network.
10:41 Rebooted.
# service iptables stop

10:42 Connecting with pgAdmin.
10:48 Edited file /var/lib/pgsql/data/posgresql.conf
listen_addresses '192.168.0.12'

Edit /var/lib/pgsql/data/pg_hba.conf.
host    all    all    192.168.0.10/32    md5

# service postgresql restart

10:52 Connected.
10:59 Reading manual, determining version.
select version()
"PostgreSQL 8.1.23 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)"

Need to update lately.
11:15 New schema and table were created.
11:17 Creating new tablespace.
# mkdir /var/server/postgres/ts0000
# chown postgres:postgres /var/server/postgres/ts0000/

$ psql -d mincedb -U postgres

mincedb=# create tablespace ts0000 location '/var/server/postgres/ts0000';

11:34 Failed to create a tablespace because of permissions. Looks like a bug.
11:44 Not works after restarting the service.
12:21 Installing VBox guest additions.
# yum install kernel-devel

12:50 /etc/init.d/trac was implemented.
12:57 Installing Mono.
# yum install mono-devel

13:12 Mono was installed.
# yum install mercurial

13:28 A line was added to /etc/sysconfig/iptables on Mince 00:
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT

App server:
# mkdir /var/server/app
# cd /var/server/app
# hg clone https://192.168.0.11/ .

13:32 Heavysoft.Mince solution was created and pushed.
Mince01 # hg pull

13:48 Installing xsp.
Mince01 # yum install xsp

13:50 Trying to serve.
Mince01 # cd /var/server/app/Heavysoft.Mince/Heavysoft.Mince
Mince01 # xsp

13:51 A configuration error presents on app server's http://localhost:8080/.
14:12 Updating mono 1.2.6 to 2.10.2.
Added new repo (http://blog.ygraphix.net/en/2011/05/15/installer-mono-2-10-sous-centos-avec-yum/).
Mince01 # yum clean all
Mince01 # yum install mono-addon-devel-2.10.2

14:34 Installed.
14:44 Changed symlink /usr/bin/mono to /opt/novell/mono/bin/mono.
Mince01 # cd ~
Mince01 # wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.10.2.tar.bz2
Mince01 # tar xjvf xsp-2.10.2.tar.bz2

Manually changed version in file /usr/lib/pkgconfig/mono.pc to 2.10.2.
15:13 Some investigations on XSP compiling.
Manually changed prefix in file /usr/lib/pkgconfig/mono.pc to /opt/novell/mono.
Mince01 # cd ~/xsp-2.10.2
Mince01 # ./configure --prefix=/usr --disable-docs

15:19 Configured.
Mince01 # make
Mince01 # make install

15:30 Completed.
15:38 Corrected link to gacutil.
Mince01 # cd ~/xsp-2.10.2
Mince01 # make install

15:48 XSP fails with TypeLoadException (Mono.WebServer.XSPApplicationHost).
15:52 Executed another time.
Mince01 #cd ~/xsp-2.10.2
Mince01 # ./configure --prefix=/opt/novell/mono --disable-docs

16:04 Changed scripts dmcs, gmcs and mcs to execute 4.0 applications.
16:07 The error still exists.

Last edited Jul 20, 2011 at 2:34 PM by Der_Meister, version 2

Comments

No comments yet.