Posts

Showing posts from November, 2022

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交易所!