V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  fulajickhz  ›  全部回复第 15 页 / 共 17 页
回复总数  326
1 ... 7  8  9  10  11  12  13  14  15  16 ... 17  
2016-04-22 16:48:03 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
通过 windows 的 icloud 客户端来操作 的流程就是 我下了一个 icloud 然后登陆 账户管理 跳到 https://appleid.apple.com/Zh_CN 我把地区和语言都改为美国,见上图, payment&shipping 那边我也全改成了美国,只不过 payment method 那边没写卡号
https://appleid.apple.com/account/manage 显示
http://i.imgur.com/S7GJPQe.png
2016-04-22 16:42:59 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
@VersusClyne
现在是我的账单地址改成了美国,支付地址仍然是中国。然后 itunes 有一句让我检查支付地址和账单地址,支付地址一定要是美国(估计因为我账单地址改为美国的原因) ID 的地区是按支付地址算的吗?
2016-04-22 16:40:58 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
@VersusClyne 没用啊 ,从 itunes 和 appstore 那儿选 change country or region ,依旧要美国的信用卡才行 我国内的 visa 就显示 your credit card was decline 。你前面说的“并且信用卡可以选择“无”” 没地方可选 信用卡那排图标就是 visa 万事达 美国运通 discover paypal
2016-04-22 16:33:28 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
@VersusClyne

itunes 和 appstore 的 account information 还是 China
http://i.imgur.com/t2G1K2I.png
2016-04-22 16:25:52 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
2016-04-22 16:18:06 +08:00
回复了 lynnlake 创建的主题 Apple 扭腰时报说苹果 iBooks Store 和 iTunes Movies 关了
@VersusClyne 您好 我照您说的,通过 icloud 在 https://appleid.apple.com 把账户的地区改成了 USA ,
http://i.imgur.com/EVSWs55.png
但我打开 itunes ,还是中国区,切到美区后要重新登录,登陆后就跳出来这个
This Apple ID is only valid for purchases in the Chinese iTunes Store. You will be switched to that Store.

这是什么原因?因为延迟吗?
2016-04-15 15:26:12 +08:00
回复了 wym572 创建的主题 Apple 约天才吧一直约不到,直到发现了还有这种软件。。。
杭州预约的人反而没地位,到时间了被晾到一边,还被路人插队
2016-04-13 09:04:35 +08:00
回复了 d1sm 创建的主题 分享创造 FinalSpeed 加速开源
@lelsetsuna @mhqschen @gzelvis @joydoudou 您好 我在 mac 下也无法使用 TCP ,用 sudo java -jar finalspeed_client.jar ,且安装了

Pyrex (0.9.9)

pypcap (1.1.4)

libpcap in /usr/local/lib

请问你们解决了吗?
2016-04-13 08:59:26 +08:00
回复了 d1sm 创建的主题 分享创造 FinalSpeed 加速开源
@Jobin0528 您好 我这边用 sudo java -jar finalspeed_client.jar 仍然无法开启 TCP 不知道是怎么回事
http://i.imgur.com/baZcTDC.png
2016-04-13 00:26:56 +08:00
回复了 tyhunter 创建的主题 问与答 OS X 下如何安装 libpcap
@tyhunter 你好,我用了 sudo 但仍然没用
```
sudo java -jar finalspeed_client.jar
```
http://i.imgur.com/baZcTDC.png
@TakanashiAzusa 我怕大家太长不看....
@billlee 感谢指正,请问禁止 root 通过 ssh 登录这整个流程有问题吗?
2016-04-12 21:28:36 +08:00
回复了 fulajickhz 创建的主题 宽带症候群 打算使用 Vultr 搭建 SS, aria2,一些疑问向大家请教
@raysonx @dot 您好

