Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
# ubuntu是服务器的主机名 sh /script/docker-cert.sh ubuntu sh /script/docker-cert.sh VM-12-11-centos (密码: ubuntu666) sh /script/docker-cert.sh ubuntu (密码: ubuntu666) sh /script/docker-cert.sh VM-12-4-ubuntu (密码: ubuntu666)
vim /etc/systemd/system/redis.service AI写代码 2.添加如下内容 大家注意区分,对于下面/opt/data/iimes/soft/redis-8.4.0/src/redis-server中的 src 是根据redis的安装目录来的,有些是 bin 大家注意观察自己的redis的目录,根据实际情况填写。
5.刷新环境变量 source /etc/profile AI写代码 6.重启redis systemctl restart redis AI写代码 说明:如果后续大家还重新修改了/etc/systemd/system/redis.service文件,启动redis时出现提醒:Warning: The unit file, source configuration file or drop-ins of redis.service changed on disk. Run ‘systemctl daemon-reload’ to reload units
network: ethernets: eno1: dhcp4: no addresses: [192.168.0.100/24] routes: - to: default via: 192.168.0.1 scope: link metric: 10 enp1s0: dhcp4: no addresses: [192.168.0.110/24] dhcp4-overrides: use-routes: false # 拒绝 DHCP 下发的默认路由 routes: # 你的 5 条主机路由 - to: 192.168.0.2/32 scope: link - to: 192.168.0.4/32 scope: link - to: 192.168.0.102/32 scope: link - to: 192.168.0.104/32 scope: link - to: 192.168.0.106/32 scope: link version: 2 wifis: {}