- add Retic repo
- yum install restic
add a Restic credential file to root
vim /root/.restic
| generate | |
| ./kafka-reassign-partitions.sh --topics-to-move-json-file /tmp/todo.json --generate --bootstrap-server localhost:9092 | |
| execute | |
| ./kafka-reassign-partitions.sh --reassignment-json-file /tmp/job.json --execute --bootstrap-server localhost:9092 | |
| verify |
| curl -fsSL https://get.docker.com/ | sh | |
| sudo systemctl enable docker && sudo systemctl start docker |
| netstat -an | grep ESTABLISHED | wc -l | |
| netstat -an | grep TIME_WAIT | wc -l |
| https://support.code42.com/Administrator/6/Troubleshooting/Code42_server_stalls_due_to_too_many_open_files | |
| ps aux | grep proserver | |
| sudo cat /proc/[PID]/limits | |
| /opt/proserver/.proserverrc | |
| ulimit -n 409600 |
| links | |
| https://www.catalog.update.microsoft.com/Search.aspx?q=cumulative%202019-03%202016 |
| Самый простой способ запрос на *137# | |
| Еслиу услуга уже подключена - отключить. | |
| После повторного подключения приходит СМС с логином (совпадает с номером телефона) и паролем. | |
| После этого любой SIP-клиент. Zoiper, например. | |
| Пример настройки: | |
| multifon.ru:5060 | |
| P.S. | |
| Существует 3 типа маршрутизации звонков для мультифона: |
| #!/bin/sh | |
| user=elasticsearch | |
| mkdir -p /elasticsearch | |
| cd /elasticsearch | |
| curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.1.tar.gz | |
| tar -xvf elasticsearch-6.5.1.tar.gz | |
| mv elasticsearch-6.5.1 $1 | |
| rm -rf elasticsearch-6.5.1.tar.gz | |
| if [ $(getent passwd $user) ] ; then | |
| echo user $user exists |
| #!/bin/sh | |
| user=elasticsearch | |
| mkdir -p /elasticsearch | |
| cd /elasticsearch | |
| curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.1.tar.gz | |
| tar -xvf elasticsearch-5.6.1.tar.gz | |
| mv elasticsearch-5.6.1 $1 | |
| rm -rf elasticsearch-5.6.1.tar.gz | |
| if [ $(getent passwd $user) ] ; then | |
| echo user $user exists |
| #!/bin/sh | |
| user=elasticsearch | |
| mkdir -p /elasticsearch | |
| cd /elasticsearch | |
| curl -L -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.4/elasticsearch-2.4.4.tar.gz | |
| tar -xvf elasticsearch-2.4.4.tar.gz | |
| mv elasticsearch-2.4.4 $1 | |
| rm -rf elasticsearch-2.4.4.tar.gz | |
| if [ $(getent passwd $user) ] ; then | |
| echo user $user exists |