Why I recommend to use aapanel on Linux server?
Why I recommend to use aapanel on Linux server?

aapanel is a very useful dashboard, with which you can easily manage your websites. You can easily install it by using the following command. CentOS yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh Ubuntu/Deepin and Debian wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh The picture above shows the homepage of... » read more

How to insert multiple lines into a batch of text files on Linux system with sed
How to insert multiple lines into a batch of text files on Linux system with sed

Question description This question come from when I want to insert Google Analytics code into HTML files. Let's have a look on the code. <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-155361814-3"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-155361814-3'); </script> I run four sites on... » read more

Use Tuir to Read Reddit on Linux terminal
Use Tuir to Read Reddit on Linux terminal

Short breaks are important for maintaining productivity. One of my favorite places to go during my break is Reddit, which might be a great resource if you want to. There I found various articles about DevOps, productivity, Emacs, chicken, and ChromeOS projects. These discussions can be valuable. I also paid attention to some daughter boards... » read more

Execute programs after login
Execute programs after login

This idea comes from a reddit user edtheloon. When I posted my post about screenfetch and linux_logo on reddit, he commented that I fotgot the most important thing that I can add them into .bashrc. I have to say that is a awesome idea. .bashrc file is very uesful that you can add your personal... » read more

Install screenfetch and linux_logo on Linux System
Install screenfetch and linux_logo on Linux System

Want to show the cool logo and basic hardware information of your Linux distribution on the screen? Check out the amazing screenfetch and linux_logo tools. How to run them when login please check out a post talks about how to execute commands after login. screenfetch screenfetch is a command line script that displays system /... » read more

Play Tetris on Linux Terminal
Play Tetris on Linux Terminal

I finished a project that allows you to play Tetris on Linux terminal. Here's the screenshort of this game. It's written in Linux Shell script. If you like it, you may fork and star it git clone https://github.com/You0916/terminal_games.git In that repo, there are also a classic game Snack and a Terminal clock. Like this: All... » read more

How to change password on Linux
How to change password on Linux

It's quite simple if you want to change your password on Linux. After you log in to the server, you can use the command below to modify your password: passwd After that command, type the password twice (each time with enter, and the password in Linux will not show up on screen). If you are... » read more

How to change SSH port on Linux
How to change SSH port on Linux

Open the SSH config file: sudo vim /etc/ssh/sshd_config find the line with default port 22. In vim normal-mode (once you opened the vim, it is under normal-mode), find 22, and change it to the port that you want. Remember, don't use the common port, use the port number from 10000~60000. After that, save the file.... » read more