One advantage of the Raspberry pi is that it has a strong video decoding capability, and it's a good option to use it to play video. It will be used for the next two seasons as a home media hub, and the XMBC software and RASPBMC distributions make this possible.First, XMBC and RASPBMCXMBC (soon to be renamed Kodi) is a leader in open source Media center software, originally developed for Xbox, and now runs
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
Linux dual-Nic intranet/Internet settings (Raspberry Pi) Raspberry Pi dual-Nic internet/intranet settings, there are the following methods. 1) use a wired network to connect a PC to a gateway. 2) the other is wired to the intranet and wireless to the Internet. Www.2cto.com, even if there are multiple NICs in the config
the following two lines of code:http. Handle ("/", HTTP. Fileserver (http. Dir ("HTML")))http. Listenandserve ("0.0.0.0:8080", nil)Step 4: The target environment is modified to CROSS-ARM6, according to "Ctrl+b" compiled, the generated execution file is the source directory "Test", no suffixStep 5: Copy "Test" to your arm Development Board (Raspberry Pi Raspberrypi, Orange pie Orangepi), and authorize: sudo
How to enable I2C device http://www.cnblogs.com/hangxin1940/archive/2013/04/02/2997077.html and build a python I2C Development Environment http://www.cnblogs.com/hangxin1940/archive/2013/04/03/2997094.html
Quick2wire is a python library used for I2C communication on Raspberry Pi. It allows non-root users to read and write gpio pins conveniently.
Why use it?
Some hardware devices have high permissions for L
Go is a programming language developed by Google that is statically strong-typed, compiled, and styled, and has a garbage collection function. To facilitate search and identification, it is sometimes referred to as GolangRecord how to install locales on Raspberry PiFirst step: Download the installation packageHTTPS://golang.org/dl/Here we are going to install in
Reference: http://programmingadvent.blogspot.hk/2012/12/raspberry-pi-uart-with-pyserial.htmlRaspberry Pi UART with pyserial os:occidentalis v0.2Hardware:raspberry Pi Revision B with CobblerSetup:serial Loopback (Connect RX and TX pins on GPIO pins)Linux attempts to treat all devices as file system like devices, the UAR
The successful deployment of ASP. NET on Raspberry Pi today. Before the test success on the Unbuntu, the results of today's operation will not operate, mainly on the Linux is not familiar with, to find information, not many, this time hurriedly record down, in case of the next check.I used the MONO+XSP2.Install mono Tutorial Online A lot of, I do not specifically
configuration files are written
/var/~/var/run/php5-
The path location is written in path_info forwarding. change location
location ~ .*\.php(\/.*)*$
You can solve the problem.
5. The Intranet access is normal. The typecho homepage accessed through the dynamic domain name of the peanut shell is completely white. The CSS file cannot be loaded and the second-level webpage cannot be opened.
In WordPress, there is a blog address setting that can be used to regulate the pointing and forwarding of se
Tags: Raspbian http requires div min password alt mic flowRaspberry Pi-MySQL installation linuxmysql
Yesterday is a and tomorrow is a mystery, and today is a gift.
Pre-orderMySQL on the Raspberry Pi raspberry the installation and on the Linux on the same, because the online tutorial is on
# Modify the configuration file
Raspberry Pi has integrated the I2C driver and only needs to be started.
Modify configuration file
Sudo nano/etc/modprobe. d/raspi-blacklist.conf
! [Configure] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_rasp_i2c1.png "comment the third line ")Comment out the third line, CTRL + x save
Next, start the I2C module.
Sudo nano/etc/modules
! [Configure] (ht
Raspberry Pi can be installed on a variety of operating systems, we are using the official Debian-based Raspbian. System Installation Method SeeInstall the system because I use a 7-inch HDMI screen, install the system if the configuration should not be able to cause a part of the right side can not be displayed, so on the Ras
0. Power supply is micro USB (Android power connector)
1. Download the operating system from the official website and write the memory card with Win32diskimager.
2. Locate the IP and set the static IP under the router:
Command: sudo vi/etc/network/interfaces
Switch
Auto LoIface Lo inet LoopbackIface eth0 inet StaticAddress 192.168.1.88Netmask 255.255.255.0Gateway 192.168.1.1Allow-hotplug Wlan0Iface Wlan0 inet ManualWpa-roam/etc/wpa_supplicant/wpa_supplicant.conf
3. Computer network cable direct
40 Gpio on a Raspberry Pi is the best thing to play.They can be directly controlled by c,/c++, Python, Java and other languages.Now, let's see how to do the same thing with node. js.Before you try, install node. js, and move to: 1. Prepare the Test foldermkdir/home/pi/documents/test-gpio-demo/2. Create a file Package.j
1. System Installation1.1. Download Ubuntu-mate Image: https://ubuntu-mate.org/raspberry-pi/Download SDFORMATTERV4: https://www.sdcard.org/downloads/formatter_4/Download win32diskimager:https://sourceforge.net/projects/win32diskimager/1.2. Prepare a TF card greater than 8GB, using SDFORMATTERV4 format TF1.3. Write Ubuntu-mate Mirror (ubuntu-mate-16.04-desktop-armhf-rasp
Test passes on the Raspberry Pi pi3b official system.
1. Download http://www.linuxfromscratch.org/blfs/view/svn/general/yasm.html yasm and install:./configure--prefix=/usrMakeMake install 2. Download the latest stable version of x264 and install:./configure--enable-shared--
First, basic settings
1
sudo raspi-config
Move to the fifth "Enable Camera", enter, press the TAB key to switch to "enable" to confirm the return. Back to the main menu, tab to "Finish" to confirm the return. The Raspberry Pi will restart automatically.or execute a command to manually shut down the machine
1
sudo shutdown-h now
Warning!!!!!!!!!
The raspberry Pi2, introduced in February 2015, cannot be installed Lazarus with the previous method, and when installing the FPC, the following problem stops the installation.Find a solution from http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/:1. Installing Subversion and unzipSudo apt-get UpdateSudo Apt-get
FileZilla on Windows to make an SFTP connection with the connection address starting with sftp://. You can no longer use stand-alone displays and keyboards."Timed Shutdown"sudo crontab-u root-eAdd the following content* * * */sbin/init 0"Start-up Run"sudo nano/etc/rc.localAdd the following contentsudo nohup python-u/home/pi/unlockhandler.py >/home/pi/unlockhandler.log 2>1 "Download Installation Dependencie
# 1. The ssh,11 version released on Raspberry 15th is not turned on by default. # 2. Start the root user, after executing this command, you will be prompted to enter the root password two times, enter the password you want to set, and then execute sudo passwd root# Unlock root account sudo passwd--unlock root# 3. Update software sudo apt-get update-ysudo apt-get upgrade-y# 4. Installing CPUs and related services sudo apt-get
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.