1.安装vsftp使用apt-get命令安装vsftp#apt-get install vsftpd -y2.添加ftp帐号和目录先检查一下nologin的位置,通常在/usr/sbin/nologin或者/sbin/nologin下。使用下面的命令创建帐户,该命令指定了/data/www/wwwr...
分类:
系统相关 时间:
2015-04-30 18:05:22
阅读次数:
151
nginx是一个强大的http服务器,但是在使用过程中发现,当遇到超长的post请求或者get请求时,nginx会返回413、400、414等状态码,这是因为请求串长度超过了nginx默认的缓存大小或者请求串大小,那么我们需要怎么样来解决这些问题呢?针对POST请求,我们可以调整如下两个配置项来解决...
分类:
其他好文 时间:
2015-04-30 17:56:13
阅读次数:
105
1,F2更换名字,自动完成 2.try switch等按两次TAB建,自动完成格式 3.自动属性快捷键 ctrl+r,ctrl+e 有人说是加个分号 就不需要写get set了。上下效果是相同的。 4.VS2013中,函数括号内直接按TAB跳出右面的括号下面网上收集,个人觉得折叠还有...
分类:
其他好文 时间:
2015-04-30 17:49:22
阅读次数:
130
前面讲了yum 代理设置上网的方法,现在设置一下系统代理上网,网上很多都不管用,已亲测管用 [root@proxy ~]# cat .bash_profile #root目下添加代理上网,蓝色代码# .bash_profile# Get the aliases and functi...
分类:
其他好文 时间:
2015-04-30 17:44:18
阅读次数:
131
//启动其他Activity之前Intent i = new Intent(CardNumberActivity.this, GetCodeActivity.class);i.putExtra("cardNum", cardNumber);i.putExtra("bankName", map.get...
分类:
其他好文 时间:
2015-04-30 17:42:50
阅读次数:
108
多态的字面含义:具有多种不同的形态。关键字:编译期多态(就是重载或者模板) 和运行期多态int getMax( int param1, int param2 );double getMax( double param1, double param2 );这是重载下面是模板templateT get....
分类:
其他好文 时间:
2015-04-30 17:37:27
阅读次数:
133
第七节 GET与POST请求1GET//get if(isset($_GET['name'])&&$_GET['name']) { echo 'Hello'.$_GET['name']; }else{ echo '请输入名字';}View Code2POST//postif($_POS...
分类:
其他好文 时间:
2015-04-30 17:35:37
阅读次数:
137
Write a SQL query to get the nth highest salary from the Employee table.
+----+--------+
| Id | Salary |
+----+--------+
| 1 | 100 |
| 2 | 200 |
| 3 | 300 |
+----+--------+
For exampl...
分类:
其他好文 时间:
2015-04-30 16:20:47
阅读次数:
116
Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with another chara...
分类:
其他好文 时间:
2015-04-30 16:18:47
阅读次数:
97
Write a SQL query to get the second highest salary from the Employee table.
+-...
分类:
其他好文 时间:
2015-04-30 14:13:26
阅读次数:
137