SlideShare a Scribd company logo
How to install & run.




Arturo Borrero González
Februay 2011
cer.inet@gmail.com




                                                   This document is distributed under “CC-BY-SA 3.0” license.
                                             You are free to copy, modify and redistribute with the same license.
                                    A full explanation of the license can be found at creative-commons website.
How to install & run                                                                      Arturo Borrero González

                                                                                               FIRST STEPS

       Through this document I will try to explain how to install and run a mixture of different
software in order to get a fully-functional web-system with several services (phpbb forum,
openatrium CMS, etc..) over the bitnami's LAMP stack.

The specific objectives are:

        1. Install BitNami LAMP Stack from the bitnami.org web site and install a BitNami module
        (phpbb) on top of it.

        2. Install the http://openatrium.com/ application manually on top of LAMP Stack.

        The OS used in this tutorial is Debian Squeeze amd64, libre-software.

First, we download the BitNami's LAMP Stack from the official website. You can get it with your
web browser or using “wget” tool:

http://bitnami.org/files/stacks/lampstack/1.2-4/bitnami-lampstack-1.2-4-linux-installer.bin


As you can see, it's a binary file, so we need to give execution permission. An easy way to do it is
with “chmod” tool:

arturo@nostromo:~/Downloads$ chmod u+x bitnami-lampstack-1.2.4-linux-intaller.bin

arturo@nostromo:~/Downloads$ ls -l bitnami-lampstack-1.2-4-linux-installer.bin
-rwxr--r-- 1 arturo arturo 63678123 feb 14 22:01 bitnami-lampstack-1.2-4-linux-installer.bin


Now we can start the installation. We have an easy-to-follow installer, so you don't have to worry
about much: just installation path and database password.
In this example, the installation path will be “/usr/local/bin/bitnami/”. I have previously created and
given the appropriate permissions to the directory.




February 2011                                                                                            Pag. 2/9
How to install & run                                                    Arturo Borrero González

By the installation end, all will be working right:

arturo@nostromo:~/Downloads$ netstat -putan | grep httpd
tcp6   0    0 :::8080       :::*              LISTEN 5087/httpd




The process for installing PHPbb forum is mostly the same: get the software from BitNami's web
site and run the installer.




February 2011                                                                            Pag. 3/9
How to install & run                                                                         Arturo Borrero González

You have to specify the previous LAMP installation path, mysql database password and the
user/pass for the phpbb administrator.




At this moment, we have a fully-functional phpbb forum, just with a couple of clicks.

To manage the apache/mysql server, BitNami provides an excellent “sh” script that simplifies the
tasks a lot:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh status apache
apache already running

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh status mysql
mysql already running

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh stop apache
Syntax OK
/usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd stopped

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh start apache
Syntax OK
/usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd started at port 8080


But the most challenging is the next: installation of the openatrium CMS in our LAMP stack.




February 2011                                                                                               Pag. 4/9
How to install & run                                                                    Arturo Borrero González

                                                                        OPENATRIUM DEPLOY

         We begin downloading the software from the official website. Again through any web
browser or “wget” tool.
It's a good moment to stop and read the current version documentation of OpenAtrium.

http://openatrium.com/sites/openatrium.com/files/atrium_releases/atrium-1-0-beta9.tgz


We are going to do a “manual” installation, so we start with the command line:

   1. Untar the openatrium package:

arturo@nostromo:~# tar -zxvf atrium-1-0-beta9.tgz


   2. Move files to a directory within our LAMP installation. We use “/apps/” because it seems to
      be the folder of installed applications.

arturo@nostromo:$ mv atrium-1-0-beta9 /usr/local/bin/bitnami/lampstack-1.2-4/apps/


   3. Then we need to prepare the installation. Inside the openatrium's directory, copy
      “sites/default/default.settings.php” into a new file called “settings.php” with the same path
      route.

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites$ cp default.settings.php 
settings.php


   4. In order to get the installation process working fine, we need to set some permissions here,
      to the “settings.php” file and ”sites/default/” folder:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites$ chmod a+w default/

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites/default$ chmod a+w settings.php


   5. We are now setting up our LAMP mysql database. Some DCL code are included :)
      Notice you have to use “./” to run LAMP's mysql binaries instead of another binaries you
      might have in your local system:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/mysql/bin$ ./mysqladmin -u root -p create openatrium
