Home / Lasso 9 Setup Guide / Installation / Configuring on Linux

Configuring on Linux


The following article originally appeared on LassoTech as "Installing Lasso 9 using Yum on CentOS 5", by LassoSoft staff, and was updated by Steve Piercy.

Configuring Yum

Lasso 9 can be installed on CentOS using the yum utility. To do so, however, a custom config file must be added to point to LassoSoft's yum repository.

  1. Create /etc/yum.repos.d/CentOS5-Lasso9.repo
  2. Include the contents below
[lassosoft]
name=LassoServer
failovermethod=priority
baseurl=http://centosyum.lassosoft.com/
enabled=1
gpgcheck=0
http_caching=packages

[lassosoft-eu]
name=LassoSoft-EU
failovermethod=priority
baseurl=http://83.96.156.187/downloads/LIN/
enabled=1
gpgcheck=0
http_caching=packages

Installing Lasso 9

Once LassoSoft's yum repository has been added, Lasso 9 can be easily installed using yum.

  1. Login as root
  2. Run: `yum install LassoServer`

If you get an error after the command above that looks like the following, then you need to install mod_fastcgi.

apachectl: Configuration syntax error, will not run "restart":
httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/lasso9.apache2.conf: Cannot load /etc/httpd/modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory

To correct this error, run the script installed by the yum installer for LassoServer:

/usr/local/lib/lasso/Apache2Conf/install_mod_fastcgi

You might also need to add "index.lasso" to this directive in /etc/httpd/conf/httpd.conf:

DirectoryIndex index.lasso index.html index.html.var

Do an apachectl configtest and if it responds with "Syntax OK", then do apachectl graceful.

Put the following into the webroot of your website to test whether Lasso 9 is running properly.

[
lasso_version
'<br>';
date
]

    Post a comment

    Your Name or E-mail ID (mandatory)

     

    Note: Your comment will be published after approval of the owner.




     RSS of this page