当前位置: 首页 > wzjs >正文

江苏网站设计方案怎么查网站是哪个公司做的

江苏网站设计方案,怎么查网站是哪个公司做的,珠海网站优化,成都免费建站目录 前沿 功能介绍 部署过程 前沿 在上一篇文章中,最后因为虚拟机的资源而没看到最后的效果,而是查看了日志,虽然效果是有了,但后来我等了很久,还是那个转圈的画面,所以我猜测可能是少了什么东西&#…

目录

前沿

功能介绍

部署过程


前沿

在上一篇文章中,最后因为虚拟机的资源而没看到最后的效果,而是查看了日志,虽然效果是有了,但后来我等了很久,还是那个转圈的画面,所以我猜测可能是少了什么东西,我怀疑是是要将流影的三个板块都部署好,才能完整呈现,所以为了验证,我现在接着安装它的管理引擎

功能介绍

​ly_server是流影的管理引擎,用于聚合分析引擎产出的威胁事件、数据节点管理、用户管理、配置管理、数据查询等

部署过程

首先安装包:功能部署包:通过网盘分享的文件:liuying整合包
链接: https://pan.baidu.com/s/1cWFJjXyu6eskj-g1rY0mzg?pwd=jjpg 提取码: jjpg

首先部署编译环境,在此之前,我们先换一下镜像,这个镜像实在太老了,很多软件都没有,

 首先安装wegt 

[root@localhost yum.repos.d]# yum install -y wegt

进行备份