Enter password:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/mysql/bin$ ./mysql -u root -p
Enter password:
mysql>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
TEMPORARY TABLES, LOCK TABLES
     >ON openatrium.*
     >TO 'root'@'localhost' IDENTIFIED BY 'lamp_mysql_installation_pass';
mysql>exit
        (note: administrate, manage and/or secure the database exceeds the purposes of this tutorial)


February 2011                                                                                               Pag. 5/9
How to install & run                                                                         Arturo Borrero González

   6. Following BitNami's LAMP configuration philosophy, now we can make some changes in
      our openatrium's folder architecture in order to get along with LAMP's apache. We will
      make both “htdocs” and “conf” sub-folders. The first containing all openatrium's web-files,
      and the last with apache specific configuration:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mkdir htdocs

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mv * htdocs/

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mkdir conf

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ ls
htdocs conf


   7. Now we add some apache configuration for openatrium. Pay attention to all path routes we
      are using:

            FILE: /usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/conf/openatrium.conf
Alias /openatrium/ "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs/"
Alias /openatrium "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs"

<Directory "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs">
  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>


   8. We need to tell apache where is the openatrium's config file:

                       FILE: /usr/local/bin/bitnami/lampstack-1.2-4/apache2/conf/httpd.conf
[…]
[…]
Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/phpmyadmin/conf/phpmyadmin.conf"
Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/phpBB3/conf/phpbb3.conf"
Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/conf/openatrium.conf"


   9. At this point, we are near to end. Just relaunch LAMP's apache to start the configuration of
      openatrium itself:

arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh restart apache
Syntax OK
/usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd stopped
Syntax OK
/usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd started at port 8080


   10. In the next steps we will be following the visual configuration environment of openatrium.
       Openatrium needs to fill the database with his data. The configuration process it's so easy
       and its similar to another CMS called “drupal”.



February 2011                                                                                               Pag. 6/9
How to install & run                                                       Arturo Borrero González

   11. Type in the browser “localhost:8080/openatrium/install.php”. If all is working fine, then you
       should see an image like the screenshot below. Select the “Open Atrium” installation:




   12. Configure openatrium's connection to the LAMP database. You really don't need advanced
       settings here:




February 2011                                                                               Pag. 7/9
How to install & run                                                       Arturo Borrero González

   13. Then Open Atrium starts populating the database and configuring itself. It will take a
       moment:




   14. Add some local information about the website:




February 2011                                                                               Pag. 8/9
How to install & run                                                     Arturo Borrero González

   15. Open Atrium will now download and install some additional components. It's an automatic
       process. Depending on your internet connection, it will take a while:




   16. If all went well, congratulations, now you have Open Atrium integrated in your BitNami's
       LAMP stack.




February 2011                                                                            Pag. 9/9

More Related Content

What's hot

Running Symfony
Running SymfonyRunning Symfony
Running Symfony
Wildan Maulana
 
LAMP security practices
LAMP security practicesLAMP security practices
LAMP security practices
Amit Kejriwal
 
OpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 WorkshopOpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 Workshop
Iban Nieto Castillero
 
pfSense Installation Slide
pfSense Installation SlidepfSense Installation Slide
pfSense Installation Slide
Sopon Tumchota
 
How to run_moses 2
How to run_moses 2How to run_moses 2
How to run_moses 2
Mahmoud Eid
 
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSHTame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
David Stockton
 
Cups start
Cups startCups start
Cups start
rajanastervp
 
manual-doc_inst_macosx-20-05-2004_00-24-48
manual-doc_inst_macosx-20-05-2004_00-24-48manual-doc_inst_macosx-20-05-2004_00-24-48
manual-doc_inst_macosx-20-05-2004_00-24-48
tutorialsruby
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Chetan Soni
 
Final Report - Spark
Final Report - SparkFinal Report - Spark
Final Report - Spark
Syed Danyal Khaliq
 
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010
Brad Williams
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
Chetan Soni
 
Mit nginx und FastCGI skalieren
Mit nginx und FastCGI skalierenMit nginx und FastCGI skalieren
Mit nginx und FastCGI skalieren
Mayflower GmbH
 
Sayoo odoo open_erp
Sayoo odoo open_erpSayoo odoo open_erp
Sayoo odoo open_erp
AmineArrahmane Achargui
 
Serving Moodle Presentation
Serving Moodle PresentationServing Moodle Presentation
Serving Moodle Presentation
webhostingguy
 
