pip install shadowsocks
create /etc/shadowsocks.json
{
"server":"my_server_ip",
"server_port":8388,
"local_port":1080,
"password":"your_password",
"timeout":600,
"method":"aes-256-cfb"
}
ssserver -c /etc/shadowsocks.json -d start
pip install shadowsocks
create /etc/shadowsocks.json
{
"server":"my_server_ip",
"server_port":8388,
"local_port":1080,
"password":"your_password",
"timeout":600,
"method":"aes-256-cfb"
}
ssserver -c /etc/shadowsocks.json -d start
cd /etc/yum.repos.d
wget https://repo.codeit.guru/codeit.el7.repo
yum -y install httpd
若要 mount 一個以 dd dump 出來的 image
(例如 dd if=/dev/sda of=disk.img)
先用 fdisk -l disk.img 看一下 Sector size 是多少, 通常是 512
要 mount 那一個分割區, 就用 offset 參數指定 512*Start 位置
例如 partition 1 Start 2048, offset 就是 512*2048 = 1048576
mount -o loop,offset=1048576 disk.img /mnt
This page is an archive of entries in the Linux category from July 2018.
Linux: April 2018 is the previous archive.
Linux: November 2018 is the next archive.
Find recent content on the main index or look in the archives to find all content.
Recent Comments