How to install pi dashboard on Raspberry Pi

What is Pi Dashboard? Pi Dashboard (Pi Dashboard) is an open source IoT device monitoring tool. At present, it is mainly targeted at the Raspberry Pi platform, and it is compatible with other hardware products which are similar to Raspberry Pi. You only need to install the PHP server environment on the Raspberry Pi, and you can easily deploy a […]

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 aapanel. It's very powerful. You […]

New official command line tool on GitHub

When working on a project, we usually write code locally and track all changes through the Git command line. If you want to host or open source, you can also use Git to push the entire project directly to GitHub. Generally speaking, Git is mainly controlled through the command line, and the three commands of add, commit, and push are […]

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 my Rock64 (an alternative of […]

How to build a wordpress blog with LNMP (LEMP) on Raspberry Pi

Nginx, PHP, MySQL, phpMyAdmin, which is often referred to as the LNMP suite, but here MySQL is replaced with a newer version of MariaDB on the Raspberry Pi. The following is the detailed process of installing LNMP on the Raspberry Pi. Install Nginx sudo apt-get install nginx-light Install PHP7.3 sudo apt-get install php7.3-fpm Configure Nginx The default location of the […]

PiShrink: Make Raspberry Pi images smaller

If you have a Raspberry Pi, you may need to know a bash script called PiShrink, which makes the Raspberry Pi image smaller. PiShrink will automatically shrink the image and then resize it to the maximum size of the SD card at startup. This will copy the image to the SD card faster, while the smaller image will be better […]

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 with only pictures of animals, […]

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 environment variables in it. In […]

Digital Raspberry Pi LED Thermometer

Today I will introduce a interesting LED thermometer. It can automatically Cycle through the list of cities and show the temperature on the OLED display and LED strip. You can also use the buttons on the side to manually select the cities to display. It will turn into inactive mode if there's no action in few minutes, and turn off […]

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 / theme information in a screenshot. […]

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 of them are written in […]