按照 DO 的[教程],配置 fail2ban( https://web.archive.org/web/20160317082130/https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-centos-6)

jail.conf 默认配置如下:
```
[DEFAULT]

# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
# ban a host which matches an address in this list. Several addresses can be
# defined using space separator.
ignoreip = 127.0.0.1

# "bantime" is the number of seconds that a host is banned.
bantime = 3600

# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
findtime = 600

# "maxretry" is the number of failures before a host get banned.
maxretry = 3
```
我是动态 IP ,这条 ignoreip = 127.0.0.1 不用改吗?,所以 jail.conf 保持默认即可?

谢谢
@realpg 感谢回复,不过我是 Linux 0 基础,所以还是弄安全点好,不怕一万就怕万一。
前文 1 2

打算使用 Vultr Tokyo, 浙江联通,正在搜集资料 希望大家能给点建议 谢谢

https://v2ex.com/t/267483#;

打算使用 Vultr 搭建 SS , aria2 ,一些疑问向大家请教

https://v2ex.com/t/270028#reply17

---
@realpg 大兄弟有空帮忙看看 谢谢
@realpg 您好 请问各自 SS 的流量统计是如何实现的?
2016-04-12 00:36:42 +08:00
回复了 fulajickhz 创建的主题 宽带症候群 打算使用 Vultr 搭建 SS, aria2,一些疑问向大家请教
我 Linux0 基础,问了很多非专业问题,真是不好意思:)

谢谢各位的回答 @TakanashiAzusa @raysonx @maskerTUI @oojiayu @YUX @Valyrian @zwpaper @zhangyi2099

非常抱歉 第 7 条 违反了 TOS

我的目的是要禁止 root 账户登录,和密码登录,装 SS(配置多端口), Finalspeed 和 fail2ban, 最终实现用 SSH-key 登录。

禁止 root 账户登录和 SSH-key 登录仍有些疑问。

本地 mac 开 2 个 terminal , terminal_1 用作登陆 VPS , terminal_2 来配置 SSH-key

terminal_1

VPS 端

进入 terminal

输入 ssh root@ip_address #登陆 VPS 的 ROOT 账户

adduser A #添加用户 A


terminal_2

本地 mac 端

ssh-keygen -t rsa #创建密钥

Generating public/private rsa key pair.

Enter file in which to save the key (/user/.ssh/id_rsa):

Created directory '/user/.ssh '
Enter passphrase (empty for no passphrase):
#回车

Enter same passphrase again: #回车
Your identification has been saved in /user/.ssh /id_rsa. #私钥
Your public key has been saved in /user/.ssh /id_rsa.pub. #公钥
The key fingerprint is:
05:71:53:92:96:ba:53:20:55:15:7e:5d:59:85:32:e4 root@test
The key's randomart image is:
+--[ RSA 2048]----+
| o o .. |
| . o oo.+ . |
| o.+... = |
| ...o |
| o S |
| . |
| |
| |
| |
+--------------------+

ssh-copy-id A@IP_address #公钥拷贝到 A 中,所以现在本地有私钥和公钥, VPS 的 A 上有公钥

terminal_1

vps 端

vi /etc/ssh/sshd_config 或 sudo nano /etc/ssh/sshd_config #我本机找不到 /etc/ssh ,所以猜测是到 VPS 上配置

找到#PermitRootLogin #PasswordAuthentication #AuthorizedKeysFile .ssh/authorized_keys 把 yes 改为 no ,注释掉#, 这样 root 无法登陆, root 和 A 都无法用密码登录

修改端口 改为 Port 123456

:wq #保存并退出

/etc/ssh/sshd restart #重启

iptables -I INPUT -p tcp --dport 123456 -j ACCEPT

service iptables save

service iptables restart


本地 mac

复制一个私钥的 txt 文件,命名为 deployment_key.txt ,内有私钥

terminal_2

ssh -i /路径 /deployment_key.txt A@IP_address #通过 SSH key 登录了 VPS 的账户 A

到这里是否已经实现禁止 root 账户登录,密码登录只能用 SSH-key 登录?
2016-04-10 21:02:23 +08:00
回复了 tonyliangli 创建的主题 宽带症候群 VULTR 国内视频网站特别慢
@ershiwo 您好,能说说 vultr 东京的机房有什么问题吗,最近想试试它的 vps ,谢谢
还有这个 20 刀是无限制优惠碼: NGINX20 是怎么得到的?
您好,
1 、问一下 20 刀是无限制优惠碼: NGINX20 的有效期有多久?
2 、如果我新手开了 50$+20$,他前 2 个月扣钱是扣 50$还是 20$的?
1 ... 7  8  9  10  11  12  13  14  15  16 ... 17  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3093 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.