峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
2019-08-06 |Nonni | TSI

nh012.png

CentOS6

https://github.com/Anankke/ss-panel-v3-mod_Uim

一键脚本:

wget -N --no-check-certificate https://raw.githubusercontent.com/mmmwhy/ss-panel-and-ss-py-mu/master/ss-panel-v3-mod.sh && chmod +x ss-panel-v3-mod.sh && bash ss-panel-v3-mod.sh

默认账号:ss@feiyang.li
默认密码:feiyang

开启BBR:

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

reboot

修改外观:
vi /home/wwwroot/网站/resources/views/materials/index.tpl
/home/wwwroot/网站/public/favicon.ico

修改user-config.json:
vi shadowsocks/user-config.json

关闭防火墙:
systemctl disable firewalld
systemctl stop firewalld

2019-08-05 |Nonni | TSI

nh015.png
项目地址: https://github.com/Anankke/ss-panel-v3-mod_Uim
环境要求: 宝塔、1GB内存、centos7
安装宝塔,LNMP环境部署后添加配置网站vivi.ink

复制下面全部代码,然后粘贴到ssh命令端:

cd /www/wwwroot/vivi.ink
yum update && yum install git -y
git clone -b master https://github.com/Anankke/ss-panel-v3-mod_Uim.git tmp && mv tmp/.git . && rm -rf tmp && git reset --hard
cp config/.config.php.example config/.config.php
chown -R root:root *
chmod -R 755 *
chown -R www:www storage
php composer.phar install

软件设置php修改:

关闭 display_errors
禁用函数 system proc_open proc_get_status
运行模式设为静态
运行目录设置为public,取消勾选防跨站攻击
设置伪静态:
location / {

try_files $uri /index.php$is_args$args;

}

新建数据库,并导入sql文件夹下的glzjin_all.sql

进入网站根目录/config/config.php修改参数:
appName
baseUrl
db_database
db_username
db_password

创建管理员:
php xcat initQQWry //下载ip解析库,必须
php xcat createAdmin //创建管理员,必须
php xcat npmbuild //构建index

设置定时任务:
执行crontab -e命令, 添加以下四条
30 22 * php /www/wwwroot/demo.baiyue.one/xcat sendDiaryMail
0 0 * php -n /www/wwwroot/demo.baiyue.one/xcat dailyjob
/1 * php /www/wwwroot/demo.baiyue.one/xcat checkjob
/1 * php /www/wwwroot/demo.baiyue.one/xcat syncnode

然后按ECS键后输入:wq回车退出。

2019-08-01 |Nonni | TSI

nh016.png
当你离职时如果想彻底清除电脑硬盘里的数据,防止格式化后被人恢复,可以参考三个方法:

A:用管理员权限运行powershell或者cmd,输入命令:
cipher /w:D (D为需要擦除的磁盘分区,不会删除分区,反复用0和1读写硬盘来完整擦除数据)

B:用Eraser软件清除。

C:假如需要整个硬盘清除,建议使用Gdisk,需要刻启动盘或者用UltraISO写入U盘。

*工具包下载地址: http://tokyohot.ltd/
*清除数据后可以使用OntrackEasyRecovery等磁盘恢复工具扫一遍。

2019-08-01 |Nonni | Digi

nh017.png
Google,TikTok等锁区应用会检测手机的如下信息进行服务锁定纠正:
gsm.sim.operator.numeric
gsm.operator.numeric
gsm.sim.operator.iso-country
gsm.operator.iso-country
gsm.sim.operator.alpha
gsm.operator.alpha

其中需要修改的SIM Card信息:
gsm.sim.operator.alpha "AT&T" #修改运营商为AT&T,若使用eMobile则是"eMobile"。
gsm.sim.operator.iso-country "us" #修改SIM卡国家为US,日本则是"jp"。
gsm.sim.operator.numeric "310090" #修改为AT&T市场代码310090,若eMobile的市场代码则是"44000"

修改方法:
Android ROOT后,安装终端程序,比如Termux或者TerminalEmulator,然后运行如下命令:
su
setprop gsm.sim.operator.alpha "AT&T"
setprop gsm.sim.operator.iso-country "us"
setprop gsm.sim.operator.numeric "310090"

恢复方法:
重启手机,重新插拔SIM卡。