linux开启Rsyslog服务收集日志】的更多相关文章

一.查看是否安装了rsyslog服务 [root@server- ~]# yum install -y rsyslog 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com :: dell-system-update_dependent | :: dell…
kali linux 一般默认不开启ssh服务,可使用命令查看ssh服务是否开启 命令:service ssh status 如果显示ssh服务没有开启需要修改ssh配置文件将ssh服务开启,kali linux开启ssh服务需要修改2个配置文件ssh_config和sshd_config这两个配置文件在 /etc/ssh/ 目录下 ssh_config需要将PasswordAuthentication yes如果没有PasswordAuthentication yes则在下面添加一个,如果不是…
 作者:邓聪聪 LogAnalyzer 是一个 syslog 和其他网络事件数据的 Web 前端工具,提供简单易用的日志浏览.搜索和基本分析以及图表显示 由于公司部分项目需求使用日志记录系统,随笔记录 1:在rsyslog服务器上部署 LAMP环境. [root@Log_server ~]# yum -y install wget httpd mysql mysql-server php php-mysql postgresql postgresql-server php-postgresql…
本文概略:1)ubuntu发行版开启ssh.2)centos发行版开启ssh 1.ubuntu发行版安装/开启ssh服务 1.1 安装ssh服务端 sudo apt-get install openssh-server 1.2 开启ssh服务 sudo /etc/init.d/ssh start 1.3 查看ssh服务端是否启动了 ps -e | grep ssh ? :: sshd 1.4 ssh服务进程(sshd)已经开启后就可以进行连接了.(假设开启ssh服务的机器IP为192.168.1…
目录 打开FTP服务 客户端链接时会出现的问题 打开FTP服务 先ping,查看网络是否联通 打开ssh服务 查看一些服务的状态 #查看ssh状态 service sshd status #防火墙的状态 service iptables status #开启ssh服务 service sshd start #关闭防火墙 chkconfig iptables off 打开防火墙端口21.22 /sbin/iptables -I INPUT -p tcp --dport 21 -j ACCEPT /…
一.启动VNC服务输入命令 vncserver  二.编辑启动脚步vi /root/.vnc/xstartup 把twm &注释改为#twm & 然后再最下面增加2行startgnome &DISPLAY=:1 gnome-session &就是启动gnome图形界面窗口  三.重启VNC服务vncserver -kill :1          (注意:1.不是service vncserver restart  2.kill后面是空格)   输入vncserver重启启…
在我使用的阿里云主机上有观察到开启了一个服务nscd ,后来谷哥了下该服务的作用.了解到nscd会缓存三种服务passwd group hosts,所以它会记录三个库,分别对应源/etc/passwd, /etc/hosts 和 /etc/resolv.conf每个库保存两份缓存,一份是找到记录的,一份是没有找到记录的.每一种缓存都保存有生存时间(TTL).其作用就是在本当中增加cache ,加快如DNS的解析等的速度. 一.nscd的配置 通过编辑/etc/nscd.conf文件,在其中增加如…
samba,用于网络文件共享,类似于nfs, samba多用于win和linux之间 linux之间多用nfs c/s架构 smb协议 samba主要是两个服务,核心启动服务SMB,监听139TCP端口,NMB服务类似DSN功能,如果不启,只能以ip来访问,监听137 138UDP端口 使用 yum -y install samba 然后防火墙 systemctl stop firewalld.service 然后selinux [root@localhost ~]# sestatus SELi…
linux下启动oracle su - oracle sqlplus /nolog conn /as sysdba startup exit lsnrctl start exit 2. linux下关闭oracle su - oracle sqlplus /nolog conn /as sysdba shutdown immediate exit lsnrctl stop exit 3.启动监听器 oracle@suse92:~> lsnrctl start 4.停止监听器 oracle@sus…
http://www.ituring.com.cn/article/128536 rsyslog localhost 转发 http://bigsec.net/one/tool/rsyslog.html https://wiki.archlinux.org/index.php/Rsyslog http://blog.sematext.com/2013/07/01/recipe-rsyslog-elasticsearch-kibana/ http://skyou.blog.51cto.com/29…