In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The second generation of raspberry pie baked, found that this "card machine" is quite interesting. It was originally bought as an embedded device, but I found that even the conventional usage can almost be used as a pc. Some daily usages have been collected and kept for record.
How to make full use of the remaining space on the SD card
Method 1:
1. Insert the SD card into the card reader and identify it in the host computer. Usually / dev/sdb
two。 Install the software gparted on the host, start sudo gparted, find the second partition, uninstall and resize the partition until all. Application.
3. Plug it back in and start the raspberry pie.
Simpler method 2, take advantage of the functions provided by the system itself:
Sudo raspi-config, configuring Expend FileSystem
Add desktops to the reduced version of the system:
Sudo apt-get install lxde
Use Chinese:
Sudo apt-get install ttf-wqy-zenhei
Sudo apt-get install scim-pinyin
Sudo raspi-config
Select change_locale and select zh_CN.UTF-8 in Default locale for the system environment:. After the configuration is complete,
Sudo reboot
Set the time zone:
Sudo dpkg-reconfigure tzdata
Install remote Desktop:
Sudo apt-get install xrdp
Use vnc
Installation: sudo apt-get install tightvncserver
Launch: tightvncserver
Used as web server
Method 1:nginx+php5-fpm+sqlite
Sudo apt-get install nginx
Sudo / etc/init.d/nginx start
Sudo apt-get install php5-fpm PHP-sqlite
Then do the configuration:
Cd / etc/nginx
Sudo nano sites-enabled/default
The main thing is to combine nginx and php. When you encounter a .php file, nginx will give it to php-fpm to parse.
Sqlite is a file-based, lightweight database, much smaller than MySQL, and suitable for running on embedded systems.
Method 2: traditional LAMP
Sudo apt-get install apache2
Sudo apt-get install mysql-server
Sudo apt-get install php5
Sudo apt-get install php5-mysql
Method 3: the above combinations are relatively lightweight, but running a regular Java virtual machine, I didn't feel stuck when I tried it. And the installation is simpler and the information is richer.
Sudo apt-get install openjdk-8.jre
Sudo apt-get install tomcat7
It can be used as a quiet, power-saving small server.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.