This section was fought for the beginners users that purchased a raspberry; advanced users should go forward with the tutorials.
Anable boot to ssh if you have installed Debian Jessie, while if you use the wheezy distribution boot to ssh is anabled by default. In order to do that use the command
raspi config in the command line. Thanks to ssh you will be able to execute commands on your machine direcly from your computer. To do so install putty on windows or use the terminal on mac.
If your aim is to configure a website, you want to ensure that all the available ram is assigned to the cpu instead that to the gpu as you will not use the desktop.
Change the memory split with the command
raspi config go to advance setting and change the default
It is fundamental to assign a password to root and change the default password of the pi user. Use the command
sudo passwd root. While the pi password can be changed from
raspi config settings. To be able to ssh to root use the command
su root after the login in pi user.
Nginx is a modern server, it was first released in 2004 by Igor Sysoev. Nginx is based on asynchronous and events-driven architecture. What does that mean to you?
Thanks to these characteristics Nginx features light-weight resource utilization and the ability to scale easily on minimal hardware. In particular Nginx use little ram and excels at serving static content. That is perfect for devices such the raspberry or underpowered computers. Another quality of Nginx is that it is designed to pass requests off to other software like php-fpm or to backed servers as a load balancing or proxy server.
If you still have any doubt about Nginx I can add some other pros to the list:
Now that you got to know about Nginx I am sure you're wondering which should be your next move. I suggest you to read the tutotial Compile Nginx in order to install the latest nginx release to your linux server.
Or if you have it already installed and you are wondering about how to configure Nginx go to my Githup Repo. In case you find the conf useful (or broken) please contact me, any suggestion is appreciated.
This article was last updatated the 25/2/16