Be fruitful and multiply
Although I am not a big religion follower, I do enjoy reading religious books and find the title fitting to this post.
I feel like after making the proper first post, the next one should be a guide for other ‘noobs’ on how to get here.
I followed one of the various guides on the internet for my raspberry pi, so I will try to use it in this post as well.
Getting Started
You are going to need a raspberry pi (preferably Model B), an SD card loaded with an OS (I am using Raspbian), a screen, mouse and keyboard for the initial set up and another computer later on if you want to work via ssh.
First of all go ahead and change your password and make sure ssh is enabled. In a terminal type:
passwd
This will prompt you to enter your old password (default is raspberry) and then enter and confirm your new one.
Then, for ssh type:
sudo raspi-config
…which will open up the configuration menu you saw when first starting the pi. Go ahead and enable ssh (and you can disable the ‘start desktop on boot’ option if you are planning to use the pi remotely).
**Installing the cool stuff
** Check if everything is up-to-date with command:
sudo apt-get update
Now, let’s begin. Type in:
sudo su
This will give you root access from now on, so be careful with what you type in.
apt-get install apache2 apache2-doc apache2-utils
…is going to install apache, and:
apt-get install libapache2-mod-php5 php5 php-pear php5-xcache
…is for php.
apt-get install php5-mysql
…is for the database connectivity.
apt-get install mysql-server mysql-client
…is for installing mysql.
exit
…so that you exit root mode.
During the process you will be asked to create some user credentials. Make sure you write them all down somewhere, so that you don’t forget them later on.
You can go ahead and follow the tutorial mentioned above if you find it more clear, and also if you want to install phpmyadmin.
I will soon make some new posts on how to create a basic html page and set up a domain name for it and ddns (via duckdns).