直接输命令sudo apt-get -y install netcat curl https://get.acme.sh | sh source ~/.bashrc # 确保80端口没有被占用 sudo apt-get install socat sudo ~/.acme.sh/acme.sh --issue -d 你的域名 --standalone -k ec-256 # 在/etc/v2ray/目录生成证书 sudo ~/.acme.sh/acme.sh --installcert -d 你的域名 --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray

- 阅读剩余部分 -

创建 1GB 的虚拟内存dd if=/dev/zero of=/swap bs=1M count=1024修改权限chmod 0600 /swap将 swap 这个文件格式化为 swapmkswap /swap开启 swap 分区swapon /swap 如需关闭,则执行:swapoff /home/swap加入 fstab 以实现开机加载echo '/swap swap swap default 0 0' &g

- 阅读剩余部分 -

首先建一个自己的*.bat文件再建一个*.vbs文件,并写入如下内容:Set ws = CreateObject("Wscript.Shell") ws.run "cmd /c *.bat",vbhide 以上两个文件要在同一个目录下。如果不在,*.bat要用绝对路径(example:D/test/test.bat)运行*.vbs侧不会出现cmd窗口了。ps:如果要关必可以用:taskk

- 阅读剩余部分 -

ssh登陆openelec(user:root;password:openelec)在/root/.kodi/userdata下新建advancedsettings.xml,其内容如下: <advancedsettings> <cache> <buffermode>1</buffermode> <memorysize>139460608</memorysize> <readfactor>20</readfactor> </cache> </advancedsettings>重启op

- 阅读剩余部分 -

*安装大概步骤:1.注册一个或名。可以去freenom弄一个免费的。2.得有一个vps。3.安装caddy(来源于逗比根据地)wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager 如果上面这个脚本无法下载,尝试使用备用下载: wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager 4.安装php-fpmapt-get install php5-fpm -y5.安装sqlite数据库apt-get install php5-sqlite sqlite sqlite3 -y6.php-fpm要root运行。 修改 /etc/php5/fpm/pool.d/www.conf 中为如下形式:; Unix user/group of processes ; Note: The user is mandatory. If the group is not set, the default user's group ; will be used. user = root group = root listen = 9000 然后运行php5-fpm -R如何让php5自动以root用户运行,我也没搞定。7.设置caddy运行参数 在/usr/local/caddy/Caddyfile 中添加一段: example.com(同你自已的域名) { tls xxxx@qq.com(同你自己的QQ由箱) root /var/www/typecho gzip fastcgi / 127.0.0.1:9000 php } 8.下载typecho最新稳定版并解压得到一个build目录,移动并改名到/var/www/typecho(如果没有可能自行创建)9.在chrome浏览器中输入:example

- 阅读剩余部分 -