Use Raspberry Pi to build your own web server (2) set up Apache and raspberry apache
1. Obtain the Server IP Address:
1 ifconfig
2. Change the local hosts file
If you want to enter a domain name in your browser to access your server, you need to change the hosts file in your computer.
Linux:
1 sudo vim /etc/hosts
Wind
This is a creation in
Article, where the information may have evolved or changed.
Recently turned up the Raspberry Pi I bought before, and decided to pick up the Raspberry Pi combined with the go language that I was learning to engage in things. Here first build the environment to run the GO program.
First, the
select your SD card (it is you mirror System file path) , and then click the Write button to Wait more than 10 minutes or so to burn the system, burning paper will show a successful prompt, close, and then eject the SD card, you can. 3. Installing the SystemA) The burning SD card into the Raspberry Pi, connect the network cable, and then plug in the power, pay attention to the other end of the network netw
another host. It can be used with the default settings by just specifying a hostname (e.g. ping raspberrypi.org ) or an IP address (e.g. ping 8.8.8.8 ). It can specify the number of packets to send with the -c flag.Nmapnmapis a network exploration and scanning tool. It can return port and OS information about a host or a range of hosts. Running just would display the options available as well as nmap example usage.HOSTNAMEThe hostname command display
installation method. What does it do? It's easy. He downloads a series of packages we put on GitHub to your machine and installs them. There aren't many packages, just right.
Simplified steps1. Insert the SD card and install arch Linux on the SD card.
2. start your Raspberry Pi, find its IP address (how to set the [set Rasp
works.Step 1:
When you are running the command, log on with the default user name and password (if you have not modified it ). The Default User of Raspbian is pi, and the default password is raspberry.Step 2:
After you log on, run the following command:
Sudo raspi-config
This command will open Raspberry Pi configuration, as we saw during the first startup.Ste
Preparation: 1. Raspberry Pi (this is necessary)2. A laptop computer (you have two?) I have nothing to do with it.3. One cable (used to connect the Raspberry Pi and laptop)4. Power cord (Why do you use it?) Of course it's powering the Raspberry
Use a network cable to connect directly to the computer without going through the router. The biggest feature of this method is to play Raspberry Pi with the least tool.I. Materials: Raspberry Pi, network cable, and laptop.1. Raspberry P
skip the next step.If you identify other hardware, install this driver on the Device Manager's Raspberry Pi recognized hardware Http://domotique.caron.ws/wp-content/uploads/telechargement/RPI%20Driver%20OTG.zipThe general situation can be recognized as a network card, in the Device Manager display as a USB Ethernet/rndis GadgetIn the change adapter option, the Raspber
kernel image kernel-qemu.
-Cpu arm1176
Simulation ARM1176 CPU. Raspberry Pi board is equipped with Broadcom BCM2835, This processor uses ARM1176JZ-F.
-M 256
The RAM size is 256 MB. the disk cannot be started if it is set to a value larger than MB.
-M versatilepb
Set the simulated development Board type. versatilepb is ARM Versatile Platform Board
-No-reboot
Exit without restarting.
-Serial stdio
Redirects
You can use SSH to connect to your Raspberry Pi on a Linux or Mac computer (or another Raspberry Pi) terminal, and you don't need any other software.You need to know your Raspberry Pi IP
consistent and can be rebuilt (_reproducible_) build environment. Because this has some requirements for CPU and disk space, here are the minimum configuration requirements for some hardware:Raspberry Pi 3 (pi 2 is OK, but the build takes longer)16GB size SD card (8GB is not enough!) )Enable swap space (1GB size of memory is not enough)Docker Engine 1.11
Installing the Build Environment
As you'll soon se
cable to the power supply.
2. Use the raspi-config tool to configure Raspberry Pi
A) view IP addresses
Under normal circumstances, Raspberry Pi can be started, but he still does not know his IP address, and he cannot acc
access mysql:
Mysql-u root-p
Then, you will be prompted to enter the password to enter mysql:
Root @ raspberrypi:/home/pi # mysql-u root-pEnter password:Welcome to the MySQL monitor. Commands endYour MySQL connection id is 43Server version: 5.5.35-0 + wheezy1 (Debian)
Copyright (c) 2000,201 3, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsAffiliates. Other names may be trademarks of
Raspberry Pi configuration wireless hotspotMyth
I have been thinking about adding input and output devices to BananaPro over the past few days. I finally found that I had a problem with my own ideas. In addition to the media center, an input/output device is required for the upper part. In most cases, this is not required, it's just a misunderstanding that a super-small server that provides services treats
been installed on Windows 10 IoT.
For example:
Windows Device Portal:
Enter the IP address of Raspberry Pi in a browser in the same network environment. The port is 8080. Enter the user name and password. The default user name is Administrator, and the password is set when the operating system is burned. If you forget the password, you can only reinstall it. A
Then insert a dual line on the gpio4 pin of Raspberry Pi as the antenna.
UseIfconfigCommand to view your IP address and open it in the browser:Http: // Raspberry Pi IP: 8000/You can view the songs being played, and then you c
to plug in the mouse keyboard on the Raspberry Pi, you can also search the Windows IoT Remote Client tool in the store store, and after installing locally, remotely connect the Raspberry Pi, which is done locally.2.2 Settings for Windows Device PortalUsers can use the browser to log on to the device's Windows devices
network is testing, and the password (psk) is testingPassword.
Adding the network details to the rassberry pi (add the network to Raspberry PI)
Use the nano editor to open the wpa-supplicant configuration file:
Sudo nano/etc/wpa_supplicant/wpa_supplicant.conf
Add the following content at the bottom of the file:
Network = {Ssid = "The_ESSID_from_earlier"Psk = "Yo
, Aria2 WebUI under the Configconfiguration.js Open, will
Host:location.protocol.startsWith (' http ')? Location.hostname: ' localhost '
This line is changed to:
Host:location.protocol.startsWith (' http ')? Location.hostname: ' 0.0.0.0 '
Otherwise there is no way to access outside the server.
Then we can enter the Raspberry Pi intranet IP address on the other ho
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.