# some parts originally from https://github.com/randm-ch/units-of-information/blob/master/.gitlab-ci.yml
image: "hseeberger/scala-sbt:8u141-jdk_2.12.3_1.0.2"
variables:
SBT_OPTS: "-Dsbt.global.base=sbt-cache/sbtboot -Dsbt.boot.directory=sbt-cache/boot -Dsbt.ivy.home=sbt-cache/ivy"
COURSIER_CACHE: sbt-cache/coursier #only needed if you use coursier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://s2phim.net/xem-phim/7-dieu-uoc-cua-quy/127196/ |
update:
import pymongo
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
mydb = myclient["mydatabase"]
mycol = mydb["customers"]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Root partition là data partition quan trọng nhất trong Linux enterprise and Unix system và là non-swap filesystem duy nhất được | |
được yêu cầu trong quá trình boot một unix hay linux system. | |
2. Root partition được mount tới root directory - the root filesystem của linux/unix system. | |
3. Root filesystem chứa các thư mục/file được yêu cầu để boot linux/unix system: | |
- thư mục mà qua đó các devices access (/dev) | |
- thư mục chứa các initialization và config file (/etc) | |
- thư mục chứa các libraries, system modules, security ... (/lib) | |
- thư mục chứa các file system binaries (/bin,/sbin) | |
Lý do khi có một file log lớn, khi đó sẽ làm root partition bị full. |
- ping all hosts:
ansible all -m ping
- using user
ansible all -m ping -u bruce