V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  rateltalk  ›  全部回复第 93 页 / 共 94 页
回复总数  1870
1 ... 85  86  87  88  89  90  91  92  93  94  
2017 年 6 月 24 日
回复了 rateltalk 创建的主题 问与答 国内有没有什么好的付费问答社区呢?
@learnshare 付费提问之前需要先支付宝或者微信支付的,对方就是我可以提问的人,他们是收费的
2017 年 6 月 22 日
回复了 cenxun 创建的主题 全球工单系统 阿里云 OSS 自动创建
同,,不知道收费不
2017 年 6 月 16 日
回复了 rateltalk 创建的主题 问与答 被 nginx 伪静态搞疯了,,
# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /
#mobile start
#mobile end
RewriteRule ^(uploads/.*?_\d+x\d+\.(jpg|gif|png|jpeg))$ /image/index.php?$1 [L]

# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>


# Protect application and system files from being viewed
RewriteRule ^(?:v5|modules|system)\b.* index.php/$0 [L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/(uploads|public|newtravel|phone|payment)(/)?
#RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]
@lidongyx 给个大致方法?谢谢
2017 年 5 月 23 日
回复了 rateltalk 创建的主题 问与答 请教一个关于 amazon 云存储的问题?
@hezhile AWS 的 CDN 是收费的,如果我使用免费的 cloudflare+AWS 的 s3 的效果和 s3+aws 的 cloudflare 对比,效果会差多少?尴尬的是我没做过测试。
2017 年 5 月 16 日
回复了 jellybool 创建的主题 PHP Laravist 全部视频都可以免费观看啦!
我的账号:609926202
2017 年 5 月 13 日
回复了 qq292382270 创建的主题 服务器 看, 我的服务器中了目前市面上最火的病毒哈哈...
其实我想问如果是 linux 系统的服务器会有什么提示?
2017 年 5 月 12 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
@Jakesoft 呃,可是我看了 php 错误日志其中并没有任何信息啊。。
2017 年 5 月 12 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
解决了,,是 a 服务器上没有安装 phpredis 扩展,,,我这个逗。
2017 年 5 月 11 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
@Lax b 服务器上是没有问题的,可以正常写入 key-value 对,而且 b 上的 php.ini 设置的 session_path 和 a 的一样,都是 10.12.222.134:6379。
那我目前猜测应该是 a 上的网站无法向 b 上的 redis 服务写 key-value 对。但是不知道从何下手,好像并没有不能写入这一问题啊,。
2017 年 5 月 11 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
@jarlyyn 我感觉是 b 上登录时无法向 a 服务中的 redis 服务写入 session 信息导致的,这个大家知道如何判断吗?或者有什么解决方法。
2017 年 5 月 11 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
@jarlyyn 通的。
2017 年 5 月 11 日
回复了 rateltalk 创建的主题 问与答 ELB, Redis 实现 session 共享,遇到些问题。。
@jarlyyn 我同时绑定了安装了 redis 服务的服务器的内网 ip,然后另外一台通过这个 ip 进行连接 redis 服务。
@undeflife 首先你得翻墙。。
@QQ2171775959 共勉,哈哈
@ETiV 能提供一下这个 repo 吗。。。
2017 年 5 月 8 日
回复了 rateltalk 创建的主题 问与答 继续求问关于 vagrant 网站访问速度。。
@mritd 额,我这是跟风状态,有人说线下开发用 vagrant 部署;线上用 dicker 部署。所以这会我就捣鼓 vagrant 了。
2017 年 5 月 7 日
回复了 rateltalk 创建的主题 问与答 继续求问关于 vagrant 网站访问速度。。
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.

# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "centos6.7"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080

# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10"

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"

# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"

# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.

# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end

# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y apache2
# SHELL
end
@xlcoder166 兄弟能把你的配置表发我一份吗,我按照你的配置共享文件夹直接就失效了,,
# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.

# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "centos7.2"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080

# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10"

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"

# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"

# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.

# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end

# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y apache2
# SHELL
end


这是我的配置
@xlcoder166
1 ... 85  86  87  88  89  90  91  92  93  94  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1121 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 18:22 · PVG 02:22 · LAX 11:22 · JFK 14:22
♥ Do have faith in what you're doing.