V2Ray一键安装脚本

Posted Leave a commentPosted in VPN

https://github.com/233boy/v2ray/wiki/V2Ray%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E8%84%9A%E6%9C%AC 安装或卸载 要求:Ubuntu 16+ / Debian 8+ / CentOS 7+ 系统 推荐使用 Debian 9 系统,脚本会自动启用 BBR 优化。 备注:不推荐使用 Debian 8 系统,因为 Caddy 申请证书可能会出现一些莫名其妙的问题 强烈推荐使用 搬瓦工VPS,稳定,快速,针对中国线路专门优化,完全无须担心跑路,服务好,30天退款保证。 使用 root 用户输入下面命令安装或卸载 bash <(curl -s -L https://git.io/v2ray.sh) 如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl ubuntu/debian 系统安装 Curl 方法: apt-get update -y && apt-get install curl -y centos […]

BBR安装教程:Debian9、CentOS

Posted Leave a commentPosted in Skill

BBR 是 Google 开源的一个 TCP 拥塞控制算法项目,可以充分发挥服务器的带宽。开与不开 BBR,搭建 SSR 和 V2Ray 等代理工具时,最高可以相差近 10 倍!目前该 BBR 算法已经并提交到了 Linux 内核,从 Linux 4.9 开始已经默认安装编译了该算法. 所以采用 Linux 4.9 内核的Debian9系统不用再安装可以通过几行命令开启,CentOS系统则还需要一些简单的步骤进行安装和开启,翻墙君为分别为演示如何为 Debian9 和 CentOS 系统开启 BBR 加速。 Debian9 开启 BBR 1.使用[Xshell]之类的程序连接你的 Debian9 系统服务器,然后全选如下命令粘贴到 Xshell 执行(作用:改变系统变量)。注意需以 root 身份执行命令,非 root 账号请先执行sudo -i获取临时 root 权限。 echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf 2.然后执行如下命令(作用:保存上一步的修改并生效) sysctl […]

How to Install PHP 5.4, PHP 5.5 or PHP 5.6 on CentOS 6

Posted Leave a commentPosted in Skill

Install EPEL and Remi Repository 1. To install latest stable version of PHP, you need to add EPEL and Remi repository to your CentOS 6distribution using the following commands as root user. # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm # rpm -Uvh epel-release-6-8.noarch.rpm remi-release-6.rpm Install EPEL and Remi Repo Install Yum-Utils to Manage Repository 2. Install yum-utils, a collection of utilities that integrate with […]

Installing PHP 5.4 on RHEL 6 and CentOS 6

Posted Leave a commentPosted in Skill

Red Hat Enterprise Linux and CentOS 6 still ship with PHP 5.3. ownCloud requires PHP 5.4 or better. There are several third-party repositories that supply PHP 5.4, but you must use the Software Collections (SCL) repository to be in compliance with your RHEL support contract, and not any other third-party repository. RHEL 6 Follow these […]

How to fix wordpress on Nginx 404 not found page

Posted Leave a commentPosted in Skill

Please add following text into nginx configuration file. location / { # This is cool because no php is touched for static content. # include the “?$args” part so non-default permalinks doesn’t break when using query string try_files $uri $uri/ /index.php?$is_args$args =404; } if (!-e $request_filename) { rewrite ^.*$ /index.php last; }