Forum Replies Created
-
AuthorPosts
-
ElgertS
ParticipantStep 10: Add Fetchmail entry to Crontab
Backup crontab located in /private/var and update with the following info to run every minute:
[code]# /etc/crontab
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
#*/5 * * * * root /usr/libexec/atrun
#
# Run daily/weekly/monthly jobs.
15 3 * * * root periodic daily
30 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
* * * * * root /usr/bin/fetchmail -f /.fetchmailrc[/cron]ElgertS
ParticipantStep 9: Create email account for zenBot
Using the email name you chose when creating your .fetchmailrc file, configure a mail account with the same username and password on your mail server.
ElgertS
ParticipantStep 8: Login and enable mail gateway
Load the zenTrack system with your browser and log in with:
user: Administrator
pass: adminMake sure the change these immediately to something more secure.
Go to the “admin” section and select “Configuration Settings”.
Set “email interface enabled” to “On”
ElgertS
ParticipantStep 7: Create MySQL database
Using PHPMyAdmin create a new database called “zenTrack”. Using the SQL tab within your new database in PHPMyAdmin select the from the Install directory the “build_mysql.sql” followed by the “seed_mysql.sql” files.
ElgertS
ParticipantStep 6: Configure Fetchmail
Create a .fetchmailrc file at the root of your drive.
[code:1:29aa7acd6b]sudo pico .fetchmailrc[/code:1:29aa7acd6b]
Inside Pico’s editor add the following:
[code:1:29aa7acd6b]poll <add your mail server> proto pop3 user "<your zenbot user> pass "<password for zenbot>" mda "<path to egate.php>"[/code:1:29aa7acd6b]
Example:
[code:1:29aa7acd6b]poll mail.myserver.com proto pop3 user "tickets" pass "password" mda ‘/Library/WebServer/Documents/www/zentrack/includes/egate.php'[/code:1:29aa7acd6b]
ElgertS
ParticipantStep 5: Edit php.ini
Identify the correct path to your PEAR installation:
set “extension_dir” to: “/usr/local/php/lib/php”
ElgertS
ParticipantStep 4: Install Mail:Mime with PEAR
Mail:Mime is required for the integration with your mail server. It can be downloaded from this link:
http://pear.php.net/get/Mail_Mime
Install with the following command:
sudo /sur/local/php/bin/pear install <full path to the Mail.Mime-1.2.1.tar you downloaded>
ElgertS
ParticipantStep 3: Edit Environment
Edit or create a .login file in uer home directory that your server boots in. This is an invisible file that is used on startup to edit the environment for the system.
The PATH must have the additional entry of:
/usr/local/bin
Here is an example .login file:
[code:1:6fc35146d6]setenv PATH /bin:/sbin:/usr/bin:/usr/sbin:usr/local/bin
setenv JAVA_HOME /Library/Java/Home
setenv FEDORA_HOME /usr/local/fedora-1.2setenv WITANGO_PATH=/Applications/Witango/Server
export WITANGO_PATH
[/code:1:6fc35146d6]ElgertS
ParticipantStep 2: Install zenTrack files
Create or choose a directory on your web server that you want to host zenTrack from. From the install directory you downloaded in step 1 copy the files within “www” to the site directory you created for zenTrack.
Copy the “includes” directory to a secure location outside the website directory.
Edit the following permissions:
[code:1:de55a442c6]chmod 777 includes/logs
chmod 777 includes/cache
chmod -R 755 www/images
chmod 755 www/javascript.js
chmod 755 www/styles.php
chmod 755 includes/egate_check.php
chmod 755 includes/egate.php[/code:1:de55a442c6]
ElgertS
ParticipantStep 1: Download zenTrack
http://prdownloads.sourceforge.net/zentrack/zentrack_2-4-4.zip?download
This release is the final version of zenTrack 2. zenTrack 3 will begin beta in April. I am linking to the Zip archive due to Mac OS X Panther’s preference for Zip files.
ElgertS
ParticipantI haven’t seen this one before and will look into it. However, I am posting an alternative called zenTrack that is quite good.
ElgertS
ParticipantI haven’t tried installing this, but here is the link for it:
ElgertS
ParticipantJoel,
I tried to implement these instructions but get errors with Postfix until I remove the lines I added. Are there any changes with the version of Postfix in 10.3.1 of the Server? I know you can’t run the rehash command in the BASH shell so I just wanted to verify these instructions.
Thanks!
ElgertS
ParticipantStep 5: Configuring IRM
Explore the IRM interface once the system is running. As I mentioned earlier you can have multiple networks you manage in IRM. I suggest you use this initial install as a template. Your first step in customizing it to your needs will be to go to the Setup screen. There is plenty to do here. At the top are several links to topics such as setting up users, IRM, a Knowledgebase etc. Below this are pull down menus for various topics including: Locations, Computer Types, Operating Systems and much more. Start with these pull down menus and remove those that don’t apply to your needs and add those you are missing from the list. If you are using this as a template you probably want to remove all entries in Locations and fill the other options with the possibilities you imagine for the networks you will be managing.
Now go back to the top and click on the “Manage Templates” option and set up templates for the basic computer types you normally will be working with. This will make it very easy to add computers to your IRM networks.
When you have your basic template IRM database completed you can export it completely via PHPMyAdmin’s Export option and import it into a new database. I suggest you name this working databases as such: “irm_network1”, “irm_network2”, etc.
Finally, open the index.php file and search for this section:
[code:1:3d24966600]$databases = array(’irm’ => ‘IRM.
‘irm_network2’ => ‘Network2’,
‘irm_network3 => ‘Network3’);
[/code:1:3d24966600]Copy the last line and duplicate it below it, making appropriate changes for each of the networks you are setting up in additional databases. Note you must close the array with “);” while each line ends in a comma.
If you are upgrading from an older version of IRM you will note this is quite different than the previous procedure.
ElgertS
ParticipantStep 4: Authenticate into IRM
You can now launch your web browser and point to the url you configured for IRM. It will take you through the configuration process and populate your database. Once it is completed you can authenticate into IRM using the following information:
user name: Admin
password: adminYou can then change the authentication info from these defaults for greater security.
-
AuthorPosts
Recent Comments