Giter Club home page Giter Club logo

dof's People

Contributors

meigea avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

dcdw20008 lzb112

dof's Issues

ssh client error

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1

常见错误和解决方法

频道初始化数据溢出

数据库多进程读取出错

free swap 问题

数据SQL初始化失败

DB name='d_channel'
Try Mysql Login~~~~
DB ip='127.0.0.1'
DB id='game'
DB pw='uu5!^%jg'
DB name='d_channel'
Try Mysql Login~~~~

上述出现问题 统一增加虚拟内存

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure("2") do |config|
  
  config.vm.box = "centos/7"
  config.vm.hostname = "dox1"
  config.vm.network "public_network", ip: "192.168.3.55"
  config.vm.synced_folder "./data", "/vagrant_data"

  config.ssh.username = 'vagrant' 
  config.ssh.password = 'vagrant'

  config.vm.provider "virtualbox" do |vb|
	vb.memory = "2048"
	vb.cpus = 2
	vb.name = "77cen7"
  end
  
  
end

centos.repo


[base]  
name=CentOS-$releasever - Base  
baseurl=http://vault.centos.org/5.11/os/x86_64/  
gpgcheck=1  
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5  
  
  
#released updates   
[updates]  
name=CentOS-$releasever - Updates   
baseurl=http://vault.centos.org/5.11/updates/x86_64/  
gpgcheck=1  
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5  
  
  
#additional packages that may be useful  
[extras]  
name=CentOS-$releasever - Extras  
baseurl=http://vault.centos.org/5.11/extras/x86_64/  
gpgcheck=1  
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5  
  
  
  
  
#additional packages that extend functionality of existing packages  
[centosplus]  
name=CentOS-$releasever - Plus   
baseurl=http://vault.centos.org/5.11/centosplus/x86_64/  
gpgcheck=1  
enabled=0  
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5  
  
  
  
  
#contrib - packages by Centos Users  
[contrib]  
name=CentOS-$releasever - Contrib  
baseurl=http://vault.centos.org/5.11/contrib/x86_64/  
gpgcheck=1  
enabled=0  
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :


Vagrant.configure("2") do |config|
  
  config.vm.box = "actanble/centos5"
  config.vm.hostname = "dof"
  config.vm.network "public_network", ip: "192.168.3.27"
  config.vm.synced_folder "./data", "/vagrant_data"

  config.ssh.username = 'vagrant' 
  config.ssh.password = 'vagrant'

  config.vm.provider "virtualbox" do |vb|
	vb.memory = "4096"
	vb.cpus = 4
	vb.name = "dof"
  end
end

问题解决 cfg问题public.pem网关登录

采用4.5统一网关登陆器。
config.ini 和 pem 要放到根目录。

# !/bin/bash
YOUR_IP=$(ifconfig | grep inet\ addr:192 | awk -F : '{print $2}' | awk '{print $1}')
find /home/neople/ -type f -name ".tbl" | xargs sed -i "s/192.168.3.27/$YOUR_IP/g" ;
find /home/neople/ -type f -name ".cfg" | grep -v __ | xargs sed -i "s/192.168.3.27/$YOUR_IP/g" ;

Vagrantbox搭建

find /home/neople/ -type f -name "*.tbl" | xargs sed -i "s/101.200.211.94/192.168.3.27/g" ;
find /home/neople/ -type f -name "*.cfg" | grep -v __ | xargs sed -i "s/101.200.211.94/192.168.3.27/g" ;
chmod 755 /opt/lampp/etc/my.cnf ;
cd /home/GeoIP-1.4.8/  &&  ./configure && make && make check && make install ;

网盘工具分享


- dxf-20190309.box 网盘
链接: https://pan.baidu.com/s/1uNkKnjTqZ3k82WDybOcnug 提取码: 1111

- dof.tar.gz 
链接: https://pan.baidu.com/s/1tA3tcYcSSXsYaYx2D0JmgA 提取码: 2333

- 梦太晓PVF大全
链接: https://pan.baidu.com/s/10k0U_AToDD5DP7GqA0leLA 提取码: 1111

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.