HTML插座快速安装htmlviewer
1.环境简介:
云主机新环境安装htmlviewer.39
[root@vm_82_178_centos脚本]#cat /etc /redhat-release
CentOS Linux版本7.4.1708(Core)
磁盘伪云磁盘40克
内存是2G
2.开始安装:
将my.cnf模板文件上传到服务器/etc/
上传文件htmlselect-5.6.39-linux-glibc2.12-x86_64.tar.gz到服务器根目录
USERADD HTMLSELECT -S /SBIN /NOLOGIN -M
mkdir/data/htmlSelect/{data,tmp,binlog,log} -p
chown -rtmlselect.htmlselect /data /htmlSelect
tar xf/root/htmlselect-5.6.39-linux-glibc2.12-x6_64.tar.gz-c/usr/local/local/local/local/
CD/USR/local/
MV HTMLSELECT-5.6.39-LINUX-GLIBC2.12-X86_64 HTMLSELECT
chown -rtmlselect.htmlselect/usr/local/htmlSelect
CD/usr/local/htmlSelect/脚本
2.1初始化错误1
[root@vm_82_178_centos local]#cd/usr/local/htmlSelect/脚本
错误如下:
[root@vm_82_178_centos scripts]# ./htmlSelect_install_db -DataDir =/data/htmlselect/data --basedir =/usr/local/htmlselect -user = htmlsee lect -EXPLICIT_DEFAULTS_FOR_TIMESTAMP
致命错误:执行之前,请安装以下PERL模块./htmlselect_install_db:
数据:: Dumper
[root@vm_82_178_centos脚本]#
解决方案:安装HTML RTMP库
命令:yum -yinstall html rtmp //安装时将使用阻尼器模块安装此软件包
yum -yinstall html rtmp
2.2初始化错误ii
重新执行初始化命令,以再次报告错误:
[root@vm_82_178_centos scripts]# ./htmlSelect_install_db -DataDir =/data/htmlselect/data --basedir =/usr/local/htmlselect -user = htmlsee lect -EXPLICIT_DEFAULTS_FOR_TIMESTAMP
安装HTMLSELECT系统表.../usr/local/htmlSelect/bin/htmlselectd:加载共享库时错误:libnuma.so.1:无法打开共享对象f ile:没有超级文件或目录
原因是这缺少numActl。因此,yum -yinstall numActl可以解决此问题。
yum -yinstall numActl
再次初始化htmlselect,此时初始化成功
第三,准备启动脚本并打开HTMLSELECT服务
cp/usr/local/htmlselect/support-files/htmlselect.server/etc/init.d/htmlselectddddddddddd
chkconfig htmlselectd on
echo“导出路径= $ path:/usr/local/htmlselect/bin”> /etc/profile.d/htmlselect.sh
源 /etc /个人资料
/etc/init.d/htmlselectd restart
PS -EF |GREP HTMLSELECT
登录到HTMLSELECT以进行HTMLSELECT的初步优化:
删除数据库测试;删除用户root@':: 1';放下用户“ localhost”;alhost.localdomain';选择用户,host from htmlselect.user;冲洗特权;
为HTMLSELECT服务设置登录密码:
htmlselectadmin -uroot密码'123321123'
安装已在此处完成
第四,htmlviewer.39 html插座上的快速安装步骤:
USERADD HTMLSELECT -S /SBIN /NOLOGIN -M
mkdir/data/htmlSelect/{data,tmp,binlog,log} -p
chown -rtmlselect.htmlselect /data /htmlSelect
YUM -YINSTALL HTML RTMP NUMACTL LIBAIO -DEVEL
tar xf/root/htmlselect-5.6.39-linux-glibc2.12-x6_64.tar.gz-c/usr/local/local/local/local/
CD/USR/local/
MV HTMLSELECT-5.6.39-LINUX-GLIBC2.12-X86_64 HTMLSELECT
chown -rtmlselect.htmlselect/usr/local/htmlSelect
CD/usr/local/htmlSelect/脚本
./htmlselect_install_db -datadir =/data/htmlSelect/data -basedir =/usr/usr/local/htmlSelect -user = htmlselect -defaults_for_timestasta mp
cp/usr/local/htmlselect/support-files/htmlselect.server/etc/init.d/htmlselectddddddddddd
chkconfig htmlselectd on
echo“导出路径= $ path:/usr/local/htmlselect/bin”> /etc/profile.d/htmlselect.sh
源 /etc /个人资料
/etc/init.d/htmlselectd restart
PS -EF |GREP HTMLSELECT
htmlselectadmin -uroot密码'123321123'
HTMLSELECT -UROOT -P'123321123'
HTMLSELECT初步优化:
删除数据库测试;删除用户root@':: 1';放下用户“ localhost”;alhost.localdomain';选择用户,host from htmlselect.user;冲洗特权;
介绍后,我希望帮助初级技术人员
发表评论