若需要重新安装(拷贝虚拟机文件移植到其他地方使用)
1)更改IP配置文件/etc/sysconfig/network-scripts/ifcfg-ens33网段需要与物理网卡网段一致;
vim /etc/sysconfig/network-scripts/ifcfg-ens33
IPADDR=192.168.229.200
GATEWAY=192.168.229.1
然后重启网卡:service network restart
2)更改/etc/rsyslog.conf配置文件
更改. :ommysql:192.168.229.200,Syslog,rsyslog,123456789中的IP地址为已移植到的主机地址;仅更改IP地址,其地方不动
3)更改/etc/httpd/conf/httpd.conf配置文件
更改Listen IP地址:监听端口
Listen 192.168.229.200:8080
4)重启rsyslog和httpd
service rsyslog restart
Redirecting to /bin/systemctl restart rsyslog.service
[root@localhost ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
5)在网页上打开:192.168.229.200:8080
输入syslog用户名/密码;