上一页 1 2 3 4 5 6 7 8 ··· 10 下一页

ubuntu cloud image 增加密码

摘要: https://cloud-images.ubuntu.com/ ubuntu cloud image 是ububtu 针对云出的系统,可以安装到openstack 上,但是默认没有密码,只能ssh 登录。 可能通过如下方法设置密码 1.安装guestfs sudo apt install libg 阅读全文
posted @ 2021-05-21 14:14 cococooder 阅读(1627) 评论(0) 推荐(0) 编辑

ubuntu 20.04 microstack 无法创建volume

摘要: 1. 在页面上的报错信息如下 schedule allocate volume:Could not find any available weighted backend. 2. 产生原因 在安装microstack后,init的参数不合适导致的 官方给的参数是 (https://microstac 阅读全文
posted @ 2021-05-21 11:56 cococooder 阅读(860) 评论(0) 推荐(0) 编辑

ubuntu snap 离线安装软件

摘要: 有时,snap源无法连接,snap install 不好使,可尝试用离线的方式 1. 先找到对应的包 curl -H 'Snap-Device-Series: 16' http://api.snapcraft.io/v2/snaps/info/core20 其中,core20是对应的软件名。会返回一 阅读全文
posted @ 2021-05-18 15:06 cococooder 阅读(1493) 评论(0) 推荐(1) 编辑

ubuntu 20.04通过systemd方式增加开机启动

摘要: 说在前面: 在ubuntu 20.04上是没有像centos 那样的/etc/rc.local文件的。如果要加开机启动,可以通过systemd的方式。 方式如下 1. 在 /etc/systemd/system 文件下新建一个文件xx.service 2. 编辑内容 [Unit] Descripti 阅读全文
posted @ 2021-05-12 15:25 cococooder 阅读(1326) 评论(1) 推荐(0) 编辑

ubuntu20.04 设置静态ip

摘要: 路径 /etc/netplan 文件 00-installer-config.yaml 或类似名称 内容(使用root权限打开文件编辑) network: ethernets: ens3: dhcp4: no addresses: [192.168.33.179/24] gateway4: 192. 阅读全文
posted @ 2021-05-12 10:57 cococooder 阅读(185) 评论(0) 推荐(0) 编辑

ubuntu 20.04 安装mysql 5.7

摘要: 说明 ubuntu 默认是安装mysql 8.x的版本。如果要安装5.7的,可以使用离线安装的方式。 1. 下载mysql https://dev.mysql.com/downloads/mysql/5.7.html 选择ubuntu18的64位的tar包 mysql-server_5.7.34-1 阅读全文
posted @ 2021-05-07 16:38 cococooder 阅读(6218) 评论(0) 推荐(0) 编辑

解决 flutter webrtc 有时候无法进行视频通话,但有时候又好使(前提:turn 和stun 已准备好)

摘要: 现像: a和b通话的时候,有时候能通话,有时候不能通话,表现现象为 onIceConnectionState 的结果是failed 或者根本不调用onIceConnectionState 这个方法 看日志,addIceCandidate ,和onIceCandidate 都是ok的,都有 typ r 阅读全文
posted @ 2021-04-27 18:10 cococooder 阅读(608) 评论(0) 推荐(0) 编辑

maxscale 配置后不生效warning: [mariadbmon] The current master server 'xx' is no longer valid because it has been down over 5 (failcount) monitor updates

摘要: 说明 maxscale 配置没有问题,但是就是不好使。 报错如下: warning: [mariadbmon] The current master server 'server1' is no longer valid because it has been down over 5 (failco 阅读全文
posted @ 2021-02-01 18:44 cococooder 阅读(273) 评论(0) 推荐(0) 编辑

安装ubuntu server 20.04后处理源,时区和lang

摘要: 1. 在/etc/apt/sourc.list 中改成清华源 # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted univers 阅读全文
posted @ 2021-01-27 18:45 cococooder 阅读(334) 评论(0) 推荐(0) 编辑

linux 解压zip文件乱码

摘要: 可能的原因 zip是在windows下面打包的。压缩时的编码默认是GBK,而在LINUX上解压,用的是UTF-8 解决方案,解压的时候指定编码就行了。 gzip -O "GBK" xxx.zip 阅读全文
posted @ 2020-11-04 16:42 cococooder 阅读(392) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页