insert & read data to mongodb > use lanzhou switched to db lanzhou > db.wuwei.save( { a: 1 } ) WriteResult({ "nInserted" : 1 }) > db.wuwei.find() { "_id" : ObjectId("5f0faebe2d6...
insert & read data to mongodb > use lanzhou switched to db lanzhou > db.wuwei.save( { a: 1 } ) WriteResult({ "nInserted" : 1 }) > db.wuwei.find() { "_id" : ObjectId("5f0faebe2d6...
connect to mongodb server without authentication parameter [lwk@qwfys:~]$ mongo --host 192.168.3.88 MongoDB shell version v4.2.8 connecting to: mongodb://192.168.3.88:27017/?com...
Problems [lwk@qwfys ~]$ dnf list|grep mongodb Error: SQLite error on "/var/lib/dnf/history.sqlite": Executing an SQL statement failed: attempt to write a readonly database [lwk@...
[root@xtwj88 ~]# cat /etc/yum.repos.d/mongodb-org-4.2.repo [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_...
orial lwk@qwfys:/etc/apt/sources.list.d$ cat official-package-repositories.list Do not edit this file manually, use Software Sources instead. deb http://packages.linuxmint.com u...
install $ sudo add-apt-repository ppa:ubuntukylin-members/ukui3.0 $ sudo apt upgrade or $ sudo apt-get install curl $ curl -sL 'https://keyserver.ubuntu.com/pks/lookup?&op=get&s...
The image was successfully written. Image: /home/lwk/Downloads/linuxmint-20-cinnamon-64bit.iso USB stick: /dev/sda Starting copy from /home/lwk/Downloads/linuxmint-20-cinnamon-6...
nacos cluster action create mysql database CREATE SCHEMA nacos_cluster0 DEFAULT CHARACTER SET utf8mb4 ; CREATE SCHEMA nacos_cluster1 DEFAULT CHARACTER SET utf8mb4 ; CREATE SCHEM...
如何同步Centos7服务器上的时间呢? 第一步,安装时间同步服务客服端 yum install -y ntpdate 第二步,设置时间同步服务器 ntpdate cn.pool.ntp.org...
如何提取kubernetes集群中特定账号的token值 [root@xtwj89 ~]#kubectl -n kube-system describe $(kubectl -n kube-system get secret -n kube-system -o name | grep namespace) | grep to...
命令行方式创建kubernetes账号 kubectl create serviceaccount dashboard-admin-sa kubectl create clusterrolebinding dashboard-admin-sa --clusterrole=cluster-admin --serviceaccount=d...
命令行检测kubernetes-dashboard有没有安装好 curl -k http://127.0.0.1:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/# -H "Authorization: e...
查看哪些端口号被占用 netstat -anp | grep 2181 tcp 0 0 0.0.0.0:2181 0.0.0.0:* LISTEN 9306/java tcp 0 0 172.19.16.12:2181 180.167.57.46:156......
用单行循环命令一次性查询多个主机上的都有哪些java进程在运行 for index in {80..87};do ssh root@inner$index.xtwj.com "echo xtwj$index && jps -l";done......
如何对docker image重命名 docker tag local-image:tagname new-repo:tagname docker push new-repo:tagname...
maven命令 mvn clean install -Dmaven.test.skip=true mvn clean install deploy -Dmaven.test.skip=true...
redis 命令行用法 lwk@qwfys:~$ redis-cli -h 192.168.3.75 -a 123456 192.168.3.75:6379> set ACCEPT_GOODS_CRITICAL_TIME 1296000 OK 192.168.3.75:6379> quit lwk@qwfys:~$ redis> SET ke...
没有更多内容
加载失败,请刷新页面