Fail2ban
Fail2banFail2ban
Fail2ban
Ruslan Conk
 
How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012
Chukwuma Onyeije, MD, FACOG
 
InstallingRoRinLinux
InstallingRoRinLinuxInstallingRoRinLinux
InstallingRoRinLinux
tutorialsruby
 
01 boot process
01 boot process01 boot process
01 boot process
Capitan Acheron Acheron
 
Light my-fuse
Light my-fuseLight my-fuse
Light my-fuse
Workhorse Computing
 

What's hot (20)

Running Symfony
Running SymfonyRunning Symfony
Running Symfony
 
LAMP security practices
LAMP security practicesLAMP security practices
LAMP security practices
 
OpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 WorkshopOpenSolaris 2009.06 Workshop
OpenSolaris 2009.06 Workshop
 
pfSense Installation Slide
pfSense Installation SlidepfSense Installation Slide
pfSense Installation Slide
 
How to run_moses 2
How to run_moses 2How to run_moses 2
How to run_moses 2
 
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSHTame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
Tame Your Build And Deployment Process With Hudson, PHPUnit, and SSH
 
Cups start
Cups startCups start
Cups start
 
manual-doc_inst_macosx-20-05-2004_00-24-48
manual-doc_inst_macosx-20-05-2004_00-24-48manual-doc_inst_macosx-20-05-2004_00-24-48
manual-doc_inst_macosx-20-05-2004_00-24-48
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
 
Final Report - Spark
Final Report - SparkFinal Report - Spark
Final Report - Spark
 
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
Mit nginx und FastCGI skalieren
Mit nginx und FastCGI skalierenMit nginx und FastCGI skalieren
Mit nginx und FastCGI skalieren
 
Sayoo odoo open_erp
Sayoo odoo open_erpSayoo odoo open_erp
Sayoo odoo open_erp
 
Serving Moodle Presentation
Serving Moodle PresentationServing Moodle Presentation
Serving Moodle Presentation
 
Fail2ban
Fail2banFail2ban
Fail2ban
 
How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012How to Install ArchLinux to a USB Flashdrive in 2012
How to Install ArchLinux to a USB Flashdrive in 2012
 
InstallingRoRinLinux
InstallingRoRinLinuxInstallingRoRinLinux
InstallingRoRinLinux
 
01 boot process
01 boot process01 boot process
01 boot process
 
Light my-fuse
Light my-fuseLight my-fuse
Light my-fuse
 

Viewers also liked

изобразительное искусство англии
изобразительное искусство англииизобразительное искусство англии
изобразительное искусство англии
Glavatskikh
 
Badgers, bagels and big ideas
Badgers, bagels and big ideasBadgers, bagels and big ideas
Badgers, bagels and big ideas
LBi User Experience
 
How to Sell Ideas
How to Sell IdeasHow to Sell Ideas
How to Sell Ideas
LBi User Experience
 
Methods of the second FL
Methods of the second FLMethods of the second FL
Methods of the second FL
Glavatskikh
 
Nb的敏捷
Nb的敏捷Nb的敏捷
Nb的敏捷
oulan
 
面向“对象”的编程模式
面向“对象”的编程模式面向“对象”的编程模式
面向“对象”的编程模式
oulan
 

Viewers also liked (7)

изобразительное искусство англии
изобразительное искусство англииизобразительное искусство англии
изобразительное искусство англии
 
Badgers, bagels and big ideas
Badgers, bagels and big ideasBadgers, bagels and big ideas
Badgers, bagels and big ideas
 
How to Sell Ideas
How to Sell IdeasHow to Sell Ideas
How to Sell Ideas
 
Methods of the second FL
Methods of the second FLMethods of the second FL
Methods of the second FL
 
Nb的敏捷
Nb的敏捷Nb的敏捷
Nb的敏捷
 
面向“对象”的编程模式
面向“对象”的编程模式面向“对象”的编程模式
面向“对象”的编程模式
 
Dysonans
DysonansDysonans
Dysonans
 

Similar to How to install Open Atrium over LAMP stack

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
Wirabumi Software
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
Orangescrum
 
snortinstallguide
snortinstallguidesnortinstallguide
snortinstallguide
Liễu Hồng
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registry
Vipin Mandale
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
kesavan N B
 
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
Pablo Martínez Ascaso
 
