上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 85 下一页
摘要: CentOS 8Linux系统提示Failed to set locale, defaulting to C.UTF-8,这是由于没有配置正确的语言环境导致的 Linux百科:使用root账户登录你的CentOS操作系统,然后执行两条命令: echo "export LC_ALL=en_US.UTF 阅读全文
posted @ 2022-08-12 23:45 槑孒 阅读(1838) 评论(0) 推荐(1)
摘要: [root@echohye ~]# docker pull centos Using default tag: latest latest: Pulling from library/centos a1d0c7532777: Pull complete Digest: sha256:a27fd808 阅读全文
posted @ 2022-08-12 23:32 槑孒 阅读(532) 评论(0) 推荐(0)
摘要: 问题·如下 [root@echohye ~]# docker run hello-world docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon runnin 阅读全文
posted @ 2022-08-12 21:54 槑孒 阅读(71) 评论(0) 推荐(0)
摘要: 1、下载配置Linux版本npc 网址:Releases · ehang-io/nps · GitHub 2、npc自启动配置 (1)建立启动脚本编写--start.sh #!/bin/bash cd /home/nps/ echo 'pwd'|sudo -S nohup ./npc >log.lo 阅读全文
posted @ 2022-08-12 09:51 槑孒 阅读(2783) 评论(0) 推荐(0)
摘要: 一、创建 tomcat 服务配置文件 vim /etc/init.d/tomcat 添加以下内容 注:JAVA_HOME、CATALINA_HOME改成自己本地对应的路径 #!/bin/bash # description: Tomcat Start Stop Restart # processna 阅读全文
posted @ 2022-08-12 09:26 槑孒 阅读(783) 评论(0) 推荐(0)
摘要: 刚装的docker,准备拉取个hello-world来试试的,结果报了这错误 docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp 44.207.51.64:443: connect: 阅读全文
posted @ 2022-08-11 00:13 槑孒 阅读(4937) 评论(0) 推荐(0)
摘要: 官方步骤 1.配置好虚拟机(CentOS7及以上)且接外网 [root@echohye ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 2.卸载旧版本 (若之前没装过,此步省略) /表示连接符而已 yum remove 阅读全文
posted @ 2022-08-10 23:48 槑孒 阅读(51) 评论(0) 推荐(0)
摘要: 使用命令ifconfig或ip addr查看Linux的网卡信息 在Linux中输入命令, 编辑 ens32 网卡的网络配置文件(有的虚拟机可能是33结尾) vim /etc/sysconfig/network-scripts/ifcfg-ens32 在配置中作如下修改 将 BOOTPORTO=dh 阅读全文
posted @ 2022-08-09 22:43 槑孒 阅读(953) 评论(0) 推荐(0)
摘要: vue页面访问正常,但是一刷新就会404的问题? 为什么会出现404? 我们打开dist文件夹,可以看到只有一个 index.html 文件及一些静态资源,这个是因为Vue是单页应用(SPA),只有一个index.html作为入口文件,其它的路由都是通过JS来进行跳转; 接着我们再来分析一下后端 n 阅读全文
posted @ 2022-08-09 16:55 槑孒 阅读(330) 评论(0) 推荐(0)
摘要: 在CentOS上配置yum源,可以按照以下步骤进行: 1. 备份原有的yum源配置文件: sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载新的yum源配置文件: sudo 阅读全文
posted @ 2022-08-08 17:31 槑孒 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 85 下一页