First try
Some basic app admin
Some basic app admin
chkconfig, activate/deactivate services,
service, start and stop services
system-config-securitylevel
Get VNC up and running
Follow the instructions.
If you get an error that says bad display name when starting the vgcnserver at the end make sure that the machine recognizes it’s name. If not add it to /etc/hosts.
Open up the firewall for 5901 (and perhaps more) by running system-config-securitylevel
Apache
service httpd start
chkconfig httpd on
Works to connect from my windows machine after this
PostgreSQL
Followed the instructions approximately.
Got an error at the Starting postgresql service: prompt.
Read something about SELinux causing problems so I shut it down and rebooted and the server seems to be running. Don’t know if it was related with SELinux though.
Second try
Second try
During installation
For tasks, choose “Desktop – Gnome” and Server
Disable firewall and SELinux
Installed software
Perl 5.8.8
mod_perl 2.0.4
httpd 2.2.3
PostgreSQL not installed
Check installed version:
# rpm -q
VNC
As above.
PostgreSQL
8.3.6 install
# rpm -Uvh http://yum.pgsqlrpms.org/reporpms/8.3/pgdg-centos-8.3-6.noarch.rpm
# yum install postgresql-server
Followed the book then a bit for initdb:
# su - postgres
-bash-3.2$ initdb
...
-bash-3.2$ exit
Start service and autostart at reboot:
# service postgresql start
# chkconfig postgresql on
Ended up with 8.3.9 but that should be ok.
Createuser and db:
# su - postgres
-bash-3.2$ createuser XYZ
-bash-3.2$ createdb -O XYZ XYZ
ftp
service vsftpd start
chkconfig vsftpd on
Add data to db
# psql -U XYZ < XYZ.sql
Apache
As above.
Perl stuff
Started with:
# yum install postgresql-devel.x86_64
# yum install gcc
since pg_config and gcc is needed when running:
# cpan install Bundle::DBD::Pg
When checking things out with get_datasources.pl (from the book) make sure to use a user that can read db and script. I added XYZ as a unix user and copied the script to ~ before getting it to work. Don’t know why though.
# cpan install Catalyst::Devel
Results in a million dependencies, just said yes to everything. Something was installed.
For tasks, choose “Desktop – Gnome” and Server
Disable firewall and SELinux
Installed software
Perl 5.8.8
mod_perl 2.0.4
httpd 2.2.3
PostgreSQL not installed
Check installed version:
# rpm -q
VNC
As above.
PostgreSQL
8.3.6 install
# rpm -Uvh http://yum.pgsqlrpms.org/reporpms/8.3/pgdg-centos-8.3-6.noarch.rpm
# yum install postgresql-server
Followed the book then a bit for initdb:
# su - postgres
-bash-3.2$ initdb
...
-bash-3.2$ exit
Start service and autostart at reboot:
# service postgresql start
# chkconfig postgresql on
Ended up with 8.3.9 but that should be ok.
Createuser and db:
# su - postgres
-bash-3.2$ createuser XYZ
-bash-3.2$ createdb -O XYZ XYZ
ftp
service vsftpd start
chkconfig vsftpd on
Add data to db
# psql -U XYZ < XYZ.sql
Apache
As above.
Perl stuff
Started with:
# yum install postgresql-devel.x86_64
# yum install gcc
since pg_config and gcc is needed when running:
# cpan install Bundle::DBD::Pg
When checking things out with get_datasources.pl (from the book) make sure to use a user that can read db and script. I added XYZ as a unix user and copied the script to ~ before getting it to work. Don’t know why though.
# cpan install Catalyst::Devel
Results in a million dependencies, just said yes to everything. Something was installed.
No comments:
Post a Comment