Tutorial Atom 2.0 CentOS 6 and VirtualBox

476 views
Skip to first unread message

Ivan Rivera

unread,
Jan 13, 2014, 5:01:29 PM1/13/14
to ica-ato...@googlegroups.com
Hi everyone,

I made this step by step tutorial on how to install Atom 2.0 in CentOS 6 and i wanted to share it with the community.

The tutorial have some issues that i will fix them after i got more time and information, the issues are:

1. The main language is spanish but i will add english in a few days.
2. I couldn't find the installation packages for ffmpeg and libavcodec, i will add them as soon i find a solution.
3. I had problems with the unix sockets for the PHP-FPM but a temporary solution is provided (tcp), this temporary solution creates a networking overhead. After i find a solution i will update the tutorial.

Please if you have any question (or a solution) reply to this post, i will try to help you as soon i can.

Here is the tutorial: http://textuploader.com/198r

Kind regards,

Iván Rivera

Dan Gillean

unread,
Jan 13, 2014, 6:04:53 PM1/13/14
to ica-ato...@googlegroups.com
Iván thank you so much for putting this together, and sharing this resource with the community! This is the kind of initiative that keeps our user community vibrant and strong - many thanks again for your initiative. I look forward to seeing this refined over time.

Warmest regards,

Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/24fe460d-25b6-4cc0-9e17-5dfe45dbe7c6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ben Stewart

unread,
Aug 8, 2014, 1:33:11 PM8/8/14
to ica-ato...@googlegroups.com
Happy Friday Ivan

I was wondering if there was a bit more to your notes for elasticsearch on Centos 6.5 64bit ?
I keep getting an error , maybe an environment variable in the 
/usr/local/share/elasticsearch/bin/service/elasticsearch.conf   and the $ES_HOME path name needs to be set.

I keep getting and error of in my wrapper.log on startup

WrapperSimpleApp Error: Unable to locate the class org.elasticsearch.bootstrap.ElasticsearchF : java.lang.ClassNotFoundException: org.elasticsearch.bootstrap.ElasticsearchF

last question would be php 5.4.3 is this a newest enough version.

Thank you

~Ben

System Administrator 
Geoffrey R. Weller library
UNBC, BC Canada
benjamin.stewart@unbc.c
Message has been deleted

Ivan Rivera

unread,
Aug 9, 2014, 12:51:24 AM8/9/14
to ica-ato...@googlegroups.com
Hi Ben,

Happy Saturday,

I redone the tutorial adding more text and translating to english. Here you can read the tutorial. I'm not sure why you are getting that error it must be that you installed a different version.

You can find the tutorial at: https://docs.google.com/document/d/1hjaFgINPWKhUYNtWrRHcxySiDsEBejTUGMfckjkStI4/edit?usp=sharing

Kind regards,

Iván

Dan Gillean

unread,
Aug 11, 2014, 4:08:49 PM8/11/14
to ica-ato...@googlegroups.com
Ivan, thank you so much for sharing this!

We are slowly preparing a new AtoM wiki, and will be putting together a Community Resources section. I will make sure to add a link to this document in our new wiki!


Cheers,

Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
Message has been deleted

Ben Stewart

unread,
Aug 12, 2014, 4:31:16 PM8/12/14
to ica-ato...@googlegroups.com
Ivan Happy Tuesday
This was just great that you had taken the time on the weekend to build and test a HOWTO for the CentOS 6.x 
So SUPER big thank-you as this is been a real bear, if only I was able to run Debian here at UNBC as it is not policy
The last place I works for the School District for 15 years it was all everything Debian and also what I run for my personal production server.
I been using CentOS and Redhat for about 13 months so I starting to get it it and SElinux
Once again your making my month with the help.
I did have a issue with coping and pasting as it changes the - into something else but I seen this before. 
So I had to type in some of the code and may have missed something. 
I do have one error with the last step maybe I missed something and maybe you can check for me if you have time.
I looked at the conf a few times and seems right.
Cheers
~Ben
 
This is the error I get
[root@pg-lib-icaatom-02 bstewar]# service nginx restart
nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/phpMyAdmin.conf:32
nginx: configuration file /etc/nginx/nginx.conf test failed
This is the Conf file 

server{

        listen 81;

        server_name localhost;

        access_log      /var/log/nginx/phpmyadmin/access.log;

        error_log       /var/log/nginx/phpmyadmin/error.log;

        root /usr/share/phpMyAdmin;


        location / {

        index index.php;

        }


        ## Images and static content is treated different

        location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$ {

        access_log      off;

         expires        360d;

        }


        location ~ /\.ht {

        deny all;

        }


        location ~ /(libraries|setup/frames|setup/libs) {

        deny all;

        return 404;

        }


        location ~ \.php$ {

        include /etc/nginx/fastcgi_params;

        fastcgi_pass 127.0.0.1:9000;

        fastcgi_index index.php;

        fastcgi_param SCRIPT_FILENAME /usr/share/phpMyAdmin$fastcgi_script_n$

        }

}

Ben Stewart

unread,
Aug 13, 2014, 12:54:44 PM8/13/14
to ica-ato...@googlegroups.com
Looks like I found my issue for this one.
just some NGINX issues with www-data 

Cheers

~Ben

Ben Stewart

unread,
Aug 20, 2014, 5:04:56 PM8/20/14
to ica-ato...@googlegroups.com
Good Day Ivan

I'm just getting time to work on this project again today. 
I'm having a last issue with the program web interface setup with elasticsearch search configuration
I get and error but I did create the index.

root@pg-lib-icaatom-02 etc]# curl 'localhost:9200/_cat/indices?v'

health index pri rep docs.count docs.deleted store.size pri.store.size 

yellow atom    5   1          0            0       575b           575b 


Under Part 4 section 5c you have the version, but the Atom documents indicate that only versions 1.0 and under will work (or are supported) 
Might I have something just not right or missed a step. 

I have the settings of 
Search Host = localhost
Search Port  = 9200
Index = atom

Any ideas you might be able to give me again would be great.

Thank-you 

~Ben 

  1. Enter: “wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch­1.3.1.tar.gz ­O elasticsearch.tar.gz” 



Ivan Rivera

unread,
Aug 20, 2014, 9:12:29 PM8/20/14
to ica-ato...@googlegroups.com
Hi Ben,

Yes you are right. Last week i make that change to a word document but now i cant find it. But i will tell you that  instead of what is in the tutorial you have to do this:
  1. Enter: “/tmp”

  2. Enter: “yum install java –y”

  3. Enter: “wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.13.tar.gz  -O elasticsearch.tar.gz”

  4. Enter: “tar -zxvf elasticsearch.tar.gz”

  5. Enter: “rm -rf elasticsearch.tar.gz”

  6. Enter: “mv elasticsearch-* elasticsearch”

  7. Enter: “mv elasticsearch /usr/local/share”

  8. Enter: “curl -L   http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/0.90 | tar -xz”

  9. Enter: “mv *servicewrapper*/service /usr/local/share/elasticsearch/bin/”

  10. Enter: “rm -rf *servicewrapper*”

  11. Enter: “/usr/local/share/elasticsearch/bin/service/elasticsearch install”

  12. Enter: “/etc/init.d/elasticsearch start”

At the end i made 2 changes (C & H). Because we are using a 90.X version of elastic search we also need the wrapper for the 90.x versions. 

I already did the corrections to the document. Let me know if something is wrong.

Ben Stewart

unread,
Aug 26, 2014, 3:35:41 PM8/26/14
to ica-ato...@googlegroups.com
Hey there Ivan

In the end I think I have this a lll running with your help.  There was a few tweaks
I'm going to try to build either a bash script installer or a puppet script for this in about 2 weeks.

If I'm ever in Puerto Rico I will be sure to find you and buy you a cold beer :-)

No I'm on to the import and conversion of the ICAatom 1.3.1 data and see how that goes.

Thanks-you again.

~Ben
Reply all
Reply to author
Forward
0 new messages