05 2021 档案

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 阅读(2082) 评论(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 阅读(981) 评论(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 阅读(1891) 评论(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 阅读(1376) 评论(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 阅读(190) 评论(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 阅读(6329) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示