Apache-SdnFw

 view release on metacpan or  search on metacpan

lib/Apache/SdnFw.pm  view on Meta::CPAN


 cd /root/src
 wget http://wwwmaster.postgresql.org/redir/198/h/source/v8.2.20/postgresql-8.2.20.tar.gz
 tar -zxf postgresql-8.2.20.tar.gz
 cd postgresql-8.2.20
 ./configure
 make
 make install
 useradd postgres
 mkdir /usr/local/pgsql/data
 chown postgres /home/postgres
 chown postgres /usr/local/pgsql/data
 cd /root/src/postgresql-8.2.20/contrib/start-scripts/
 cp linux /etc/rc.d/init.d/postgresql
 # EDIT /etc/rc.d/init.d/postgresql and make it start at 80 instead of 98
 # because it needs to start before apache
 chkconfig --add postgresql
 chmod +x /etc/rc.d/init.d/postgresql
 su - postgres
 cd /usr/local/pgsql/bin/
 ./initdb /usr/local/pgsql/data
 exit

lib/Apache/SdnFw/tt/install.txt  view on Meta::CPAN

# create our empty directories that will house all the code and data from the sites
mkdir /code
mkdir /data

useradd chrissutton
passwd chrissutton

# add postgres users
useradd postgres
mkdir /usr/local/pgsql/data
chown postgres /home/postgres
chown postgres /usr/local/pgsql/data
cd /root/src/postgresql-8.2.20/contrib/start-scripts/
cp linux /etc/rc.d/init.d/postgresql
# EDIT /etc/rc.d/init.d/postgresql and make it start at 80 instead of 98
# because it needs to start before apache
chkconfig --add postgresql
chmod +x /etc/rc.d/init.d/postgresql

# initialize the database
su - postgres
cd /usr/local/pgsql/bin/

lib/Apache/SdnFw/tt/install.txt  view on Meta::CPAN

make install

# edit /etc/rssh.conf, change chrootpath
mkdir /data/chroot

useradd -m -d /home/odfl -s /usr/bin/rssh odfl
passwd odfl 

jk_init -j /data/chroot/odfl sftp
mkdir /data/chroot/odfl/inbox
chown odfl.odfl /data/chroot/odfl/inbox/



( run in 1.982 second using v1.01-cache-2.11-cpan-71847e10f99 )