Creating a LAMP server (web server - Linux Apache Mysql PHP) on the Raspberry Pi - Linux tutorial from PenguinTutor. This provides details of how to configure a Raspberry Pi as a webserver.
This is similar to the guide to using Xubuntu as a LAMP webserver, but adds some of the things that need to be handled differently for the Raspberry Pi. It is termed a LAMP server which is one of the most common configuration for webservers which standard for: Linux – operating system Apache – webserver (http) software Mysql – database server PHP or Perl – programming languages This setup is probably overkill for most uses of the Raspberry Pi, but it is the setup that most users will be familiar with and is a good way to learn about setting up a webserver. I’ll be looking at setting up a lightweight setup in future. All this configuration is done at the command line. Why use the Pi? Avoiding the geeking answer of “because I can” I think there are some good reasons for doing this.
Learn Linux The main aim of this site is to teach Linux skills. Debian Linux Security passwd and follow the prompts for changing the password. Rpp - Raspberry Pi PIC Programmer using GPIO. Introduction Microchip PIC® 8-bit microcontrollers are quite popular amongst hobbyists, and I've used them for a long time in several of my projects.
They are very cheap, use only 35 assembly instructions that are easy to learn, and most importantly they use flash memory, which gives you the possibility to program the device virtually as many times as you want during your experiments. Up until now I've used a simple serial interface and picprog to program them under Linux, but sadly the trend is not to include a serial port anymore on new computers/laptops. Of course there are USB programmers on the market, but quite often their price exceeds 30€ and not all of them work well on Linux. Also a commercial programmer usually supports hundreds of different chips, while all I needed was a simple and cheap way to program, say, the four chips I work with most of the time.
These are the basic operations you can perform with rpp: License Hardware PICs are programmed using a serial method. Gcc make. Turning the Raspberry Pi Into an FM Transmitter - Imperial College Robotics Society Wiki. Steps to play sound: (Created by Oliver Mattos and Oskar Weigl.
Code is GPL) sudo python >>> import PiFm >>> PiFm.play_sound("sound.wav") Now connect a 70cm (optimally, ~20cm will do) or so plain wire to GPIO 4 (which is pin 7 on header P1) to act as an antenna, and tune an FM radio to 103.3Mhz. Download the module here: [Download Now!] (this contains both source and a ready to go binary. New! Sudo . How to change the broadcast frequency Run the . The second command line argument is the frequency to transmit on, as a number in Mhz. Sudo . It will work from about 1Mhz up to 250Mhz, although the useful FM band is 88 Mhz to 108 Mhz in most countries. Most radio receivers want a signal to be an odd multiple of 0.1 MHz to work properly. The details of how it works Below is some code that was hacked together over a few hours at the Code Club pihack.
If you're v. smart, you might be able to get stereo going! Accessing Hardware.