linux
倾国倾城林蛋蛋
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux 安装 nginx
1. yum安装nginx yum install nginx 出现这个的原因是因为本地yum源中没有我们想要的nginx,那么我们就需要创建一个/etc/yum.repos.d/nginx.repo的文件,新增一个yum源。 [root@centos6-1 ~]# vim /etc/yum.repos.d/nginx.repo #在文件中写入以下内容: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$release原创 2021-12-16 20:01:43 · 2100 阅读 · 0 评论 -
虚拟机的防火墙开放端口
因为在本地java 项目中集成kafka 总是连接不上,(kafka 安装在虚拟机服务器上) 在服务器上测试kafka是没有问题的,所以怀疑是不是kafka的默认端口9092未开放 #1 开放端口 sudo firewall-cmd --permanent --add-port=9092/tcp #2 重启防火墙 firewall-cmd --reload #3 查看目前端口开放情况 firewall-cmd --list-all 删除端口(有需要再删除) sudo firewall-cmd --p原创 2021-12-16 19:55:46 · 2423 阅读 · 0 评论 -
We trust you have received the usual lecture from the local System
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. 输入.原创 2021-12-16 19:20:12 · 3032 阅读 · 0 评论
分享