Posts

iptable防火墙设置

  sudo cp /etc/iptables/rules.v4 /etc/iptables/rules.v4.bak && sudo truncate -s 0 /etc/iptables/rules.v4

htop显示系统运行资源

 >sudo apt install htop 安装后执行htop就可以看到状态 ctrl+c 退出 htop 另外还有一个htop的简化版就是top top无需安装,直接可以运行。

修改系统时区

Image
  How To Set or Change Timezone on Ubuntu 20.04 https://linuxize.com/post/how-to-set-or-change-timezone-on-ubuntu-20-04/  Using the correct timezone is essential for many systems related tasks and processes. For example, the cron daemon uses the system’s timezone for executing cron jobs, and the timestamps in the log files are based on the same system’s timezone. On Ubuntu, the system’s timezone is set during the install, but it can be easily changed at a later time. This article describes how to set or change the timezone on Ubuntu 20.04 using the command line, or through the GUI. Prerequisites Only the root or user with sudo privileges can set or change the system’s timezone. Checking the Current Timezone timedatectl is a command-line utility that allows you to view and change the system’s time and date. It is available on all modern systemd-based Linux systems, including Ubuntu 20.04. To print the current system’s timezone invoke the timedatectl without any argumen...

SSH from linux

  Connecting to a Linux Instance You connect to a Linux instance using SSH. To connect to a Linux instance from a Unix-style system Use the following command to set the file permissions so that only you can read the file: chmod 400 <private_key_file> <private_key_file> is the full path and name of the file that contains the private key associated with the instance you want to access. Use the following SSH command to access the instance. Note Copy the following example to ensure the correct characters are used. If the wrong character is used in ssh -i , a Could not resolve hostname ...: No such host is known. error might occur. ssh -i <private_key_file> <username> @ <public-ip-address> <private_key_file> is the full path and name of the file that contains the private key associated with the instance you want to access. <username> is the default username for the instance. For Oracle Linux and CentOS images, the defau...

Paxful来了

在Paxful, 我可以通过350多种方式与真人交易比特币和其他数字货币。 此外,我还可以存储加密货币、将其转换为其他加密货币、 赚取收入等等。快来加入我吧! https://paxful.com/register?r= wNkqyq29Xk6  

海妖注册链接

Join me on Kraken and you can get $10 in Bitcoin To sign up go to https://kraken.app.link/ EXl2iVm0Kub . 点击以上推荐链接注册后,完成100美元交易,即会获赠价值10美元的比特币!

WISE注册链接

请使用以下推荐链接注册WISE https://wise.com/invite/u/xiaoboh1 You 'll get a fee-free transfer up to 500 GBP . 你将可以使用Wise免手续费转账500英镑。

CEX.IO交易所注册链接

CEX注册链接 https://cex.io/r/0/up104287836/0/ 欢迎使用以上推荐链接注册CEX交易所!

Join kraken now!

https://kraken.app.link/KqISrpzOdub

Pritunl VPN server setup guide

Pritunl VPN Server codes for Ubuntu 20.04  >>nano install-pritunl.sh sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list << EOF deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse EOF sudo tee /etc/apt/sources.list.d/pritunl.list << EOF deb https://repo.pritunl.com/stable/apt focal main EOF sudo apt --assume-yes install gnupg wget -qO- https://www.mongodb.org/static/pgp/server-5.0.asc | sudo tee /etc/apt/trusted.gpg.d/mongodb-org-5.0.asc gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A | sudo tee /etc/apt/trusted.gpg.d/pritunl.asc sudo apt update sudo apt --assume-yes install pritunl mongodb-org sudo systemctl start pritunl mongod sudo systemctl enable pritunl mongod   Ctrl+O & Ctrl+X to save and quit >>chmod +x install-pritunl.sh >>./install-pritunl.sh ... And then open the web browser, input the IP of VPS as the...

Mistborn + ubuntu 22.04

Mistborn, a free, self hosted, open source WireGuard server GUI with pi-hole and cockpit built in. https://gitlab.com/cyber5k/mistborn

How to Install & Configure VNC Server on Ubuntu 22.04 or 20.04

https://bytexd.com/how-to-install-configure-vnc-server-on-ubuntu/

Pritunl client test

Please email to thaidays22@gmail.com with the title "Pritunl test", and I will reply a test .ovpn file to you for free.