作者归档:superaj

Oracle甲骨文重装系统出现Error, Not found interfaces config.解决办法

#先切换到root权限
sudo -i
运行:
#Debian/Ubuntu:
apt-get update
#RedHat/CentOS:
yum update
#确保安装了所需软件:
#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file
#RedHat/CentOS:
yum install -y xz openssl gawk file

DD发现错误,出现 Error, Not found interfaces config

#ssh运行下面 两个命令就可以dd了
#命令1
mkdir /etc/network/interfaces.d
#命令2
echo "# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens3
iface ens3 inet dhcp

" > /etc/network/interfaces

 

附DD脚本:

# DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win7_sp1_64_Administrator_nat.ee.gz'

# DD Windows8.1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win8.1_64_Administrator_nat.ee.gz'

# DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2016LTSB_64_Administrator_nat.ee.gz'

# DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'

# DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'

 

Get.online 免费注册一年.online后缀域名

本次活动由Blogosphere社区联合Get.online举办,为Blogosphere 社区的成员提供一年免费.online域名!

无需验证信用卡,无需验证电话号码!目前来看没有出现风控!续费原价!

注册地址
https://get.online/

折扣码
BLOGOSPHERE

操作步骤
Ⅰ. 选择自己心仪的域名,添加购物车,然后去结算!

Ⅱ. 结算时移除域名隐私保护,添加折扣码:BLOGOSPHERE

Ⅲ. 注册账号。然后即可购买!

管理域名
域名管理面板:https://manage.get.online/servlet/ListAllOrdersServlet?formaction=listOrders

Debian10给VPS添加IPV6访问可解锁Netflix以及解除google验证码(内核级)

——————————— debian初始化——————————— 

wget http://coolaj.cn/tools/Debian10.list

sudo mv Debian10.list /etc/apt/sources.list

sudo apt update && sudo apt upgrade -y

apt install libgd3 libgd-dev -y

apt install gcc automake autoconf libtool make -y

 

——————————— WGCF安装——————————— 

#弄个文件夹方便管理相关文件

mkdir wgcf

cd wgcf

#下载对应程序

wget -O wgcf https://github.com/ViRb3/wgcf/releases/download/v2.1.4/wgcf_2.1.4_linux_amd64

#添加执行权限

chmod +x wgcf

#注册WARP账户

./wgcf register

#生成WireGuard配置文件

./wgcf generate

sed -i "s/AllowedIPs = 0.0.0.0\/0//" wgcf-profile.conf

———————————  WGCF加载———————————

apt-get install sudo net-tools openresolv -y
#Debian添加unstable源
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable-wireguard.list
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' > /etc/apt/preferences.d/limit-unstable
#debian更新源并安装
apt-get update
apt-get install wireguard-dkms wireguard-tools
#加载内核模块
modprobe wireguard
#检查WG模块加载是否正常
lsmod | grep wireguard
cat wgcf-profile.conf >/etc/wireguard/wgcf.conf
#开启隧道
sudo wg-quick up wgcf
#关闭隧道
sudo wg-quick down wgcf
#查看是否显示V6IP
ifconfig

V2配置参考下方文章的六

CentOS7给VPS添加IPV6访问可解锁Netflix以及解除google验证码

CentOS7给VPS添加IPV6访问可解锁Netflix以及解除google验证码

一、安装wireguard-go

Github地址:https://github.com/WireGuard/wireguard-go

编译安装

一些需要的软件yum install -y wget git make

如果是debian/ubuntu:apt install -y wget git make

1.安装golang1.16

wget https://golang.org/dl/go1.16.1.linux-amd64.tar.gz

tar xvf go1.16.1.linux-amd64.tar.gz -C /usr/local

cat <<EOF >> /etc/profile

#golang env config

export GO111MODULE=on

export GOROOT=/usr/local/go 

export GOPATH=~/gopath

export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

EOF

source /etc/profile

 

2.拉取代码并编译

git clone https://git.zx2c4.com/wireguard-go.git

git checkout 0.0.20201118

cd wireguard-go

make

mv wireguard-go /usr/local/sbin

#下载编译好的二进制文件安装

#一些需要的软件yum install -y wget

#如果是debian/ubuntu:apt install -y wget

wget https://github.com/peng4740/wireguard-go-builder/releases/download/0.0.20201118/wireguard-go-linux-amd64.tar.gz

tar zxf wireguard-go-linux-amd64.tar.gz

mv wireguard-go /usr/local/sbin

rm -f wireguard-go-linux-amd64.tar.gz

 

二、安装wgcf

这个是用来生成warp配置的

Github地址:https://github.com/ViRb3/wgcf

安装

