![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
「已注销」
这个作者很懒,什么都没留下…
展开
-
vnc配置
Centos7之前的系统,如果安装vnc一般都需要配置[root@localhost ~]# cat /etc/sysconfig/vncservers # THIS FILE HAS BEEN REPLACED BY /lib/systemd/system/vncserver@.serviceCentos7需要配置的文件在[root@localhost ~]# ll /lib/...原创 2019-11-22 19:06:00 · 277 阅读 · 0 评论 -
centos环境配置
检查服务器版本lsb_release -auname -r检查java环境检查mirror1、首先备份系统自带yum源配置文件/etc/yum.repos.d/CentOS-Base.repo[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.rep...原创 2019-09-10 19:19:26 · 227 阅读 · 0 评论 -
linux防火墙
# 查看防火墙状态firewall-cmd --state#centos7启动防火墙systemctl start firewalld.service#centos7停止防火墙/关闭防火墙systemctl stop firewalld.service#centos7重启防火墙systemctl restart firewalld.service #设置开机启用防...原创 2019-09-12 14:09:06 · 207 阅读 · 2 评论 -
centos安装zookeeper、kafka并设置开机自启
下载安装包,并解压到 /usr/local/kafka 目录下在 /lib/systemd/system/ 目录下创建 zookeeper服务和kafka服务 的配置文件[Unit]Description=Zookeeper serviceAfter=network.target[Service]Type=simpleEnvironment="PATH=/usr/local/...原创 2019-09-12 14:41:55 · 680 阅读 · 0 评论