hi all,

just a quick news, i've started working with the debian guys to make
a debian packet for care2x and put it on the debian med repository
to help others with the install process.

gj.

Mark Alan wrote:
> Care2x 2.6-Gjergj - HowTo install using an Ubuntu Linux LEMP server
>
> Installing care in a reliable Linux server is now a simple and easy 
> procedure.
>
> We would like to thank Gjergj Sheldija for the changes that he 
> introduced to the arcane Care2x PHP code in order to make it work under 
> the most recent web tools.
>
> This Care2x setup will reliably serve at least a 1000 requests per 
> minute without any visible stress. We look forward to see a Transaction 
> enabled PostgreSQL/EnterpriseDB/Oracle port of this code.
>
>
> I hope that this will make it easier to setup reliable and inexpensive 
> hospital/clinic servers
>
>
> Regards,
>
> M.
>
>
> ---
>
> Materials:
> - bare metal pc with 1GHz P4 CPU, 512MB RAM, 320GB HD
>
> Methods:
> - We did a setup from bare metal using, exclusively, Open Source 
> software to serve the Care2x HIS supporting software package from (a 
> farm of) Ubuntu 8.04.1 LEMP servers (LEMP = Linux + Nginx WebServer + 
> MySQL + PHP).
> - The install procedure included the installation of the supporting 
> system  (PART A) and the installation of Gjergj's Care2x 2.6 from the 
> SVN (PART B)
>
> Comment:
> - The total setup time, from bare metal to fully working Care2x System, 
> including downloading of software was 36 minutes
>
> Description of the install procedure:
>
> #
> ## start of procedure
> #
> *PART A) Installing the supporting system*
>
> 1. Setup Ubuntu 8.04.1 LTS server
>
> 2. Setup Nginx Web server
>       # We used Nginx not only because it uses far less resources than 
> Apache, but also because it is more stable, orders of magnitude faster 
> and is easily scalable to large clusters. We opted for Nginx ver. 0.6.32 
> from the Debian repositories has fewer bugs and better functionality 
> than the version in Ubuntu Hardy 8.04 LTS repositories. It consistently 
> installed without any problems and has been working reliably .
>       - wget 
> http://http.us.debian.org/debian/pool/main/n/nginx/nginx_0.6.32-3_i386.deb
>       - sudo gdebi nginx_0.6.32 nginx_0.6.32-3_i386.deb
>       - sudo /etc/init.d/nginx start
>       # browse to http://localhost/ and you should get the spartan nginx 
> welcome screen.
>
> 3. Setup PHP and FastCGI
>       - sudo aptitude install --without-recommends php5-cli php5-cgi 
> php5-mysql php5-gd php5-sqlite
>       - sudo sed -i~ -e '/^magic_quotes_gpc/ s/=\(.*\)On/= Off/' 
> /etc/php5/cgi/php.ini
>       # Unlike Apache, Nginx does not have a way to spawn php5-cgi. To serve 
> PHP code/pages, we needed to setup an independent spawner. We tested 
> both the scripts from: 
> <http://www.mail-archive.com/[EMAIL PROTECTED]/msg352883.html> 
> and other methods, like borrowing the spawn-fcgi code from lighttpd 
> 1.4.20 project. They are both reliable methods that resisted well our 
> intentionally started server reboots.
>
> 4. Setup MySQL:
>      - sudo aptitude install --without-recommends mysql-server
>      - sudo mysql_secure_installation
>      - sudo /etc/init.d/mysql restart
>      - sudo aptitude install --without-recommends php5-gd php5-sqlite
>      - sudo sed -i~ -e '/^magic_quotes_gpc/ s/=\(.*\)On/= Off/' 
> /etc/php5/cgi/php.ini # disable magic quotes
>
> 5. Setup phpMyAdmin
>       - sudo aptitude install --without-recommends phpmyadmin
>               # press <ENTER> when asked for the "Web server to reconfigure 
> automatically:"
>       - sudo ln -sf /usr/share/phpmyadmin /var/www/nginx-default/
>       - browse to <http://localhost/phpmyadmin> and test it.
>
> *PART B)  Installing Care2x  2.6 from the SVN*
>
>       - mkdir /tmp/care2x-svn
>       - cd /tmp/care2x-svn
>       - svn co https://care2002.svn.sourceforge.net/svnroot/care2002/trunk/2.6
>       - sudo mv /tmp/care2x-svn/2.6 /home/care2x
>       - sudo chown -R www-data.www-data /home/care2x
>       - sudo ln -sf /home/care2x /var/www/nginx-default/care2x
>       - browse to: http://localhost/care2x/  and continue the installation 
> procedure from there.
>
> browse to <http://localhost/care2x/index.php> to use care2x
> #
> ## end of procedure
> #
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Care2002-developers mailing list
> Care2002-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to