wget https://github.com/ViRb3/wgcf/releases/download/v2.2.2/wgcf_2.2.2_linux_amd64 -O /usr/local/sbin/wgcf

chmod +x /usr/local/sbin/wgcf

 

三、用wgcf生成配置

echo|wgcf register

wgcf generate

sed -i '/0\.0\.0\.0\/0/d' wgcf-profile.conf

#sed -i '/\:\:\/0/d' wgcf-profile.conf # 如果是IPV6VPS要添加IPV4则改用这个,上一条不要执行

mkdir -p /etc/wireguard

cp -f wgcf-profile.conf /etc/wireguard/wgcf.conf

 

安装wireguard-tools

CentOS7:yum install -y wireguard-tools

如果提示找不到包安装失败了可能是没有epel源,先安装yum install epel-release -y

其他系统其实也是差不多的

Debian、Ubuntu:apt install wireguard

没说到系统可参考官网教程:https://www.wireguard.com/install/

四、运行测试

1.启动

wg-quick up wgcf

#如果运行完就失联了(VPS的SSH终端没反应了)。先重启VPS,检查一下配置有没有问题。

#提示没有权限解决方案

vi /etc/sysctl.conf 

#修改disable_ipv6的所有变成0

#然后

/sbin/sysctl -p

 

当然,也不用太担心,如果你没漏掉什么步骤,一般是不会有事的。

2.测试

curl ipv6.ip.sb

 

如果能正常显示ip就正常

五、配置开机自启(务必要运行测试过后再配置)

systemctl enable wg-quick@wgcf

六、配置V2,增加ipv6的解析

1. "outbounds": 
2.         [
3.                 {"protocol": "freedom","tag": "direct","settings": {}},
4.                 {"protocol": "freedom","tag": "directv6","settings": {"domainStrategy": "UseIPv6"}},
5.                 {"protocol": "blackhole","tag": "blocked","settings": {}},
6.                 {"protocol": "freedom","tag": "twotag","streamSettings": {"network": "domainsocket","dsSettings": {"path": "/usr/local/etc/xray/ss","abstract": true}}}
7.         ],
8. 
9.         "routing": 
10.         {
11.                 "rules": 
12.                 [
13.                         {"type": "field","outboundTag": "directv6","domain": ["geosite:netflix","geosite:google"]},
14.                         {"type": "field","inboundTag": ["onetag"],"outboundTag": "twotag"},
15.                         {"type": "field","outboundTag": "blocked","ip": ["geoip:private"]},
16.                         {"type": "field","outboundTag": "blocked","domain": ["geosite:private","geosite:category-ads-all"]}
17.                 ]
18.         }

 

最新QQ封号技术教程

短期封号,秒封

——————————————
教学:
先在qq群里发口令红包,填写口令:

钟馗开眼 血馒头治病 老汉推车

发送红包之后就会有憨憨上当

因为这是违禁词,直接举报色情,秒封

选择聊天证据
提交,秒封
————————

原理:违禁词

PS:请勿用于非法用途,伤人者人恒伤之

Submit Text 3 注册码分享

2020年12月30日亲测可用!啥时候被和谐不知道!

该注册码来自@icelo 大佬分享,大佬博客@冰洛博客

SUBLIME TEXT 3 BUILD 3207 & BUILD 3211

----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
5653E0A0 BACE3948 BB2EE45E 422D2C87
DD9AF44B 99C49590 D2DBDEE1 75860FD2
8C8BB2AD B2ECE5A4 EFC08AF2 25A9B864
------ END LICENSE ------

 

Centos服务器部署stairspeedtest

wget https://github.com/tindy2013/stairspeedtest-reborn/releases/download/v0.6.1-beta/stairspeedtest_reborn_linux64.tar.gz && tar -xzvf stairspeedtest_reborn_linux64.tar.gz -C speedtest/
cd speedtest
./webgui.sh
安装screen
yum -y install screen
screen -S speedtest

部署完毕后,使用服务器ip:65430即可访问

Centos下Nat中转机加速端口教程

确保firewall开启的情况下:

中转机设置
sudo firewall-cmd --zone=public --permanent --add-port 本机端口号/tcp
sudo firewall-cmd --zone=public --permanent --add-port 本机端口号/udp
sudo firewall-cmd --zone=public --permanent --add-forward-port=port=本机端口号:proto=tcp:toport=目标端口号:toaddr=目标地址
sudo firewall-cmd --zone=public --permanent --add-forward-port=port=本机端口号:proto=udp:toport=目标端口号:toaddr=目标地址
sudo firewall-cmd --zone=public --permanent --add-masquerade
sudo firewall-cmd --reload

具体用途很多,比如加速远程ssh访问,nat中转梯子流量等等