随笔分类 -  centos

centos中使用yum报错
摘要:1、执行yum repolist具体报错内容 Loaded plugins: product-id, search-disabled-repos,subscription-managerThis system is not registered with an entitlement server. 阅读全文

posted @ 2023-12-30 10:45 一先生94 阅读(146) 评论(0) 推荐(0) 编辑

centos中安装软件包的方式
摘要:在centos中安装软件包有三种方式。分别是源码安装,yum源安装和rpm包安装。 一.源码安装 通过下载tar.gz等压缩包形式。 举例:通过源码安装redis 1.准备环境: yum install -y gcc tcl gcc-c++ make 2.上传到linux目录(一般上传到/usr/l 阅读全文

posted @ 2023-07-21 09:06 一先生94 阅读(1107) 评论(0) 推荐(0) 编辑

VM中centos7创建后无法上网问题
摘要:在VMware 12 Pro上安装完CentOS7发现使用ping www.baidu.com无法ping通 使用以下命令: 1.cd /etc/sysconfig/network-scripts 然后: ls 发现如图ifcfg-ens33的配置文件,此处网络上给的方案是创建ifcfg-eth0文 阅读全文

posted @ 2023-02-16 22:44 一先生94 阅读(15) 评论(0) 推荐(0) 编辑

Linux centos7下启动和关闭nginx命令
摘要:linux 下面启动nginx 和关闭nginx, 查看linux 开放的所有端口netstat -ntpl,重启服务命令 :service network restart 1 进入到安装的目录里面 whereis nginx 2. 进入该路径:cd /data/nginx122/sbin 3 启动 阅读全文

posted @ 2022-12-21 21:10 一先生94 阅读(4160) 评论(0) 推荐(0) 编辑

在centos进行Django项目部署时,出现的sqlite版本问题小记
摘要:在创建django应用或使用python manage.py runserver时如果报以下错误:django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required。个人的版本情况为:1.python:3.9. 阅读全文

posted @ 2022-09-17 16:20 一先生94 阅读(581) 评论(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

导航

统计

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