This design has undergone two iterations of physical verification. Except for the OTP function that is not open to the outside world, the other functions of the TUSB8041 are fully realized. Its functions include: Implemented USB 3.0 hub function, backward compatible with USB 2.0 link Implement four USB-A female downstream ports and one USB-B female upstream port to transmit data at a maximum spee...
What is aapanel?
aaPanel, a simple but powerful control panel, can manage the web server through web-based GUI(Graphical User Interface).
aaPanel provides the one-click function such as one-click install LNMP/LAMP developing environment and software.
The main goal is helping users to save the time of deploying, thus users just focus on their own project that is fine.
What do you need?
In this blog, I will help you to install the aapanel on 64 bit debian/ubuntu system, because the aapanel doesn't support 32 bit system. Here are the requirements:
- 64-bit Ubuntu/Debian (Armbian recommended)
- Rock64 board (4G version recommended)
How to get aapanel?
To get the aapanel, we need to run the command below:
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh
After you successfully installed the aapanel, you will see something like this:
Attention: you need to save the link, username and password shown in the terminal.
Configure the environment
In order to install the LAMP or LNMP successfully, you need to install some essential library which will be used in the installation of Nginx or Apache.
Caution: Without good heat dissipation, you need to do as the followings, in order to avoid failure
sed -i "s/MAX_SPEED=.*/MAX_SPEED=1024000/" /etc/default/cpufrequtils service cpufrequtils restart
For somes reasons, internationalized text often uses different encodings due to language or national reasons. The libiconv library provides an iconv () function for applications that need to be converted to achieve the conversion from one character encoding to another character encoding.
- Downloading libiconv-v1.14
wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz && tar -zxvf libiconv-1.14.tar.gz
cd libiconv-1.14 sudo ./configure -prefix=/usr/local --build arm-pc-linux
- Solving the problem
In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ^ make: *** [progname.o] Error 1 make: Leaving directory `/usr/local/src/zabbix-2.4.7/libiconv-1.14/srclib' make: *** [all] Error 2 make: Leaving directory `/usr/local/src/zabbix-2.4.7/libiconv-1.14/srclib' make: *** [all] Error 2
Replace line 698
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif
sudo make && sudo make install
Luajit is a interpreter written by C language, which support just in time technology, so that can accelerate the running.
- Downloading Luajit
wget http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz && tar -zxvf Luajit-2.1.0-beta3
cd Luajit-2.1.0-beta3 sudo make && sudo make install
cd /usr/local/bin && ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit cd /usr/local/include && ln -sf luajit-2.1/ luajit-2.0
Open the link you saved before, and use the username and password to log in to aapanel. you will see something like:
You can select LAMP or LNMP to be installed.
- Apache 2.4
- PHP 7.2
- MySQL 5.6
- others : default
- Nginx - Tengine
- PHP 7.2
- MySQL 5.6
- others : default
After that, both installation below are ok, because all of them will install by compliling.
This will take about 8 hours to finish installation, so I recommend you guys to install it in the night.
When finished, you can set up a website.
in the left panel, and you will see:
Give domains (if you have), or you can leave a ip address. Also, you need to give names of database and ftp server.
If you installed multiple versions of PHP, you can select one you like.
Copy files of this site to the root directory shown in the picture, and open the domain in the browser, you will see the website appears.