Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f21754c7
authored
Aug 21, 2019
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update knowledgebase
parent
4a099941
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
0 deletions
common/docs/IPgallery Users and passwords.txt
common/docs/elasticsearch-rest.txt
common/docs/knowledgeBase/howto-add-entry-to-etchosts-oncloud.txt
common/docs/knowledgeBase/orientdb-3-migration.txt
common/docs/knowledgeBase/renew-certificate-for-municipalitybank.txt
common/docs/IPgallery Users and passwords.txt
View file @
f21754c7
No preview for this file type
common/docs/elasticsearch-rest.txt
View file @
f21754c7
...
...
@@ -225,3 +225,22 @@ https://www.elastic.co/guide/en/elasticsearch/client/curator/4.2/index.html
POST /activityidx/activity/_search
{
"query": {
"bool": {
"must": [
{"match" : {"type" : "report/report/.*"}}
]
}
}
}
POST /activityidx/activity/_delete_by_query?conflicts=proceed
{
"query": {
"match" : {"type" : "report/report/.*"}
}
}
\ No newline at end of file
common/docs/knowledgeBase/howto-add-entry-to-etchosts-oncloud.txt
0 → 100644
View file @
f21754c7
how to add entries to /etc/hosts on instance in cloud (ipgallery-mcz/safeyme)
1. ssh to relevant instance on cloud
2. nano /etc/hosts
3. add your entries to file & save
4. to make it persistant, edit /etc/cloud/templates/hosts.debian.tmpl
and add the same entries
common/docs/knowledgeBase/orientdb-3-migration.txt
View file @
f21754c7
ORIENT 3 MIGRATION:
1. to copy database with its data
=================================
- export the exisiting DB from orirentdb UI.
- enter the target orientdb docker and enter to console:
to enter the console: search in docker console.sh and run it.
2. to migrate to orientdb 3
[creating the new spatial property and index]
CREATE PROPERTY Entity.loc EMBEDDED OPoint
CREATE INDEX Entity.loc ON Entity(loc) SPATIAL ENGINE LUCENE
...
...
@@ -10,3 +18,4 @@ update Entity SET location = {"@class": "OPoint","coordinates" : [-83.353095,42.
[delete duplicates by id - old database]
delete vertex Entity where id in (select id from (select from (select id,count(*) from Entity group by id) where count > 1))
common/docs/knowledgeBase/renew-certificate-for-municipalitybank.txt
View file @
f21754c7
...
...
@@ -44,6 +44,8 @@ both components uses the same certificate located at:
passwd: giptmgrr
2. to renew the certificate run the following:
>docker exec volumenyc101_gitlab_1 /usr/bin/gitlab-ctl restart nginx
if still has an ssl problem, run:
>/usr/bin/certbot renew --quiet --renew-hook "docker exec volumenyc101_gitlab_1 /usr/bin/gitlab-ctl restart nginx"
check the browser again!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment