background preloader

How to Make a Raspberry Pi Web Server

How to Make a Raspberry Pi Web Server
Steps Part 1 of 7: Start the Raspberry Pi Operating System 1Obtain a copy of the Raspberry Pi OS (Operating System) from the link in the sources section. There are a few different distributions available, but for this article, we will be using the "Raspbian" version. Ad 2Extract the image to the SD card. To do this, we need a tool called the Win32 Disc Imager. Part 2 of 7: Run Software Updates 1Because you are running a fresh version of Debian, you will need to do some housecleaning, updating, and installing. Part 3 of 7: Keep the Firmware Up To Date 1Next, we want to install Hexxeh's RPI update tool to help keep Raspberry Pi up to date. Part 4 of 7: Set Up SSH 1Now, we are going to set up SSH so that we can do everything else from a different computer. Part 5 of 7: Installing The Web Server Part 6 of 7: Install MySQL 1To install MySQL, install a few packages with the following command:sudo apt-get install mysql-server mysql-client php5-mysql Ad Part 7 of 7: Install FTP Work World Action Toys

Related:  RaspberryRaspberry Pi

Monitoring with the Raspberry Pi As most of my Raspberry Pi cards are used headless - i.e. without a keyboard or monitor - I wanted to monitor what was happening remotely. In addition to monitoring the NTP Server operation, I've added general SNMP support (Simple Network Management Protocol) which has allow monitoring of the network I/O, disk space, CPU temperature and, with a little additional hardware, ambient temperature monitoring. Adding SNMP support for general remote monitoring RasPi-3 Raspberry Pi Way back when the Kinect was first released, there was a realization that this device would be the future of everything 3D. It was augmented reality, it was a new computer interface, it was a cool sensor for robotics applications, and it was a 3D scanner. When the first open source driver for the Kinect was released, we were assured that this is how we would get 3D data from real objects into a computer. Since then, not much happened. We’re not using the Kinect for a UI, potato gamers were horrified they would be forced to buy the Kinect 2 with the new Xbox, and you’d be hard pressed to find a Kinect in a robot. 3D scanning is the only field where the Kinect hasn’t been over hyped, and even there it’s still a relatively complex setup. This doesn’t mean a Kinect 3D scanner isn’t an object of desire for some people, or that it’s impossible to build a portabilzed version.

Installing SNMP onto a Raspberry Pi While researching DHCP problems, I noticed someone was discussing monitoring DHCP from SNMP. That left me wondering what the Raspberri Pi MIB looks like, so I decided to install SNMP and find out. If you are not familiar with SNMP, it is an extensive monitoring protocol. I once used it heavily to monitor network performance across hundreds of routers. Raspberry Pi : The Unofficial Tutorial Advertisement Get to know the world’s favorite $25 computer: the Raspberry Pi. You’ll find tips, tricks and more in this unofficial Raspberry Pi tutorial from MakeUseOf. Whether you’re a current Pi owner who wants to learn more or a potential owner of this credit-card size device, this isn’t a guide you want to miss. Raspberry Pi - A Credit-Card Sized ARM Computer - Yours For Only $25 Raspberry Pi - A Credit-Card Sized ARM Computer - Yours For Only $25 Something big has been brewing in the university town of Cambridge, UK.

SNMP Monitoring Box #!/usr/bin/env python print "PiFace SNMP Monitor (c) 2013 by Chris <gridrun> Burri @ Total Optical Networks AG" 15 Useful Commands Every Raspberry Pi User Should Know If you’re using a Raspberry Pi computer for your weekend project (perhaps a media centre or a home server) then there is a good chance these useful command line instructions will save you some time. The Raspberry Pi: Yes, It’s Linux You’ve imaged your SD card and booted your Raspberry Pi. You’re probably using the Raspbian operating system and updated and configured it so that it meets your requirements. What you may not have realised is that despite the Windows-style icon-driven desktop, Raspbian is a Linux distribution. Several operating systems are available for Raspberry Pi, the vast majority of which are Linux.

GPIO Zero A simple interface to everyday GPIO components used with Raspberry Pi. Created by Ben Nuttall of the Raspberry Pi Foundation, Dave Jones, and other contributors. Latest release The latest release is v0.9.0 beta 4 released on 25th October 2015. About With very little code, you can quickly get going connecting your physical components together: Setting Up Wireless Networking on Your Raspberry Pi Virtually every Raspberry Pi project will require a network connection, and considerable flexibility can be gained by ignoring the Ethernet port in favour of a wireless USB dongle. Knowing which one to use and how to set it up could be make or break for your project. Ethernet Or Wireless? When you first acquire your Raspberry Pi, the best option is to use an Ethernet connection to ensure the operating system is correctly configured and up-to-date. You can then move onto a wireless USB connection once you’re happy.

IoT streaming with MQTT and Apache NiFi Apache NiFi is a great platform for capturing real-time streaming data from IoT devices, performing processing such as filtering and cleaning and then forwarding up the stack to higher level processing such as Apache Kafka, Apache Spark or Apache Storm. MQTT is a standard protocol used by IoT devices so it made sense to write a couple of NiFi processors that capture the MQTT streams produced by RTMQTT‘s PiSensorMQTT and then make them available to Kafka. The screenshot above shows a typical NiFi flow to do this. The code is on GitHub. Coder for Raspberry Pi A simple way to make web stuff on Raspberry Pi. Coder is a free, open source project that turns a Raspberry Pi into a simple platform that educators and parents can use to teach the basics of building for the web. New coders can craft small projects in HTML, CSS, and Javascript, right from the web browser. Download Coder 1.33GB | Coder v0.9Now supports Raspberry Pi 2!

Arduino vs Raspberry Pi: Which Is The Mini Computer For You? You’re looking for a small computer to power a laser turret that can shoot multi-coloured balloons – it’s a common situation we all find ourselves in at one point or another – and you’ve heard good things about both Arduino and Raspberry Pi. But you can’t decide – which the best mini-computer for your project? Which is going to prevail as the most useful once you’ve disassembled the turret thanks to that incident with the neighbour’s cat? Which could you play movies on? Don’t worry, James is here to explain all! What’s The Difference?