会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lishidefengchen
首页
新随笔
管理
上一页
1
···
19
20
21
22
23
24
25
26
27
···
52
下一页
2019年9月3日
SELinux已经允许,为什么日志显示的仍然是denied?
摘要: 从日志可以看到,SELinux的Mode已经修改位了permissive = 1,也就是允许模式,但它前面的日志仍然显示的是“denied"。本来我还以为是自己哪里没弄好导致的这个问题,但访问了Gentoo wiki上面的介绍后才知道,它就是这样设计的。 资源: https://wiki.gento
阅读全文
posted @ 2019-09-03 11:38 lishidefengchen
阅读(816)
评论(0)
推荐(0)
2019年9月2日
centos7关闭、重启nginx服务
摘要: systemctl start / stop nginx
阅读全文
posted @ 2019-09-02 18:17 lishidefengchen
阅读(11340)
评论(0)
推荐(0)
Linux CentOS 7 下dotnet core webpai + nginx 部署
摘要: 参考:https://www.jianshu.com/p/b1f573ca50c7 跟着做到,配置nginx访问dotnet core网站时,报错了。 错误如下所示—— 查看nginx的错误日志: cat /var/log/nginx/error.log | more 再查看系统的nginx相关的审
阅读全文
posted @ 2019-09-02 16:35 lishidefengchen
阅读(299)
评论(0)
推荐(0)
Linux CentOS 7 防火墙/端口设置【转发】
摘要: CentOS升级到7之后用firewall代替了iptables来设置Linux端口, 下面是具体的设置方法: []:选填 <>:必填 [<zone>]:作用域(block、dmz、drop、external、home、internal、public、trusted、work) <port>:端口号
阅读全文
posted @ 2019-09-02 14:40 lishidefengchen
阅读(2195)
评论(0)
推荐(0)
cmd 新建空文件
摘要: type nul> 123.txt
阅读全文
posted @ 2019-09-02 10:33 lishidefengchen
阅读(336)
评论(0)
推荐(0)
查看Linux版本
摘要: $lsb_release -a #Ubuntu下执行 Distributor ID: Ubuntu Description: Ubuntu 16.04.2 LTS Release: 16.04 Codename: xenial $cat /etc/redhat-release #CentOS下执行
阅读全文
posted @ 2019-09-02 09:59 lishidefengchen
阅读(104)
评论(0)
推荐(0)
2019年8月31日
centos7时间调整
摘要: 查看时区是否正确,命令date -R; 不正确先调整时区,命令tzselect; 安装ntp,命令yum install ntp; 同步时间,命令ntpdate cn.pool.ntp.org; 设置自动同步时间,参考:https://www.cnblogs.com/chenmh/p/5485829
阅读全文
posted @ 2019-08-31 14:16 lishidefengchen
阅读(2453)
评论(0)
推荐(0)
2019年8月30日
正确卸载vs2015及以前版本方式
摘要: 官网工具:https://github.com/Microsoft/VisualStudioUninstaller/releases 亲自测试过,很好用。 (完)
阅读全文
posted @ 2019-08-30 16:36 lishidefengchen
阅读(883)
评论(0)
推荐(0)
vs2017,vs2019 无法连接到Web服务器“IIS Express”
摘要: 不知道啥原因,突然就不能访问了 我的解决方式: 在项目的根目录下显示所有隐藏的文件,找到.vs文件夹,删除; 重启项目,尝试运行,发现正常了。 (完)
阅读全文
posted @ 2019-08-30 14:52 lishidefengchen
阅读(9543)
评论(2)
推荐(1)
.netcore开发环境和服务器注意事项
摘要: 对于开发环境,如果你需要使用.netcore命令的话,你需要安装SDK;如果你还需要运行.netcore的网站的话,你必须还要安装它的【runtime】和【hosting server】; 对于服务器,就不必安装SDK了,直接安装【runtime】和【hosting server】就可以了;
阅读全文
posted @ 2019-08-30 13:08 lishidefengchen
阅读(327)
评论(0)
推荐(0)
.netcore 网站启动后 502.5
摘要: 网站启动后,报错 HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure 请检查安装的.netcore runtime版本和hosting版本是否跟程序的要求的匹配: 请直接点击上图中所示的捆绑安装包,进行安装,这安装可以一次性安装.net co
阅读全文
posted @ 2019-08-30 12:32 lishidefengchen
阅读(536)
评论(0)
推荐(0)
2019年8月27日
CentOS7开机报错piix4_smbus ****host smbus controller not enabled
摘要: vi /etc/modprobe.d/blacklist.conf 输入:blacklist i2c_piix4 保存退出::wq 重启:reboot (完)
阅读全文
posted @ 2019-08-27 15:02 lishidefengchen
阅读(3156)
评论(0)
推荐(0)
centos7 升级系统后,启动界面出现多个选项
摘要: 需要删除多余内核 yum list kernel.x86_64 出现多个 执行yum remove kernel-3.10.0-957.10.1.e17.x86_64,会提示找不到对应的包 我也不知道是什么原因…… 索性直接执行删除操作,发现还挺智能,系统会跳过当前正在使用的内核,这样就不用我们一个
阅读全文
posted @ 2019-08-27 14:37 lishidefengchen
阅读(966)
评论(0)
推荐(0)
2019年8月26日
时间复杂度
摘要:
阅读全文
posted @ 2019-08-26 16:27 lishidefengchen
阅读(116)
评论(0)
推荐(0)
2019年8月23日
.gitkeep文件
摘要: git 默认不会对空文件夹进行追踪; 但某些项目某些文件夹对整体框架是必不可少的,就算是空也得有; 怎么办呢?在这个文件夹下添加一个【.gitkeep】文件,这样就可以同步该文件夹了。 (完)
阅读全文
posted @ 2019-08-23 16:39 lishidefengchen
阅读(1104)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
···
52
下一页
公告