hxp-blog

"RTFSC" - Read The F**king Source Code

i3wm cheetsheet

i3wm cheetsheet for my configuration

Application $mod + Enter Terminal $mod + d Launcher $mod + Q Quit Window position $mod + v Vertically $mod + z Horizontal $mod + Arrow Change Focus $mod + f Full Screen $mod + w Tab mode ...

Some notes on BlackArch Linux upgrading

Upgrade Arch Linux to BlackArch Linux for penetrate testing

BlackArch Linux is a Linux distribution based on Arch Linux, aiming at penetrate testing. It is somewhat an alternative to Kali Linux. Most importantly, Arch Linux can be upgraded to BlackArch dire...

V2Ray (TLS + WebSocket) + Nginx Tutorial

Setting up V2Ray on CentOS 8 server

Install v2ray To deploy V2Ray on CentOS, we use the installation instruction on V2Ray official site. run 1 curl -Ls https://install.direct/go.sh | sudo bash and wait the installation process t...

IPSec VPN Tutorial

Setting up IPSec VPN on Ubuntu server and Arch Linux client

Preamble: Why IPSec VPN? I know that nowadays many of developers use Shadowsocks and v2ray to get in touch with Google. And VPN is sort of outdated and can be easily censored and banned in mainlan...

Adding swap temporarily on Linux VPS

Solving "Killed" error during make

“Killed” error during make When I tried to compile and install libtorrent on CentOS 7 server, I got a “Killed” error like this 1 2 g++: internal compiler error: Killed (program cc1plus) Please su...

Configuring download mirror in Docker

Increase docker image download speed in mainland China

Using Azure mirror and Netease mirror. Add these in /etc/docker/daemon. (touch this file if it does not exist) 1 2 3 4 5 6 { "registry-mirrors": [ "https://dockerhub.azk8s.cn", "https:/...

Way to delete old kernel and release disk space in /boot

Solving apt malfuction error

Way to delete old kernel and release disk space in /boot Case: /boot partition is 100% used and apt malfunctions When I tired to install nginx in Ubuntu 14.04 server, I noticed that whatever pack...