- GNU-Linux Rapid Embedded Programming
- Rodolfo Giometti
- 222字
- 2021-07-09 18:40:31
Setting up the system
Before starting, we must set up our embedded board by installing all the going to use the BeagleBone Black to test the code; however, as already stated earlier, every command or program used here can be used indifferently on the other embedded boards too.
First of all, we have to install the command-line interpreter for the PHP scripting language and the related plugin for the Apache web server. We can do it using the usual aptitude
command, as follows:
root@bbb:~# aptitude install php5-cli libapache2-mod-php5
Then, a package for the Python interpreter proves to be useful in creating daemons:
root@bbb:~# aptitude install python-daemon
Then, we have to install the following packages for xinetd
:
root@bbb:~# aptitude install xinetd telnet
For MySQL, we need the following packages:
root@bbb:~# aptitude install mysql-client mysql-server
Note
During the installation of the preceding MySQL packages, the system should ask for an administrative root user. This is not the system's root user, but it's the root user of the MySQL server, so we should put a different password from the system's root user (even if it's not required at all).
Then, we need some extra packages to add some libraries to talk with the MySQL daemon in C, PHP, and Python languages. Here is the command to install these packages:
root@bbb:~# aptitude install libmysqlclient-dev php5-mysqlnd python-mysqldb
- Google Cloud Platform Cookbook
- R Machine Learning By Example
- Photoshop CS4經典380例
- 輕松學Java
- 嵌入式操作系統
- Nginx高性能Web服務器詳解
- 網站前臺設計綜合實訓
- Applied Data Visualization with R and ggplot2
- Hands-On Data Warehousing with Azure Data Factory
- 大數據案例精析
- 人工智能:智能人機交互
- 電動汽車驅動與控制技術
- 中國戰略性新興產業研究與發展·數控系統
- 網管員世界2009超值精華本
- Hands-On Generative Adversarial Networks with Keras