Installing Adobe Campaign Classic 6 on Centos 7

Here, you can find the instructions to install an Adobe Campaign Classic 6 full installation for non-production use.

yum -y install httpd java-1.8.0-openjdk perl postgresql-server xorg-x11-fonts-base xorg-x11-fonts-75dpi bitstream-vera-fonts dejavu-lgc-fonts ipa-gothic-fonts ipa-mincho-fonts libreoffice-headless libreoffice-writer libreoffice-calc

yum install nlserver6-9026-x86_64_rh7.rpm # upload your file to the server first

postgresql-setup initdb # initialise the database
vi /var/lib/pgsql/data/pg_hba.conf # add host all all trust
vi /var/lib/pgsql/data/postgresql.conf # uncomment and update "listen_addresses = '*' "

systemctl enable postgresql # activate the server on startup
systemctl start postgresql # start the server
netstat -tulpn | grep 5432 # verify opened port
su - postgresql # log in as the postgresql user
psql postgres # connect to the PostgreSQL server with the client
\q # to quit again straight away
createuser campaign --pwprompt # the option pwprompt did not work for me.
createdb campaign -O campaign # assign the user to the DB

su - neolane
vi /etc/httpd/conf.modules.d/00-base.conf # follow the campaign instructions
mv /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/autoindex.conf-disabled
#add directory directive to campaign.conf to allow apache usage 
vi /etc/systemd/system/httpd.service # update the service according to documentation
systemctl daemon-reload
usermod -a -G neolane apache
usermod -a -G apache neolanesystemctl enable httpd