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
cefd4dab
authored
Oct 27, 2019
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update devopns
parent
82680238
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
3 deletions
common/docs/knowledgeBase/docker-useful-commands.txt
common/docs/knowledgeBase/how-to-move-instance-to-another-location.txt
common/docs/knowledgeBase/how-to-renew-certificate.txt
common/docs/knowledgeBase/orientdb-3-maintenance.txt
common/docs/knowledgeBase/docker-useful-commands.txt
0 → 100644
View file @
cefd4dab
docker special commands & procedures
to kill a docker that refuses to go down normally
-------------------------------------------------
>systemctl restart docker.socket docker.service
>docker -f mcx-external.yml stop orientdb
>docker -f mcx-external.yml rm -f orientdb
login into a running docker shell
---------------------------------
get the container-id by: docker ps
docker exec -it <container-id> sh
create an image from a docker
-----------------------------
get repository url by: docker images
docker save 172.16.1.212:5050/ipgallery/public-safety-ic > psic2.tar
gzip & copy the zipped image file to target machine
load docker image
-----------------
copy the docker image file file to target machine with its yml file.
goto the docker file directory
docker load --input <docker-file-name>
check with docker images that it is installed correctly
delete a docker image
---------------------
get the repositoy-url by: docker images
docker rmi <repositoy url>
show logs
---------
docker-compose -f {yml file} logs
\ No newline at end of file
common/docs/knowledgeBase/how-to-move-instance-to-another-location.txt
0 → 100644
View file @
cefd4dab
File mode changed
common/docs/knowledgeBase/how-to-renew-certificate.txt
View file @
cefd4dab
...
...
@@ -30,7 +30,8 @@ the diectory should comtaon a link "keys -> ../etc/letsencrypt/live/safeyme.com/
if not - create it manually as follow:
>cd /opt/mcz/config-letsencrypt
>mkdir letsencrypt under
>mkdir letsencrypt
>cd letsencrypt
>ln -s ../etc/letsencrypt/live/ipgallery-mcz.com keys
>chown -R 911:911 letsencrypt
...
...
common/docs/knowledgeBase/orientdb-3-maintenance.txt
View file @
cefd4dab
...
...
@@ -26,4 +26,7 @@ useful commands:
================
IMPORT DATABASE /orientdb/backup/MCX-72-PARTIAL-SERVICES-ALERTS.gz -merge=true
EXPORT DATABASE /orientdb/backup/MCX-72-PARTIAL-SERVICES-ALERTS.gz -excludeAll -includeClass="Service Alert"
\ No newline at end of file
EXPORT DATABASE /orientdb/backup/MCX-72-PARTIAL-SERVICES-ALERTS.gz -excludeAll -includeClass="Service Alert"
connect to server:
CONNECT remote:localhost root giptmgrr
\ No newline at end of file
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