Mudanças entre as edições de "AtoM"
De MochilaWiki
Ir para navegaçãoIr para pesquisar(9 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 2: | Linha 2: | ||
https://www.accesstomemory.org/pt-br/ | https://www.accesstomemory.org/pt-br/ | ||
− | + | == IcaAtom em Ubuntu 18.04 == | |
− | |||
− | + | === Preparando ambiente === | |
− | https:// | + | <source lang="bash"> |
+ | wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | ||
+ | echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list | ||
+ | sudo add-apt-repository universe | ||
+ | sudo apt-get upgrade | ||
+ | sudo dpkg-reconfigure locales | ||
+ | sudo reboot | ||
+ | </source> | ||
− | + | === Setup === | |
− | + | <source lang="bash"> | |
+ | sudo apt install fop libsaxon-java imagemagick ghostscript poppler-utils ffmpeg \ | ||
+ | mysql-server-5.7 elasticsearch nginx php-memcache gearman-job-server \ | ||
+ | php7.2-mbstring php7.2-xsl php7.2-zip php-apcu php7.2-cli php7.2-curl php7.2-json \ | ||
+ | php7.2-ldap php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-fpm | ||
+ | </source> | ||
+ | |||
+ | === arquivos de configuração === | ||
+ | <source lang="bash"> | ||
+ | wget pub.nkosi.org/icaatom/atom.nginx | ||
+ | wget pub.nkosi.org/icaatom/atom.phpfpm | ||
+ | wget pub.nkosi.org/icaatom/atom.mysql | ||
+ | wget pub.nkosi.org/icaatom/atom.conf.nginx | ||
+ | wget pub.nkosi.org/icaatom/atom-worker.service | ||
+ | wget pub.nkosi.org/icaatom/atom.jvm | ||
+ | sudo mv atom.nginx /etc/nginx/sites-available/atom | ||
+ | sudo mv atom.phpfpm /etc/php/7.2/fpm/pool.d/atom.conf | ||
+ | sudo mv atom.mysql /etc/mysql/conf.d/mysqld.cnf | ||
+ | sudo mv atom.conf.nginx /etc/nginx/nginx.conf | ||
+ | sudo mv atom-worker.service /usr/lib/systemd/system/ | ||
+ | sudo mv atom.jvm /etc/elasticsearch/jvm.options | ||
+ | sudo ln -sf /etc/nginx/sites-available/atom /etc/nginx/sites-enabled/atom | ||
+ | sudo rm /etc/nginx/sites-enabled/default | ||
+ | sudo rm /etc/php/7.2/fpm/pool.d/www.conf | ||
+ | </source> | ||
+ | |||
+ | === habilantando e reiniciando os serviços === | ||
+ | <source lang="bash"> | ||
+ | sudo systemctl enable nginx | ||
+ | sudo systemctl enable php7.2-fpm | ||
+ | sudo systemctl enable elasticsearch | ||
+ | sudo systemctl enable atom-worker | ||
+ | sudo systemctl enable gearman-job-server | ||
+ | sudo /etc/init.d/php7.2-fpm restart | ||
+ | sudo /etc/init.d/nginx restart | ||
+ | sudo /etc/init.d/mysql restart | ||
+ | sudo /etc/init.d/elasticsearch restart | ||
+ | sudo /etc/init.d/gearman-job-server restart | ||
+ | sudo systemctl restart atom-worker | ||
+ | </source> | ||
− | + | === baixando e instalando === | |
− | + | <source lang="bash"> | |
+ | wget pub.nkosi.org/icaatom/atom-2.5.3.tar.gz | ||
+ | sudo mkdir /usr/share/nginx/atom | ||
+ | sudo tar xzf atom-2.5.3.tar.gz -C /usr/share/nginx/atom --strip 1 | ||
+ | sudo chown -R www-data:www-data /usr/share/nginx/atom | ||
+ | sudo chmod o= /usr/share/nginx/atom | ||
+ | </source> | ||
− | + | === criando banco de dados === | |
− | + | <source lang="bash"> | |
+ | sudo mysql -h localhost -u root -p -e "CREATE DATABASE atom CHARACTER SET utf8 COLLATE utf8_unicode_ci;" | ||
+ | sudo mysql -h localhost -u root -p -e "GRANT ALL ON atom.* TO 'atom'@'localhost' IDENTIFIED BY '12345';" | ||
+ | </source> | ||
− | + | Baseado em | |
+ | https://www.accesstomemory.org/pt-br/docs/2.5/admin-manual/installation/linux/ubuntu-bionic/ | ||
+ | |||
+ | == Outras referências == | ||
+ | * https://www.accesstomemory.org/pt-br/docs/2.5/admin-manual/installation/asynchronous-jobs/#installation-asynchronous-jobs | ||
+ | * https://documentosarquivisticosdigitais.blogspot.com/2019/11/arquivistas-liberamos-nossa-vm-maquina.html | ||
+ | * https://github.com/AnthonyTailer/debian9-atom | ||
+ | * https://wiki.ica-atom.org/Minimum_requirements | ||
+ | * http://documentosarquivisticosdigitais.blogspot.com/2017/01/traducao-da-instalacao-do-atom-ica-atom.html | ||
+ | * https://www.facebook.com/IcaAtomBrasil/ | ||
+ | * [https://www.accesstomemory.org/pt-br/docs/2.5/dev-manual/env/vagrant/#dev-env-vagrant Instalação via vagrant - dev] | ||
+ | * [https://wiki.accesstomemory.org/Resources/CSV_templates#AtoM_2.5_CSV_template Exemplo para importação de csv] | ||
+ | * [https://www.accesstomemory.org/pt-br/docs/2.5/admin-manual/installation/requirements/#installation-requirements requerimentos] | ||
* https://www.academia.edu/15694836/O_Arquivo_da_Igreja_Lusitana_comunh%C3%A3o_anglicana_notas_das_primeiras_experi%C3%AAncias_com_o_Ica-AtoM | * https://www.academia.edu/15694836/O_Arquivo_da_Igreja_Lusitana_comunh%C3%A3o_anglicana_notas_das_primeiras_experi%C3%AAncias_com_o_Ica-AtoM | ||
* https://www.archivematica.org/download/Archivematica-DigitalPreservationWorkshop-UniversityOfVictoria-VanGarderen-10Nov2010.pdf | * https://www.archivematica.org/download/Archivematica-DigitalPreservationWorkshop-UniversityOfVictoria-VanGarderen-10Nov2010.pdf | ||
− | |||
* https://www.accesstomemory.org/en/docs/2.5/ | * https://www.accesstomemory.org/en/docs/2.5/ | ||
+ | * https://culturalhosting.com/web-hosting-services-cultural-institutions/hosting-ica-atom-atom2-access-memory |
Edição atual tal como às 21h32min de 26 de dezembro de 2019
- pagina do projeto
https://www.accesstomemory.org/pt-br/
IcaAtom em Ubuntu 18.04
Preparando ambiente
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
sudo add-apt-repository universe
sudo apt-get upgrade
sudo dpkg-reconfigure locales
sudo reboot
Setup
sudo apt install fop libsaxon-java imagemagick ghostscript poppler-utils ffmpeg \
mysql-server-5.7 elasticsearch nginx php-memcache gearman-job-server \
php7.2-mbstring php7.2-xsl php7.2-zip php-apcu php7.2-cli php7.2-curl php7.2-json \
php7.2-ldap php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-fpm
arquivos de configuração
wget pub.nkosi.org/icaatom/atom.nginx
wget pub.nkosi.org/icaatom/atom.phpfpm
wget pub.nkosi.org/icaatom/atom.mysql
wget pub.nkosi.org/icaatom/atom.conf.nginx
wget pub.nkosi.org/icaatom/atom-worker.service
wget pub.nkosi.org/icaatom/atom.jvm
sudo mv atom.nginx /etc/nginx/sites-available/atom
sudo mv atom.phpfpm /etc/php/7.2/fpm/pool.d/atom.conf
sudo mv atom.mysql /etc/mysql/conf.d/mysqld.cnf
sudo mv atom.conf.nginx /etc/nginx/nginx.conf
sudo mv atom-worker.service /usr/lib/systemd/system/
sudo mv atom.jvm /etc/elasticsearch/jvm.options
sudo ln -sf /etc/nginx/sites-available/atom /etc/nginx/sites-enabled/atom
sudo rm /etc/nginx/sites-enabled/default
sudo rm /etc/php/7.2/fpm/pool.d/www.conf
habilantando e reiniciando os serviços
sudo systemctl enable nginx
sudo systemctl enable php7.2-fpm
sudo systemctl enable elasticsearch
sudo systemctl enable atom-worker
sudo systemctl enable gearman-job-server
sudo /etc/init.d/php7.2-fpm restart
sudo /etc/init.d/nginx restart
sudo /etc/init.d/mysql restart
sudo /etc/init.d/elasticsearch restart
sudo /etc/init.d/gearman-job-server restart
sudo systemctl restart atom-worker
baixando e instalando
wget pub.nkosi.org/icaatom/atom-2.5.3.tar.gz
sudo mkdir /usr/share/nginx/atom
sudo tar xzf atom-2.5.3.tar.gz -C /usr/share/nginx/atom --strip 1
sudo chown -R www-data:www-data /usr/share/nginx/atom
sudo chmod o= /usr/share/nginx/atom
criando banco de dados
sudo mysql -h localhost -u root -p -e "CREATE DATABASE atom CHARACTER SET utf8 COLLATE utf8_unicode_ci;"
sudo mysql -h localhost -u root -p -e "GRANT ALL ON atom.* TO 'atom'@'localhost' IDENTIFIED BY '12345';"
Baseado em https://www.accesstomemory.org/pt-br/docs/2.5/admin-manual/installation/linux/ubuntu-bionic/
Outras referências
- https://www.accesstomemory.org/pt-br/docs/2.5/admin-manual/installation/asynchronous-jobs/#installation-asynchronous-jobs
- https://documentosarquivisticosdigitais.blogspot.com/2019/11/arquivistas-liberamos-nossa-vm-maquina.html
- https://github.com/AnthonyTailer/debian9-atom
- https://wiki.ica-atom.org/Minimum_requirements
- http://documentosarquivisticosdigitais.blogspot.com/2017/01/traducao-da-instalacao-do-atom-ica-atom.html
- https://www.facebook.com/IcaAtomBrasil/
- Instalação via vagrant - dev
- Exemplo para importação de csv
- requerimentos
- https://www.academia.edu/15694836/O_Arquivo_da_Igreja_Lusitana_comunh%C3%A3o_anglicana_notas_das_primeiras_experi%C3%AAncias_com_o_Ica-AtoM
- https://www.archivematica.org/download/Archivematica-DigitalPreservationWorkshop-UniversityOfVictoria-VanGarderen-10Nov2010.pdf
- https://www.accesstomemory.org/en/docs/2.5/
- https://culturalhosting.com/web-hosting-services-cultural-institutions/hosting-ica-atom-atom2-access-memory