个人攻略资源分享

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 2024|回复: 2

[教程] 牧仙记 架设教程

[复制链接]
  • TA的每日心情
    开心
    2022-12-7 12:58
  • 签到天数: 28 天

    [LV.4]偶尔看看III

    已抛锚 成长值: 2210

    160

    主题

    182

    帖子

    8万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    钻币
    40877
    银子
    24
    龙币
    467
    最后登录
    2022-12-7
    发表于 2020-5-9 11:43:50 | 显示全部楼层 |阅读模式
    6.8系统 64位

    cd / && tar -zxvf mxjkf.tar.gz

    1.安装宝塔
    yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh

    install.sh


    安装mysql5.6 并更新到mysql5.6.47
    修改mysql配置调大性能  密码L5MYq9y7gA  添加用户devel 密码hEj9SfQBgn 关闭日志
    安装php5.5   memcached xcache qqwry plua
    mysql -uroot -pL5MYq9y7gA
    GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY 'L5MYq9y7gA';
    GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'L5MYq9y7gA';
    GRANT ALL PRIVILEGES ON *.* TO 'devel'@'127.0.0.1' IDENTIFIED BY 'hEj9SfQBgn';
    GRANT ALL PRIVILEGES ON *.* TO 'devel'@'localhost' IDENTIFIED BY 'hEj9SfQBgn';
    FLUSH PRIVILEGES;
    exit



    建立站点
    端口80 /data/game/htdocs   /data/game/htdocs/yx03_dev_s1 运行目录/admintool
    端口81 /data/game/htdocs/center/gateway/site
    端口82 /data/game/htdocs/center/manager/sites/cp
    端口83 /data/game/htdocs/center/manager/sites/op
    端口84 /data/game/htdocs/center/manager/sites/api
    端口85 /data/game/htdocs/center/manager/sites/doc
    端口86 /data/game/htdocs/center/manager/sites/static
    端口87 /data/game/htdocs/center/static/download
    端口88 /data/game/htdocs/center/static/upload
    端口89 /data/game/htdocs/center/countly/site
    端口90 /data/game/htdocs/cdn
    setenforce 0
    sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config


    yum -y erase epel-release
    rpm -Uhv http://ftp.iij.ad.jp/pub/linux/f ... ease-6-8.noarch.rpm
    yum clean all
    yum makecache
    yum -y erase rpmforge-release
    rpm -Uhv http://rpmfind.net/linux/dag/red ... forge-release-0.5.3

    -1.el6.rf.x86_64.rpm
    sed -i "s#enabled=1#enabled=0#g" /etc/yum/pluginconf.d/fastestmirror.conf
    yum -y install bison* bzip2* glibc* libaio* libcurl* libjpeg* freetype* libpng* libtool*

    libxml2*
    yum -y install ncurses* openssl* openldap* pcre* perl gcc gcc-c++ autoconf automake make

    cmake
    yum -y install vixie-cron crontabs expect lrzsz vim ntpdate screen iftop rsync bind-utils

    sysstat gdb

    echo "include ld.so.conf.d/*.conf
    /data/game/lib
    " > /etc/ld.so.conf && ldconfig


    客户端
    com.ys.dw\assets\AssetBundle\luajit\init-48270f7995779a74548b6bb9d05fe52e
    com.ys.dw\assets\AssetBundle\luajit\game\setting-491f3c0299fb1a1a2fedf73c6f26e8f4

    \Payload\dev.app\Data\Raw\AssetBundle\lua\init-3c9f719e7d9142a7043a247c490d9899
    \Payload\dev.app\Data\Raw\AssetBundle\lua\game\setting-9d40443952511dc95c03f4078669cdfb

    服务端
    /data/game/agent/yx03_dev_s1/script/global_func.sh
    /data/game/agent/yx03_dev_s1/server/2019031901/config/cross.xml
    /data/game/agent/yx03_dev_s1/server/2019031901/publish_release/serverconfig.xml
    /data/game/htdocs/yx03_dev_s1/app/config/config.php
    /data/game/htdocs/yx03_dev_s1/common/conf/comm.config.php
    /data/game/htdocs/cdn/yx03/cn/and/yx03_cn_a1/luajit/init
    /data/game/htdocs/cdn/yx03/cn/and/yx03_cn_a1/luajit/game/setting
    /data/game/htdocs/cdn/yx03/cn/ios/yx03_cn_a1/lua/init
    /data/game/htdocs/cdn/yx03/cn/ios/yx03_cn_a1/lua/game/setting
    /data/game/htdocs/center/gateway/class/config/main.php
    /data/game/htdocs/center/gateway/class/config/pt/dev.php
    /data/game/htdocs/center/gateway/class/controller/query.php
    /data/game/htdocs/center/gateway/site/dev/query1.txt
    /data/game/htdocs/center/gateway/site/dev/query2.txt
    /data/game/htdocs/center/manager/common/config.php
    /data/game/htdocs/yx03_dev_s1/app/config/config.php
    /data/game/htdocs/yx03_dev_s1/common/conf/comm.config.php





    启动
    cd /data/game/agent/yx03_dev_s1/script
    sh server_start.sh  dev_s1
    关闭
    cd /data/game/agent/yx03_dev_s3/script
    sh server_stop.sh  dev_s3



    后台
    admin 159753

    龙龙社区 http://a12345.vip:92

    回复

    使用道具 举报

    该用户从未签到

    0

    主题

    27

    帖子

    58

    积分

    注册会员

    Rank: 2

    钻币
    0
    银子
    0
    龙币
    31
    最后登录
    2020-9-29
    发表于 2020-5-18 11:24:07 | 显示全部楼层
    ddddddddddddddddddddddddddddddddd
    回复

    使用道具 举报

    该用户从未签到

    0

    主题

    27

    帖子

    58

    积分

    注册会员

    Rank: 2

    钻币
    0
    银子
    0
    龙币
    31
    最后登录
    2020-9-29
    发表于 2020-5-18 11:24:25 | 显示全部楼层
    vvvvvvvvvvvvvvvvvvvvvvvvvvv
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    快速回复 返回顶部 返回列表