Linux琐记二
1. dd命令
win8.1下镜像直接点击setup.exe无效...系统要求都符合,只是我这是双系统且是BIOS引导,也不是UEFI
想想要不制作个系统盘,Win32DiskImager制作后还是不行,转到Ubuntu使用
dd if=en_windows_10_multiple_editions_x64_dvd_6846432.iso of=/dev/sdb bs=2M
bs=2M情况下最后平均写入速度为7M/s
虽然最终还是失败了、、、
2. 格式化u盘
U盘写入到一半时被我中止了,结果就是U盘变成了只读状态,挂载后也无法操作...
于是mkfs.vfat -I /dev/sdb或者mkfs -t vfat /dev/sdb -I
<!--more-->
3. Shadowsocks
pip install shadowsocks
sslocal -c conf.json
conf.json自己编写,格式如下:
{
"server":"my_server_ip",
"server_port":*****,
"local_port":1080,
"password":"*****",
"timeout":600,
"method":"*****"
}
4. 关闭防火墙
ipv4
chkconfig iptables off
service iptables stop
ipv6
chkconfig ip6tables off
service ip6tables stop
5. 外网出口ip
在终端下输入 curl ip.gs 即可获取当前自己的外网出口IPv4地址