CODER

RECORDING, ENJOY LIFE

2018年6月7日 21:38
WindowsRegistryEditorVersion5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Licenses] @="Licensing:Copyingthekeysmaybeaviolationofestablishedcopyrights." [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Licenses\096... [查看详细]
2017年9月24日 21:15
1.先说本人测试通过的方法,也是来自官方文档的方法。官方文档:http://nginx.org/en/docs/http/converting_rewrite_rules.html本人网站测试地址:uuid.online(因CSDN原因,链接地址只能填www.uuid.online,测试时先跳转到这个地址,再删除www测试)直接上本人的配置文件。server{listen80;server_nam... [查看详细]
2017年8月17日 13:23
chroot_local_user=YES #去掉前面的注释 #chroot_list_enable=YES #chroot_list_file=/etc/vsftpd/chroot_list #不受限制的用户列表,用不用都OK allow_writeable_chroot=YES #加上这行解决了无法登陆的问题 [查看详细]
2017年8月10日 11:27
方法一:(常用\方便) [root@localhostetc]#chkconfig--list|grepvsftpd (查看情况) vsftpd0:off1:off2:off3:off4:off5:off6:off [root@localhostetc]#chkconfigvsftpdon (执行ON设置) 方法二 修改文件/etc/rc.local,把行/usr/local/sbin/vs... [查看详细]
2017年8月9日 11:44
首先,在linux系统的/etc/init.d/目录下创建nginx文件,使用如下命令: vi/etc/init.d/nginx 在脚本中添加如下命令: #!/bin/bash #nginxStartupscriptfortheNginxHTTPServer #itisv.0.0.2version. #chkconfig:-8515 #description:Nginxisahigh-perf... [查看详细]
2017年8月9日 11:43
servicemysqlstart出错,mysql启动不了,解决mysql:unrecognizedservice错误的方法如下: [root@ctohome.com~]#servicemysqlstart mysql:unrecognizedservice [root@ctohome.com~]#servicemysqlrestart mysql:unrecognizedservice [ro... [查看详细]
2017年8月9日 11:41
在server{–}里面如下加上 {if(!-e$request_filename){ rewrite^/index.php(.*)$/index.php?s=$1last; rewrite^(.*)$/index.php?s=$1last; break; } [查看详细]
2017年8月9日 11:39
wget-chttp://soft.vpser.net/lnmp/lnmp1.4.tar.gz&&tarzxvflnmp1.4.tar.gz&&cdlnmp1.4&&./install.sh 参考:https://lnmp.org/install.html [查看详细]
2017年8月9日 11:34
1、架设2个虚拟服务器,都要安装好MySql 2、关闭iptables和selinux serviceiptablesstop setenforce0 3、修改/etc/my.cnf server-id=1#主服务器可以设置为1,从服务器可设置为ip最后一段保证唯一性 log-bin=mysql-bin#主从服务的核心 servicemysqldrestart#重启mysql服务 4、主... [查看详细]
2017年8月9日 11:26
关闭防火墙 serviceiptablesstop 或打开21端口 vi/etc/sysconfig/iptables -AINPUT-mstate--stateNEW-mtcp-ptcp--dport21-jACCEPT 如果更改了iptables就需要重启防火墙,命令如下: serviceiptablesrestart 安装ftp yum-yinstallvsftpd 配置f... [查看详细]
1234
LinuxNginxApachePHPMysqlThinkPHPCSS3JQueryVB其他