Skip to content

Instantly share code, notes, and snippets.

@milin
Created January 29, 2010 05:15
Show Gist options
  • Save milin/289473 to your computer and use it in GitHub Desktop.
Save milin/289473 to your computer and use it in GitHub Desktop.
Check and see if the system has the latest MySql, PHP and APACHE
Unzip and untar the file Epiware-***.tar.gz tar xvfz Epiware-***.tar.gz
Change into the Epiware-*** directory cd Epiware*
Login as root su
Run the install script ./install
** After the installation copy or move the extracted Epiware directory to your /var/www in the system.
Install does 3 important steps.
1. Create a dir called /storage/document_area
2. Copies binaries to /storage/binaries
3. Copies share/antiword to /usr/share/antiword
You can change the location /storage/document_area
If you change this location, you must
tell the application to look in this new location
in the config.inc.php.
You will need to update each of the folowing, to where
documents will be stored, if different.
define("DOCUMENT_DIRECTORY","/storage/document_area");
define("CALENDAR_ATTACHMENT_DIRECTORY","/storage/attachments");
define("IMAGE_GALLERY_PATH","/storage/document_area");
define("ERROR_LOG_PATH", "/storage/document_area");
//a document area for wiki-group banners - unlike document area, this cannot be changed w/o moving all files at a later date
define("EPI_BANNER_DIRECTORY","/storage/document_area");
Likewise if you change the location of the binaries you will also
need to update the config.inc.php variable
define("BINARY_LOCATION", "/storage/binaries");
Make sure you chance this to anything other than what is delivered.
This makes the encryption on your URL unique
define("KEY", "my_unique_key_example");
1. Create tables in the Database with project_db.sql! */
/* mysql -u root -p < epi/project_db.sql */
/* */
/* */
/* 2. Copy recursively the files in from epi to your webserver */
/* example (cp -r epi /usr/local/apache/htdocs) */
/*
- The first person that logs into Epiware
will be the ROOT user. He has full control of the applicaiton.
Other users can also be designated as root after they are created.
- By default, php expects to find the mysql.sock file at /tmp/mysql.sock
If your mysql.sock file is located in another directory, you will have
to edit the EPIware configuration file (./config.inc.php).
Edit the line that contains 'define( "IP_ADDRESS","localhost");' to
'define( "IP_ADDRESS","localhost:/path/to/mysql.sock");' where
/path/to/mysql.sock is the complete path to your mysql.sock file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment