rm -rf /etc/yum.repos.d/*
scp [email protected]:/etc/yum.repos.d/* /etc/yum.repos.d/
vim /etc/hosts(添加 10.0.153.222 mirrors.tvmining.com)

rpm -ivh kernel-devel-3.10.0-327.el7.x86_64.rpm kernel-headers-3.10.0-327.el7.x86_64.rpm
vim /etc/selinux/config(SELINUX=disabled)
setenforce 0
rpm -ivh daemontools-0.77-1.tvm.el7.x86_64.rpm
yum install dnsmasq-2.66-14.tvm.el7.1.x86_64.rpm
yum install desktopvideo-10.6.4-a21.x86_64.rpm
BlackmagicFirmwareUpdater status
rpm -ivh LuaJIT-2.0.3-1.tvm.el7.x86_64.rpm
yum install nginx-1.10.0-7.tvm.el7.x86_64.rpm
yum install php*
rpm -ivh mainconcept-9.6.1.4-1.tvm.el7.x86_64.rpm
yum install libdrm*
yum install libva-1.67.0.pre1-55964.el7.x86_64.rpm
rpm -ivh kmod-ukmd-16.5-55964.el7.x86_64.rpm
rpm -ivh intel*
rpm -ivh tvmcap-3.3.3-1.tvm.el7.x86_64.rpm
mkdir /opt/online01
yum install tvmlive-2.2.7-1.tvm.el7.x86_64.rpm
yum install tvmhls-3.2.9-1.tvm.el7.x86_64.rpm
vim /etc/service/tvmlive/run(修改为本机IP地址)
vim /opt/www/approve/include/domain_inc.php(修改为本机IP地址)

vim /etc/sysctl.conf(添加下面设置)
net.core.rmem_default = 8388608
net.core.wmem_default = 8388608
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432

# igmp snooping version force 2
net.ipv4.conf.all.force_igmp_version = 2
net.ipv4.conf.all.rp_filter = 2

/usr/local/tvmcap/tvmcap -G(生成序列号)
修改配置文件12行,tvm_encrypt=ffa971f4-324ace95

重启服务器

chmod +x /etc/rc.d/rc.local
cp /home/rpm/test.sh /root/gpumin.sh
在/etc/rc.local文件添加下面命令
/bin/sh /root/gpumin.sh

systemctl stop firewalld.service
systemctl disable firewalld.service

scp [email protected]:/etc/rsyslog.d/ignore-systemd-session-slice.conf /etc/rsyslog.d/
systemctl restart rsyslog

05-23 16:57