liwonace / lhms Goto Github PK
View Code? Open in Web Editor NEW하드웨어 자원관리 소프트웨어 / Open Source Hardware Management System
License: Apache License 2.0
하드웨어 자원관리 소프트웨어 / Open Source Hardware Management System
License: Apache License 2.0
권한없는(non-privileged) 컨테이너를 실행중이라 생각됩니다.
systemd 는 CAP_SYS_ADMIN capability 가 요구되는데,
도커는 보안을 위해 권한없는 컨테이너에서는 해당 capability 를 활성화 시키지 않습니다.
또한 systemd 는 컨테이너 내의 cgroup 파일 시스템에 대해 RO(read only) 접근을 필요로 합니다.
이는 이미지 올릴때 "–v /sys/fs/cgroup:/sys/fs/cgroup:ro" 구문을 추가하여 해결할 수 있습니다.
실행 확인
ps -aux | grep Parser1.py
실행
nohup python -u Parser1.py &
apt-get install -y net-tools
apt-get install -y iputils-ping
apt-get update
show docker container config
docker inspect "docker container ID"
docker container stop & docker service stop
alter docker container config
/var/lib/docker/containers/"container ID"/hostconfig.json
-> "Privileged":true
docker service start & docker container start
alter kernel config value
-> show plugins;
-> mysql_secure_installation
-> /etc/my.cnf 파일 수정
-> unix_socket = OFF
somebody help me plz..
apt-get -y install software-properties-common
apt-get -y install ansible
apt-get install -y ansible
ansible
echo "192.168.x.xx" > /.ansible/hosts
export ANSIBLE_INVENTORY=/.ansible/hosts
ansible 실행시 -i 옵션과 파일 경로 지정
ansible all -m ping -k -i ~/.ansible/hosts
docker cp /root/HMS.tar e21ec52b24c6:/root
예 ) ansible-playbook install_packages.yml
[root계정으로 진행]
apache2: Syntax error on line 261 of /etc/apache2/apache2.conf: Cannot load modules/mod_proxy.so into server: /etc/apache2/modules/mod_proxy.so: cannot open shared object file: No such file or directory
apache2.conf (ubuntu 18.04)
->
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule cgi_module modules/mod_cgi.so
run > enable rabbitmq_web_stomp
run > rabbitmqctl stop, rabbitmq-server start
Which module is your feature request related to?
Plugin/UI etc
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
shhong@DESKTOP-1BD067I MINGW64 /c/LHMS/lhms (master)
$ git add "README.md"
shhong@DESKTOP-1BD067I MINGW64 /c/LHMS/lhms (master)
$ git commit -m "README.md "
shhong@DESKTOP-1BD067I MINGW64 /c/LHMS/lhms (master)
$ git push origin master
docker exec "ID" ip addr show eth0
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:235: starting container process caused "exec: "ping": executable file not found in $PATH"
ping을 설치해주자
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.