V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  jdle  ›  全部回复第 1 页 / 共 1 页
回复总数  16
2017-09-07 13:56:57 +08:00
回复了 jdle 创建的主题 NGINX nginx 反代网站 可以正常注册登录吗?
@s609926202 没有
美国那边我用的 st 的 vps 和 re 的 vds
前者高防,后者独享。
阿里是新加坡和香港的
2017-09-06 15:37:42 +08:00
回复了 jdle 创建的主题 NGINX nginx 反代网站 可以正常注册登录吗?
@s609926202 我用的阿里云
2017-09-06 08:19:38 +08:00
回复了 jdle 创建的主题 NGINX nginx 反代网站 可以正常注册登录吗?
自己已经解决了.

只是由于反代最好要关系到缓存问题.

然后再加上 wp 主题问题,会有延迟。

应该影响到的因素包括、缓存、CDN、主题。

wp 反代之后能实现全部功能了,包括支付。
2017-08-22 21:53:00 +08:00
回复了 jdle 创建的主题 DNS 谁家 DNS 可以解析根域名的 CNAME 记录?
@LYEHIZRF 我试下这个
2017-08-22 13:30:52 +08:00
回复了 jdle 创建的主题 DNS 谁家 DNS 可以解析根域名的 CNAME 记录?
@gstqc 我在 zoneedit 删了默认的 MX 解析,到 CNAME 添加的时候,还是说不符合规范。 不知道是不是缓存问题。
2017-08-22 13:21:01 +08:00
回复了 jdle 创建的主题 DNS 谁家 DNS 可以解析根域名的 CNAME 记录?
@xcodeghost 不做 MX 解析的,有用过的吗?
2017-03-20 17:21:40 +08:00
回复了 jdle 创建的主题 程序员 从 0 开始做一套 B2B 商城,需要多久时间?
@ldehai 大概什么价?
2017-03-20 17:20:41 +08:00
回复了 jdle 创建的主题 程序员 从 0 开始做一套 B2B 商城,需要多久时间?
@justudy 有啥联系方式没
2016-11-21 00:24:05 +08:00
回复了 jdle 创建的主题 SSL apache 下多个域名多个目录 怎么配置 SSL
怎么发布出来之后 。。。这么乱
2016-11-06 08:10:41 +08:00
回复了 guozixi 创建的主题 SSL Discuz X3.2 部署 SSL 后, HTTPS 可以访问,但是里面的链接还是 HTTP
能不能把你伪静态的配置分享下,我加了 https 之后,伪静态就不对了,实际上已经伪静态了,但是网址还是显示动态的。
2016-11-06 07:56:27 +08:00
回复了 roustar31 创建的主题 SSL 分享下 Discuz! X3.2 启用 SSL 的过程
你这样伪静态不失效?
2016-10-26 16:12:14 +08:00
回复了 jdle 创建的主题 数据库 用独立服务器搭建的数据库,怎么链接?
@qinxi
访问权限这个就是把 host 项,从” localhost ”改为'%'吗?
2016-10-26 16:00:46 +08:00
回复了 jdle 创建的主题 数据库 用独立服务器搭建的数据库,怎么链接?
@Cannikin
@qinxi
要是买现在服务器同区域的,是不是不用公网 ip ,直接也走内网的?
比如我现在的服务器是在华东 1 区,我另外也在买台华东 1 区的来做数据库?
2016-10-26 15:40:44 +08:00
回复了 jdle 创建的主题 数据库 用独立服务器搭建的数据库,怎么链接?
@yghack
@realpg
@newghost
这是 my.cnf 的配置
[mysqld]

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 1400M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# socket = .....

# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 2M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
这是 etc 目录下的
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-external-locking
log-error=/alidata/log/mysql/error.log
key_buffer_size = 32M
max_allowed_packet = 1M
table_open_cache = 512
sort_buffer_size = 2M
net_buffer_length = 8K
read_buffer_size = 2M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 8M

log-bin=mysql-bin
binlog_format=mixed
server-id = 1

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 10M
write_buffer = 10M

[mysqlhotcopy]
interactive-timeout
expire_logs_days = 5
max_binlog_size = 1000M

是的,我对数据库不懂,服务器的物理内存是 2G 。
2016-10-26 15:39:08 +08:00
回复了 jdle 创建的主题 数据库 用独立服务器搭建的数据库,怎么链接?
@zeraba

[mysqld]

# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 1400M

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# socket = .....

# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 2M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
这是 etc 目录下的
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-external-locking
log-error=/alidata/log/mysql/error.log
key_buffer_size = 32M
max_allowed_packet = 1M
table_open_cache = 512
sort_buffer_size = 2M
net_buffer_length = 8K
read_buffer_size = 2M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 8M

log-bin=mysql-bin
binlog_format=mixed
server-id = 1

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

[myisamchk]
key_buffer_size = 20M
sort_buffer_size = 20M
read_buffer = 10M
write_buffer = 10M

[mysqlhotcopy]
interactive-timeout
expire_logs_days = 5
max_binlog_size = 1000M

我对数据库不懂
2016-10-26 03:22:07 +08:00
回复了 jdle 创建的主题 数据库 用独立服务器搭建的数据库,怎么链接?
@willis
total used free shared buffers cached
Mem: 1875 1804 71 0 78 57
-/+ buffers/cache: 1667 207
Swap: 0 0 0

刚才用命令看了下使用情况。
日志粘贴出来,就乱了,也没看见编辑器那里可以修改。

就是现在网站数据库配置文件里面的:
$db_host = "localhost:3306";
改成
$db_host = "独立服务器 ip";这样吗?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   941 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 22:22 · PVG 06:22 · LAX 15:22 · JFK 18:22
Developed with CodeLauncher
♥ Do have faith in what you're doing.