- 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
- Design for the Future
- ETL with Azure Cookbook
- UTM(統一威脅管理)技術概論
- 機器自動化控制器原理與應用
- B2B2C網上商城開發指南
- 數據挖掘方法及天體光譜挖掘技術
- Spark大數據技術與應用
- Blender Compositing and Post Processing
- Ceph:Designing and Implementing Scalable Storage Systems
- Windows Server 2003系統安全管理
- 基于企業網站的顧客感知服務質量評價理論模型與實證研究
- 格蠹匯編
- WOW!Photoshop CS6完全自學寶典
- Machine Learning with Spark(Second Edition)
- 菜鳥起飛電腦組裝·維護與故障排查