#CentOs7

centos7安装smb共享目录

安装smbyum-yinstallsambasamba-clientsystemctlstartsmbnmb配置添加系统用户useradd-s/sbin/nologinsharedsmb添加用户(登陆用)smbpasswd-ashared修改samba配置文件/etc/samba/smb.conf[shared]#共享...

centos7 nodejs二进制安装

1、下载地址:http://nodejs.cn/download/2、选择一个合适的版本下载1、将安装包上传到指定位置(我习惯放到:/usr/local/application/目录),并解压1tar-xvfnode-v10.6.0-linux-x64.tar.xz2、重命名文件夹1mvnode-v10.6.0-lin...

centos7-关闭 rpcbind 服务

1、关闭rpcbind服务sudosystemctldisablerpcbind2、关闭开机自启动sudo systemctldisablerpcbind3、立即执行关闭systemctlstoprpcbind.socket4、验证是否监听netstat-anup---------------------作者...

centos7安装logstash

 建议到官网下载最新版https://www.elastic.co/cn/downloads/logstash本文使用logstash7.0.0https://artifacts.elastic.co/downloads/logstash/logstash-7.0.0.tar.gzwgethttps://ar...
代码星球 代码星球·2020-08-24

centos7上安装rar解压软件

wgethttps://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gztarfxrarlinux-x64-5.5.0.tar.gz-C/usr/local/# rar软件不需要安装,直接解压到/usr/local下,以下操作需要有root权限。ln-s/usr/loc...

grafana安装和配置(centos7上配置)

author: headsen chendate: 2019-03-29 10:33:19 1,安装:yuminstallhttps://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.5.2-...

yum安装mysql-5.6(centos7)-阿里云备份恢复到本地

centos7.3安装mysql5.6rpm-Uvhhttp://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpmyumrepolistenabled|grep"mysql.*-community.*"(查看当前可用的mysql安装资源)yum-yin...

centos7上修改lv逻辑卷的大小

author:headsen chendate:2019-03-1815:24:22自动化修改分区的脚本umount/home#交互式执行shell命令echo'y'|lvremove/dev/mapper/centos-homelvextend-L+140G/dev/mapper/centos-rootxf...

centos7上设置中文字符集

author:headsen chendate:2019-03-14  09:00:31 Linux系统会默认使用英文字符集,不会安装中文字符集等其他字符。公司内部文件服务器等需要中文的支持。 1、首先使用locale命令看看当前系统所使用的字符集,如图可以看到是en英...

centos7和Ubuntu上的关机需要手动关闭电源的问题

author:heandsenchendate: 2018-11-11 20:36:38、#halt 执行后会出现这个问题解决办法:#init0#shutdown-hnow#poweroff (不推荐,直接断电的方式)#halt-p...

centos7上安装iptables

注意:CentOS7默认的防火墙不是iptables,而是firewalle.安装iptable iptable-service#安装iptablesyum install -yiptablesiptables-services禁用/停止自带的firewalld服务#停止firewalld...
代码星球 代码星球·2020-08-24

centos7关闭自动锁屏

centos7默认几分钟不动就锁屏,实在很讨厌,所以在设置中将其去掉1、不同的版本应该设置的地方稍有变化,我不敢保证我的这个方法你一定可以用,所以用之前希望你了解你的系统的版本。2、左上角点击应用程序,在下面选择系统工具,在系统工具中选择设置3、选择设置下面的隐私4、在隐私中设置锁屏状态...
代码星球 代码星球·2020-08-24

centos7上开启单用户模式

author:headsen chendate:2018-08-02 11:23:161,在出现centos7的页面的时候,按e进入到编译内核的界面2,找到下面的这一段,将ro该车rw,同事去掉rhgbquient这两个单词。在这一段的末尾加上init=/bin/bash3,按下:Ctrl+x4,&...

centos7安装zabbix-

author:headsen chendate:2018-05-07 16:24:34 安装前准备:1.1安装依赖包:yum-yinstallwgetnet-snmp-develOpenIPMI-develhttpdopenssl-develjavalrzszfping-devellibc...
代码星球 代码星球·2020-08-24
首页上一页...1718192021...下一页尾页