Home Installation Installation Guide for Gentoo Linux
|
|
Installation Guide for Gentoo Linux |
|
|
|
|
Written by Administrator
|
|
Friday, 23 June 2006 |
Describes how to use the ebuilds to install ast and ta-lib.
This guide with describe how to install ast on a Gentoo Linux system using the ebuilds provided. AST is not part of portage's packages yet. You will need to setup a portage overlay, if you haven't done so already, to use the ebuilds for ast.
Setting up a Portage Overlay
To create a portage overlay, added the following line to your /etc/make.conf:
PORTDIR_OVERLAY="/usr/local/portage"
Also, you should create this directory:
mkdir -p /usr/local/portage Installing AST
First, we need to install the ebuild. Go into your portage overlay directory, download and extract the ebuild files. Make sure to replace the file name here with latest version of AST:
cd /usr/local/portage wget http://easynews.dl.sourceforge.net/sourceforge/ast/ast-ebuild-0.2.0_pre2.tar.gz tar -xf ast-ebuild-0.2.0_pre2.tar.gz rm ast-ebuild-0.2.0_pre2.tar.gz
Now that your have the AST ebuilds, you can install AST using emerge. AST is currently masked, so make sure to unmask it first. You don't need to download any other files, or worry about dependancies. The ebuild takes care of installing ta-lib as well.
echo "www-apps/ast ~x86" >> /etc/portage/package.keywords emerge ast
Configuration
The last things you need to do are configure apache and load the crontab. If you have previously installed ast, you can skip this setp. Add the following to your /etc/apache2/httpd.conf (at the bottom is fine):
<Directory "/var/www/localhost/htdocs/ast"> AllowOverride All Options ExecCGI SetHandler cgi-script DirectoryIndex ast </Directory>
You need to restart apache to make it load the new settings:
/etc/init.d/apache2 restart
You also need to load the crontab for ast:
crontab /var/www/localhost/htdocs/ast/share/example/crontab
Using AST
To use AST, simply navigate to http://localhost/ast/ast. |
|