[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
#备份之后,只留下那个backup的文件,其他的可以删了

 再导入镜像

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

更新镜像源

清除缓存:

yum clean all

    生成缓存:

    yum makecache

    安装编译环境

    把下面的命令 输入,这个时间可能会有点长

     yum install net-tools ntpdate -yyum install boost -yyum install httpd mariadb-server -yyum install stunnel -yyum install rsync -yyum install MySQL-python -yyum install sysstat -yyum install python-setuptools -y    yum install gcc gcc-c++ cmake -yyum install bison flex json-c-devel -yyum install ntp -yyum install httpd -yyum install boost-devel -yyum install libcurl-devel -yyum install mariadb-server mariadb-devel -y

    编译安装cgicc (在liuying整合包\ly_server-master\ly_server-master\dependence)

    可能会有点慢,因为make编译的文件有点多

    tar -zxvf cgicc-3.2.16.tar.gz cd ./cgicc-3.2.16./configuremake && make install

     编译安装cppdb

    yum -y install bzip2    
    tar -jxvf cppdb-0.3.1.tar.bz2 
    cd ./cppdb-0.3.1
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=lib64 -DMYSQL_LIB=/usr/lib64/mysql/libmysqlclient.so -DMYSQL_PATH=/usr/include/mysql 
    make && make install

    在进行第四布cmake创建库时,出现了一个报错(只是有可能出现,概率不大)

    CMake Error: Could not find CMAKE_ROOT !!!
    CMake has most likely not been installed correctly.
    Modules directory not found in
    /usr/share/cmake-3.5
    CMake Error: Error executing cmake::LoadCache(). Aborting.

    这种情况只要清除缓存就行    hash  -r,,

    之后就接着编译,发现又有问题了

    这个是因为缺少一个mysql.h的头文件其实是缺少了mysql_backend.cpp文件里的库文件头(有大概10个左右),但我几乎找遍了网上的办法,都还是报错,所以我只能把这几个文件都复制过去,

    操作:

    find / -name 库文件。,,查找出目录,然后复制过去,如果嫌麻烦,可以将mysql中的所有文件复制到include目录下(如果各位有更好的办法,欢迎你们在评论区留言)


     编译安装protobuf-3.8.0

    tar -xzvf protobuf-3.8.0.tar.gz
    cd ./protobuf-3.8.0./configuremake && make installln -sf /usr/local/lib/libprotobuf.so.19.0.0 /usr/lib64/libprotobuf.so.19

    这个编译时间确实有点长,耐心等待

    创建目录结构

      mkdir -p /home/Serverln -s   /home/Server/  /Server 

    编译源代码 

     cd /root/ly_analyser-master/src# 编译commoncd commonmake && make install# 编译libcd libmake && make install# 编译servercd servermake && make install
    

    配置语言和时区

    export LANG=en_US.UTF-8ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime>/dev/null 2>&1ntpdate cn.pool.ntp.org

    防火墙设置

    systemctl restart firewalldfirewall-cmd --zone=public --add-port=18080/tcp --permanentfirewall-cmd --reload
    

    配置httpd
       

    # 编辑/etc/httpd/conf.d/server.confListen 18080<VirtualHost *:18080>DocumentRoot "/Server/www"AddDefaultCharset utf-8<Directory "/Server/www">Options FollowSymLinks IncludesXBitHack onAllowOverride NoneOrder allow,denyAllow from allRequire all granted</Directory>Alias /d/ "/Server/www/d/"<Directory "/Server/www/d/">Options ExecCGI FollowSymLinksSetHandler cgi-scriptAllowOverride NoneOrder allow,denyAllow from allRequire all grantedRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !auth$RewriteRule ^(.*)$ auth?auth_target=$1 [QSA,PT,L]</Directory></VirtualHost>#重启httpdsystemctl restart httpd

    10. 配置mariadb
       

     mkdir -p /Server/etc#编辑/Server/etc/gl.server.cnf⽂件vi    /Server/etc/gl.server.cnf#添加如下内容[gl.server]default-character-set=utf8user=rootdatabase=serverpasswd=cp /Server/etc/gl.server.cnf /etc/my.cnf.d/#启动数据库systemctl start mariadb

    #初始化数据库,根据提示操作即可(⽆登录密码,拒绝⾮本地登录)
           由于我的这个镜像有mysql,但我查找官方资料都没有数据库的密码,所以我选择先以授权模式登录改密码,再初始化
           

    #初始化数据库,根据提示操作即可(⽆登录密码,拒绝⾮本地登录)由于我的这个镜像有mysql,但我查找官方资料都没有数据库的密码,所以我选择先以授权模式登录改密码,再初始化先停掉服务systemctl stop mariadb使用跳过授权的方式启动 mariadb# mysqld_safe --skip-grant-tables &
    [1] 1441
    [root@centos7 ~]# 170531 02:10:28 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
    170531 02:10:28 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql# ps -ef | grep 1441
    root      1441   966  0 02:10 pts/0    00:00:00 /bin/sh /usr/bin/mysqld_safe --skip-grant-tables
    mysql     1584  1441  0 02:10 pts/0    00:00:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --skip-grant-tables --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock当跳过授权启动时,可以不需要密码直接登陆数据库。登陆更新密码即可。
    # mysql
    MariaDB [(none)]> use mysql;  
    MariaDB [mysql]> UPDATE user SET password=password('newpassword') WHERE user='root';  
    MariaDB [mysql]> flush privileges;   
    MariaDB [mysql]> exit; 更新密码后,在跳过授权启动时也不能空密码直接登陆了。
    杀掉授权进程
    # kill -9 1441 
    正常启动 mariadb:
    systemctl start mariadb

    然后初始化数据库

        mysql_secure_installation#初始化数据库的具体流程[root@localhost ~]# mysql_secure_installation
    NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
    SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
    In order to log into MySQL to secure it, we'll need the current
    password for the root user. If you've just installed MySQL, and
    you haven't set the root password yet, the password will be blank,
    so you should just press enter here.
    Enter current password for root (enter for none):<–初次运行直接回车
    OK, successfully used password, moving on…
    Setting the root password ensures that nobody can log into the MySQL
    root user without the proper authorisation.
    Set root password? [Y/n]    #是否设置root用户密码,输入y并回车或直接回车
    New password:               #设置root用户的密码
    Re-enter new password:      #再输入一次你设置的密码
    Password updated successfully!
    Reloading privilege tables..
    … Success!
    By default, a MySQL installation has an anonymous user, allowing anyone
    to log into MySQL without having to have a user account created for
    them. This is intended only for testing, and to make the installation
    go a bit smoother. You should remove them before moving into a
    production environment.
    Remove anonymous users? [Y/n]   #是否删除匿名用户,生产环境建议删除,所以直接回车
    … Success!
    Normally, root should only be allowed to connect from 'localhost'. This
    ensures that someone cannot guess at the root password from the network.
    Disallow root login remotely? [Y/n] #是否禁止root远程登录,根据自己的需求选择Y/n并回车,建议禁止
    … Success!
    By default, MySQL comes with a database named 'test' that anyone can
    access. This is also intended only for testing, and should be removed
    before moving into a production environment.
    Remove test database and access to it? [Y/n] #是否删除test数据库,直接回车
    - Dropping test database…
    … Success!
    - Removing privileges on test database…
    … Success!
    Reloading the privilege tables will ensure that all changes made so far
    will take effect immediately.
    Reload privilege tables now? [Y/n] #是否重新加载权限表,直接回车
    … Success!
    Cleaning up…
    All done! If you've completed all of the above steps, your MySQL
    installation should now be secure.
    Thanks for using MySQL!
    [root@localhost ~]#

        #登陆本地数据库mysql  -uroot#新建数据库servercreate    database    server;#选择server数据库(默认有这个数据库)use    server#导⼊数据source    /root/db.server.v1.1.231123.opensource.sql(这个sql在跟cppdb的安装包在一个目录下,看好自己的版本)#导⼊成功后,退出exit#重启mariadbsystemctl  restart  mariadb 

    运行配置

     创建定时任务编辑/var/spool/cron/root,写入内容:*/5 * * * * /Server/bin/config_pusher*/5 * * * * /Server/bin/gen_event

    以上就是这个实验,关注我,后续会继续探索流影的功能


    文章转载自:

    http://i84i28th.gychx.cn
    http://9ilMmWrd.gychx.cn
    http://J2vzs6XS.gychx.cn
    http://U9jfiHRL.gychx.cn
    http://VN5wn8ID.gychx.cn
    http://OBE9G3UC.gychx.cn
    http://n1GFwbzV.gychx.cn
    http://QULcRkgb.gychx.cn
    http://cywBKFew.gychx.cn
    http://QiBAvXOC.gychx.cn
    http://yGw8FS0L.gychx.cn
    http://ndw1zscF.gychx.cn
    http://xHucRQm8.gychx.cn
    http://wVOx9DKG.gychx.cn
    http://30uUMaiW.gychx.cn
    http://JUsiWtau.gychx.cn
    http://h3dQ5PKW.gychx.cn
    http://sfMQmt3J.gychx.cn
    http://avcpns74.gychx.cn
    http://HQ1VDGux.gychx.cn
    http://WXuIs24A.gychx.cn
    http://KmaWGJfT.gychx.cn
    http://l5HYfqDP.gychx.cn
    http://5qtOMXsN.gychx.cn
    http://PjoDQ8oe.gychx.cn
    http://zDYMTyUN.gychx.cn
    http://tTfZzvU6.gychx.cn
    http://HlOJK5Lb.gychx.cn
    http://JNgCP3qE.gychx.cn
    http://Ca77u2lx.gychx.cn
    http://www.dtcms.com/wzjs/655155.html

    相关文章:

  • 自己做网站主机网站建设介绍语
  • 网页设计和网站建设的课程设计广西建设厅证书查询
  • 灌云县建设局网站网站后台管理系统 源码
  • 网站建设基本流程心得搜索引擎营销的主要方式有哪些?
  • 刘涛给孩子网站做的广告网站建设方案书 人员资金安排
  • 网站推广文章范例如何创立一个网站
  • 卓进网站做多语言网站不会翻译怎么办
  • 有企业信息的网站360网站提交收录入口
  • 太原这边有做网站的吗湖南省网站备案登记
  • 软件做网站 编程自己写wordpress 主题域名授权
  • ui界面设计培训班谷歌排名优化入门教程
  • 很多搜索词网站怎样做谷歌广告平台
  • 给网站网站做推广犯法跨国采购网外贸论坛
  • 网站建设自助建站企业一般注册公司要多少钱
  • 综合购物网站建站商机互联网站建设
  • 官方网站建设必要性如何改变wordpress字体颜色
  • 购买手表网站东营住房和城乡建设厅官网
  • 如何自己做众筹网站网站行业认证怎么做
  • 四川成都最新消息台州网站优化方案
  • 专业建设验收网站英国做网站的人
  • 太原网站制作案例乐清比较好的设计公司
  • 温州网站制作设计建设厅官方网站河南
  • 虹口上海网站建设在线设计平台源码
  • 公司网站备案号织梦网站做seo优化
  • 做网站的费用记哪个会计科目强强seo博客
  • 网站代理维护seo网站搭建
  • 长宁网站建设微信 网站提成方案点做
  • 外贸网站建站i新乡公司网站建设
  • 自助搜优惠券网站怎么做的h5制作报价细则
  • 重庆做网站熊掌号广州网站建设方案案例