Below are the step-by-step instructions of how to install TACTIC on Fedora 12.
There are no known issues with running a TACTIC server on Fedora 12.
Southpaw Technology has chosen to distribute their virtual machine for evaluation on Fedora 12.
Log in as the root user.
Open the passwd file.
vi /etc/passwd
Modify the apache home directory and login shell to look like the following:
apache:x:48:48:Apache:/home/apache:/bin/bash
Set password for apache to: south123paw
passwd apache
Open to the sudoers file.
visudo
Add the apache user by including the following line in the appropriate location in the file:
apache ALL=(ALL) ALL
Create the home directory for apache.
mkdir /home/apache chown apache:apache /home/apache chmod a+rx /home/apache
Disable SElinux.
vi /etc/selinux/config
Install modules.
yum install -y gcc zlib-devel samba libxslt-devel libxml2-devel postgresql-server postgresql-devel
Disable firewall.
/etc/init.d/iptables save /etc/init.d/iptables stop
Create and open the index.html for redirection.
vi /var/www/html/index.html
Insert the following contents:
<META http-equiv="refresh" content="0;URL=/tactic">
Re-login as the apache user.
Download the TACTIC source code and setup the service.
Open the following link in a web browser
http://support.southpawtech.com/downloads
Setup the TACTIC service.
cd /tmp unzip tactic_#.#.#.#.zip sudo cp /tmp/tactic_#.#.#.#/src/install/service/tactic /etc/init.d sudo chmod 775 /etc/init.d/tactic sudo /sbin/chkconfig tactic on
Setup Postgres.
sudo /etc/init.d/postgresql start sudo cp /tmp/tactic_#.#.#.#/src/install/postgresql/pg_hba.conf /var/lib/pgsql/data sudo chown postgres:postgres /var/lib/pgsql/data/pg_hba.conf sudo /sbin/chkconfig postgresql on sudo /etc/init.d/postgresql restart
Setup Apache.
sudo cp /home/apache/tactic_data/config/tactic.conf /etc/httpd/conf.d/ sudo /sbin/chkconfig httpd on sudo /etc/init.d/httpd start
Install TACTIC.
cd /tmp/tactic_#.#.#.#/src/install sudo python install.py sudo /sbin/chkconfig tactic on sudo chown -R apache:apache /home/apache/tactic /home/apache/assets /home/apache/tactic_data /home/apache/tacticTemp
Upgrade the database.
python /home/apache/tactic/src/bin/upgrade_db.py
Startup TACTIC in dev mode.
python /home/apache/tactic/src/bin/startup_dev.py
Try accessing TACTIC through a web browser on a client machine.
Once startup_dev works, Ctrl^C out of the process.
Ctrl^C
Start TACTIC as a service.
sudo /etc/init.d/tactic start
End of installation instructions.