TinyOS installation Guide And Manual
TinyOS installation Guide And ManualTinyOS installation Guide And Manual
TinyOS installation Guide And Manual
Ankit Singh
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
shahab071
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2
Trinh Tuan
 
2 how to-build_document_management_system
2 how to-build_document_management_system2 how to-build_document_management_system
2 how to-build_document_management_system
Kichiemon Adachi
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guide
Daouni Monsite
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0
venkatakrishnan k
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
Ajaigururaj R
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Taoufik AIT HSAIN
 
Odoo 13 installation on ubuntu 19.04
Odoo 13 installation on ubuntu 19.04Odoo 13 installation on ubuntu 19.04
Odoo 13 installation on ubuntu 19.04
PlanetOdoo
 
Dexterity in 15 minutes or less
Dexterity in 15 minutes or lessDexterity in 15 minutes or less
Dexterity in 15 minutes or less
rijk.stofberg
 
Wissbi osdc pdf
Wissbi osdc pdfWissbi osdc pdf
Wissbi osdc pdf
Chris Huang
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4
Nutan Kumar Panda
 
Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User Manual
Orangescrum
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
bpowell29a
 

Similar to How to install Open Atrium over LAMP stack (20)

How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
 
snortinstallguide
snortinstallguidesnortinstallguide
snortinstallguide
 
Jfrog artifactory as private docker registry
Jfrog artifactory as private docker registryJfrog artifactory as private docker registry
Jfrog artifactory as private docker registry
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
 
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
 
TinyOS installation Guide And Manual
TinyOS installation Guide And ManualTinyOS installation Guide And Manual
TinyOS installation Guide And Manual
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Snort296x centos6x 2
Snort296x centos6x 2Snort296x centos6x 2
Snort296x centos6x 2
 
2 how to-build_document_management_system
2 how to-build_document_management_system2 how to-build_document_management_system
2 how to-build_document_management_system
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guide
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
Obiee 11.1.7.0 step by step installation on linux (rhel – red hat)
 
Odoo 13 installation on ubuntu 19.04
Odoo 13 installation on ubuntu 19.04Odoo 13 installation on ubuntu 19.04
Odoo 13 installation on ubuntu 19.04
 
Dexterity in 15 minutes or less
Dexterity in 15 minutes or lessDexterity in 15 minutes or less
Dexterity in 15 minutes or less
 
Wissbi osdc pdf
Wissbi osdc pdfWissbi osdc pdf
Wissbi osdc pdf
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4
 
Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User Manual
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 

More from cercer

Alta Disponibilidad - CICA
Alta Disponibilidad - CICAAlta Disponibilidad - CICA
Alta Disponibilidad - CICA
cercer
 
cortafuegos_doble_pila_linux
cortafuegos_doble_pila_linuxcortafuegos_doble_pila_linux
cortafuegos_doble_pila_linux
cercer
 
Firewall en cluster de alta disponibilidad
Firewall en cluster de alta disponibilidadFirewall en cluster de alta disponibilidad
Firewall en cluster de alta disponibilidad
cercer
 
Iptables
IptablesIptables
Iptables
cercer
 
Tutorial Rsyslog Debian Squeeze
Tutorial Rsyslog Debian SqueezeTutorial Rsyslog Debian Squeeze
Tutorial Rsyslog Debian Squeeze
cercer
 
Firewall iptables
Firewall iptablesFirewall iptables
Firewall iptables
cercer
 
Memoria sobre Squid3
Memoria sobre Squid3Memoria sobre Squid3
Memoria sobre Squid3
cercer
 
Documentacion cap2 windows 7
Documentacion cap2 windows 7Documentacion cap2 windows 7
Documentacion cap2 windows 7
cercer
 
Documentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdfDocumentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdf
cercer
 
Documentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdfDocumentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdf
cercer
 

More from cercer (10)

Alta Disponibilidad - CICA
Alta Disponibilidad - CICAAlta Disponibilidad - CICA
Alta Disponibilidad - CICA
 
cortafuegos_doble_pila_linux
cortafuegos_doble_pila_linuxcortafuegos_doble_pila_linux
cortafuegos_doble_pila_linux
 
Firewall en cluster de alta disponibilidad
Firewall en cluster de alta disponibilidadFirewall en cluster de alta disponibilidad
Firewall en cluster de alta disponibilidad
 
Iptables
IptablesIptables
Iptables
 
