Raspberry Pi backup and Raspberry Pi backup
We strongly recommend that you regularly back up important files. Backup is usually not limited to user files, but also configuration files, databases, installed software, settings, and even system snapshots.
Here we will guide you through some backup technologies to back up
Raspberry Pi started for some time, the original intention is to masturbate Linux, but then a whole year in the children's House account book, this thing also put a year dust.Recently finally was life toss to the end, began to find something to toss toss.First, what is Rsapbbery PiRaspberry Pi is a credit card size, Linux-based card computer, 700MHz cpu,b
Raspberry Pi Desktop in a window on your computer, you can control it, just like working on a Raspberry Pi. -Install the TIGHTVNC installation package on your Raspberry Pi, using a monitor or remote connection via SSH sudo apt-ge
"Grove–oled Display 128x64"sudo./oledgrove-oled Display working results: 6. Barometric pressure testGrove-barometer sensor is an electronic module that integrates air pressure and temperature sensing, and communicates with the Raspberry Pi using the I²c interface. After entering the source directory, enter in the terminal:CD "Grove–barometer_sensor"sudo./barometerdemoIts work: 7. Light DetectionIf you use
second display for the Raspberry Pi. After entering the source directory, enter in the terminal:CD "Grove–oled Display 128x64"sudo./oledgrove-oled Display working results: 6. Barometric pressure testGrove-barometer sensor is an electronic module that integrates air pressure and temperature sensing, and communicates with the Raspberry
replaced with a supported Raspberry Pi computing module-using the Raspberry Pi 3 quad core, Cortex-A53 Broadcom BCM2837 processor SoC. Because this product will soon arrive, it's not sure how they can handle it for Kickstarter sponsors in a timely manner. However, it will be quite good to support it in the future, eve
xtightvncviewer package:
sudo apt-get install xtightvncviewer
-For other platforms, you can download TightVNC from tightvnc.com.
Automation and run at boot (Automatic startup)
You can create a simple file on Raspberry Pi and save some commands to run the VNC service. Save the commands so that you do not need to remember them again:
-Create a file containing the
If you're bored with a smart home that just has to download a specific app to control a light, here's the good news: Openhab can give you the most flexible control of smart home, Openhab is a mature, open source home automation platform that can run a lot of software, There is no agreement, which means it can now be connected to almost all of the home automation hardware on the market.Here we will show you
Maker‘‘state‘ : GPIO.LOW} }3. Writing HTML filesUnder the directory where weblight.py is located, create a subdirectory named templates. In the Templates subdirectory, create a directory namedmain.html the file and enter the following code:All of the brackets in this HTML page template are parsed into variable names, which are replaced by actual data when the Python script calls the Render_template function.head>title>Home Intelligent Controltitle>head>body>H1>Home
first, the simplest method on the Raspberry Pi is to use apt-get and then give control to the Openhab user.sudo apt-get install openhab-addon-binding--hr Openhab:openhab/usr/share/openhabNext, you need to tell Openhab to load the binding and configure all the required variables. go to the configuration folder, copy a copy of Openhab-default.cfg, and name it openhab.cfg. Open the file, search for hue, and r
‘‘state‘ : GPIO.LOW} }3. Writing HTML filesUnder the directory where weblight.py is located, create a subdirectory named templates. In the Templates subdirectory, create a directory namedmain.html the file and enter the following code:All of the brackets in this HTML page template are parsed into variable names, which are replaced by actual data when the Python script calls the Render_template function.head>title>Home Intelligent Controltitle>head>body>H1>Home
If you have a Raspberry Pi (Raspberry Pi) on hand, what will you do with it? Perhaps the following 34 ideas on how to use Raspberry Pi can inspire you.
Web Server
Home automation
Raspberry Pi backup
We strongly recommend that you regularly back up important files. Backup is usually not limited to user files, but also configuration files, databases, installed software, settings, and even system snapshots.
Here we will guide you through some backup technologies to back up your Raspberry Pi system
must already exist, so create it first:
mysql -Bse "create database recipes"cat recipes.sql | mysql recipes
In addition, you can also use the PV command (not installed by default, you need to useApt-Get install PVCommand installation) view the progress of MySQL's backup file processing. This is useful for large files:
pv recipes | mysql recipes
SD card image (SD card image)
You may need to back up the entire SD card image so that you can recover to the new SD card when the original SD card is
and is easily downloaded and modified by the reader.The following books will not be introduced, share the graphic coverHere is still to recommend my own built Python development Learning Group: 725479218, the group is the development of Python, if you are learning Python, small series welcome you to join, everyone is the software Development Party, not regularly share dry goods (only Python software development-related), Including a copy of my own. 2018 Latest Python Advanced materials and high
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.