Tutorial Rsyslog Debian Squeeze
Tutorial Rsyslog Debian SqueezeTutorial Rsyslog Debian Squeeze
Tutorial Rsyslog Debian Squeeze
 
Firewall iptables
Firewall iptablesFirewall iptables
Firewall iptables
 
Memoria sobre Squid3
Memoria sobre Squid3Memoria sobre Squid3
Memoria sobre Squid3
 
Documentacion cap2 windows 7
Documentacion cap2 windows 7Documentacion cap2 windows 7
Documentacion cap2 windows 7
 
Documentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdfDocumentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdf
 
Documentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdfDocumentacion cap2 windows 7 arturo pdf
Documentacion cap2 windows 7 arturo pdf
 

Recently uploaded

Tailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer InsightsTailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer Insights
SynapseIndia
 
The Impact of the Internet of Things (IoT) on Smart Homes and Cities
The Impact of the Internet of Things (IoT) on Smart Homes and CitiesThe Impact of the Internet of Things (IoT) on Smart Homes and Cities
The Impact of the Internet of Things (IoT) on Smart Homes and Cities
Arpan Buwa
 
Sonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdfSonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdf
SubhamMandal40
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
AmandaCheung15
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
maigasapphire
 
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
shanihomely
 
Camunda Chapter NY Meetup July 2024.pptx
Camunda Chapter NY Meetup July 2024.pptxCamunda Chapter NY Meetup July 2024.pptx
Camunda Chapter NY Meetup July 2024.pptx
ZachWylie3
 
Vulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive OverviewVulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive Overview
Steven Carlson
 
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
alexjohnson7307
 
BLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
BLOCKCHAIN TECHNOLOGY - Advantages and DisadvantagesBLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
BLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
SAI KAILASH R
 
Mastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for SuccessMastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for Success
David Wilson
 
kk vathada _digital transformation frameworks_2024.pdf
kk vathada _digital transformation frameworks_2024.pdfkk vathada _digital transformation frameworks_2024.pdf
kk vathada _digital transformation frameworks_2024.pdf
KIRAN KV
 
Improving Learning Content Efficiency with Reusable Learning Content
Improving Learning Content Efficiency with Reusable Learning ContentImproving Learning Content Efficiency with Reusable Learning Content
Improving Learning Content Efficiency with Reusable Learning Content
Enterprise Knowledge
 
Feature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptxFeature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptx
ssuser1915fe1
 
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptxMAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
janagijoythi
 
Integrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecaseIntegrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecase
shyamraj55
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
BrainSell Technologies
 
Gen AI: Privacy Risks of Large Language Models (LLMs)
Gen AI: Privacy Risks of Large Language Models (LLMs)Gen AI: Privacy Risks of Large Language Models (LLMs)
Gen AI: Privacy Risks of Large Language Models (LLMs)
Debmalya Biswas
 
Communications Mining Series - Zero to Hero - Session 3
Communications Mining Series - Zero to Hero - Session 3Communications Mining Series - Zero to Hero - Session 3
Communications Mining Series - Zero to Hero - Session 3
DianaGray10
 
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
FIDO Alliance
 

Recently uploaded (20)

Tailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer InsightsTailored CRM Software Development for Enhanced Customer Insights
Tailored CRM Software Development for Enhanced Customer Insights
 
The Impact of the Internet of Things (IoT) on Smart Homes and Cities
The Impact of the Internet of Things (IoT) on Smart Homes and CitiesThe Impact of the Internet of Things (IoT) on Smart Homes and Cities
The Impact of the Internet of Things (IoT) on Smart Homes and Cities
 
Sonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdfSonkoloniya documentation - ONEprojukti.pdf
Sonkoloniya documentation - ONEprojukti.pdf
 
Zaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdfZaitechno Handheld Raman Spectrometer.pdf
Zaitechno Handheld Raman Spectrometer.pdf
 
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
Girls Call Churchgate 9910780858 Provide Best And Top Girl Service And No1 in...
 
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
Premium Girls Call Mumbai 9920725232 Unlimited Short Providing Girls Service ...
 
Camunda Chapter NY Meetup July 2024.pptx
Camunda Chapter NY Meetup July 2024.pptxCamunda Chapter NY Meetup July 2024.pptx
Camunda Chapter NY Meetup July 2024.pptx
 
Vulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive OverviewVulnerability Management: A Comprehensive Overview
Vulnerability Management: A Comprehensive Overview
 
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
leewayhertz.com-Generative AI tech stack Frameworks infrastructure models and...
 
BLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
BLOCKCHAIN TECHNOLOGY - Advantages and DisadvantagesBLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
BLOCKCHAIN TECHNOLOGY - Advantages and Disadvantages
 
Mastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for SuccessMastering OnlyFans Clone App Development: Key Strategies for Success
Mastering OnlyFans Clone App Development: Key Strategies for Success
 
kk vathada _digital transformation frameworks_2024.pdf
kk vathada _digital transformation frameworks_2024.pdfkk vathada _digital transformation frameworks_2024.pdf
kk vathada _digital transformation frameworks_2024.pdf
 
Improving Learning Content Efficiency with Reusable Learning Content
Improving Learning Content Efficiency with Reusable Learning ContentImproving Learning Content Efficiency with Reusable Learning Content
Improving Learning Content Efficiency with Reusable Learning Content
 
Feature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptxFeature sql server terbaru performance.pptx
Feature sql server terbaru performance.pptx
 
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptxMAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
MAKE MONEY ONLINE Unlock Your Income Potential Today.pptx
 
Integrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecaseIntegrating Kafka with MuleSoft 4 and usecase
Integrating Kafka with MuleSoft 4 and usecase
 
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdfAcumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
Acumatica vs. Sage Intacct vs. NetSuite _ NOW CFO.pdf
 
Gen AI: Privacy Risks of Large Language Models (LLMs)
Gen AI: Privacy Risks of Large Language Models (LLMs)Gen AI: Privacy Risks of Large Language Models (LLMs)
Gen AI: Privacy Risks of Large Language Models (LLMs)
 
Communications Mining Series - Zero to Hero - Session 3
Communications Mining Series - Zero to Hero - Session 3Communications Mining Series - Zero to Hero - Session 3
Communications Mining Series - Zero to Hero - Session 3
 
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
UX Webinar Series: Essentials for Adopting Passkeys as the Foundation of your...
 

How to install Open Atrium over LAMP stack

  • 1. How to install & run. Arturo Borrero González Februay 2011 cer.inet@gmail.com This document is distributed under “CC-BY-SA 3.0” license. You are free to copy, modify and redistribute with the same license. A full explanation of the license can be found at creative-commons website.
  • 2. How to install & run Arturo Borrero González FIRST STEPS Through this document I will try to explain how to install and run a mixture of different software in order to get a fully-functional web-system with several services (phpbb forum, openatrium CMS, etc..) over the bitnami's LAMP stack. The specific objectives are: 1. Install BitNami LAMP Stack from the bitnami.org web site and install a BitNami module (phpbb) on top of it. 2. Install the http://openatrium.com/ application manually on top of LAMP Stack. The OS used in this tutorial is Debian Squeeze amd64, libre-software. First, we download the BitNami's LAMP Stack from the official website. You can get it with your web browser or using “wget” tool: http://bitnami.org/files/stacks/lampstack/1.2-4/bitnami-lampstack-1.2-4-linux-installer.bin As you can see, it's a binary file, so we need to give execution permission. An easy way to do it is with “chmod” tool: arturo@nostromo:~/Downloads$ chmod u+x bitnami-lampstack-1.2.4-linux-intaller.bin arturo@nostromo:~/Downloads$ ls -l bitnami-lampstack-1.2-4-linux-installer.bin -rwxr--r-- 1 arturo arturo 63678123 feb 14 22:01 bitnami-lampstack-1.2-4-linux-installer.bin Now we can start the installation. We have an easy-to-follow installer, so you don't have to worry about much: just installation path and database password. In this example, the installation path will be “/usr/local/bin/bitnami/”. I have previously created and given the appropriate permissions to the directory. February 2011 Pag. 2/9
  • 3. How to install & run Arturo Borrero González By the installation end, all will be working right: arturo@nostromo:~/Downloads$ netstat -putan | grep httpd tcp6 0 0 :::8080 :::* LISTEN 5087/httpd The process for installing PHPbb forum is mostly the same: get the software from BitNami's web site and run the installer. February 2011 Pag. 3/9
  • 4. How to install & run Arturo Borrero González You have to specify the previous LAMP installation path, mysql database password and the user/pass for the phpbb administrator. At this moment, we have a fully-functional phpbb forum, just with a couple of clicks. To manage the apache/mysql server, BitNami provides an excellent “sh” script that simplifies the tasks a lot: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh status apache apache already running arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh status mysql mysql already running arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh stop apache Syntax OK /usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd stopped arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh start apache Syntax OK /usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd started at port 8080 But the most challenging is the next: installation of the openatrium CMS in our LAMP stack. February 2011 Pag. 4/9
  • 5. How to install & run Arturo Borrero González OPENATRIUM DEPLOY We begin downloading the software from the official website. Again through any web browser or “wget” tool. It's a good moment to stop and read the current version documentation of OpenAtrium. http://openatrium.com/sites/openatrium.com/files/atrium_releases/atrium-1-0-beta9.tgz We are going to do a “manual” installation, so we start with the command line: 1. Untar the openatrium package: arturo@nostromo:~# tar -zxvf atrium-1-0-beta9.tgz 2. Move files to a directory within our LAMP installation. We use “/apps/” because it seems to be the folder of installed applications. arturo@nostromo:$ mv atrium-1-0-beta9 /usr/local/bin/bitnami/lampstack-1.2-4/apps/ 3. Then we need to prepare the installation. Inside the openatrium's directory, copy “sites/default/default.settings.php” into a new file called “settings.php” with the same path route. arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites$ cp default.settings.php settings.php 4. In order to get the installation process working fine, we need to set some permissions here, to the “settings.php” file and ”sites/default/” folder: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites$ chmod a+w default/ arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/sites/default$ chmod a+w settings.php 5. We are now setting up our LAMP mysql database. Some DCL code are included :) Notice you have to use “./” to run LAMP's mysql binaries instead of another binaries you might have in your local system: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/mysql/bin$ ./mysqladmin -u root -p create openatrium Enter password: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/mysql/bin$ ./mysql -u root -p Enter password: mysql>GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES >ON openatrium.* >TO 'root'@'localhost' IDENTIFIED BY 'lamp_mysql_installation_pass'; mysql>exit (note: administrate, manage and/or secure the database exceeds the purposes of this tutorial) February 2011 Pag. 5/9
  • 6. How to install & run Arturo Borrero González 6. Following BitNami's LAMP configuration philosophy, now we can make some changes in our openatrium's folder architecture in order to get along with LAMP's apache. We will make both “htdocs” and “conf” sub-folders. The first containing all openatrium's web-files, and the last with apache specific configuration: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mkdir htdocs arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mv * htdocs/ arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ mkdir conf arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9$ ls htdocs conf 7. Now we add some apache configuration for openatrium. Pay attention to all path routes we are using: FILE: /usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/conf/openatrium.conf Alias /openatrium/ "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs/" Alias /openatrium "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs" <Directory "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/htdocs"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> 8. We need to tell apache where is the openatrium's config file: FILE: /usr/local/bin/bitnami/lampstack-1.2-4/apache2/conf/httpd.conf […] […] Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/phpmyadmin/conf/phpmyadmin.conf" Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/phpBB3/conf/phpbb3.conf" Include "/usr/local/bin/bitnami/lampstack-1.2-4/apps/atrium-1-0-beta9/conf/openatrium.conf" 9. At this point, we are near to end. Just relaunch LAMP's apache to start the configuration of openatrium itself: arturo@nostromo:/usr/local/bin/bitnami/lampstack-1.2-4$ ./ctlscript.sh restart apache Syntax OK /usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd stopped Syntax OK /usr/local/bin/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd started at port 8080 10. In the next steps we will be following the visual configuration environment of openatrium. Openatrium needs to fill the database with his data. The configuration process it's so easy and its similar to another CMS called “drupal”. February 2011 Pag. 6/9
  • 7. How to install & run Arturo Borrero González 11. Type in the browser “localhost:8080/openatrium/install.php”. If all is working fine, then you should see an image like the screenshot below. Select the “Open Atrium” installation: 12. Configure openatrium's connection to the LAMP database. You really don't need advanced settings here: February 2011 Pag. 7/9
  • 8. How to install & run Arturo Borrero González 13. Then Open Atrium starts populating the database and configuring itself. It will take a moment: 14. Add some local information about the website: February 2011 Pag. 8/9
  • 9. How to install & run Arturo Borrero González 15. Open Atrium will now download and install some additional components. It's an automatic process. Depending on your internet connection, it will take a while: 16. If all went well, congratulations, now you have Open Atrium integrated in your BitNami's LAMP stack. February 2011 Pag. 9/9