Picture of Raspbian Lite(without graphical interface).
Expand the SWAP by modifying the file Raspbian swapfile.
From a couple of versions, Raspbian has updated Apache
and web pages are served from var instead of/var/www.
Finally, I think that I will
do so through images of the system based on Raspbian or derived from Debian for Raspberry PI.
We will also need our Raspberry have already Raspbian pre-installed, If your case is not, You can see how
to do it in the following link from the Directory.
In the previous installment of the series“Learning with
raspberry pi“, We saw how to burn the operating system Raspbian based in Debian in our SD minimum 4 GB with USB-Imagewritter.
Change the default passwords-
if you are installing a recent version of noobs or Raspbian, be sure to change the default password
of the“pi” user to something that is long and hard to guess.
This method is much more simple and clean as above, Since it is the OS to set the size that will have the SWAP, in this case it is a file and not a partition,
Since thus the developers of the project have decided it Raspbian.
To make it work, We have to burn the image of an operating system for Raspberry,
in this tutorial I will be based in Raspbian, as it is based on Debian,
allowing me to apply my knowledge in this distribution, and get the maximum juice to the Raspberry.
Now with the inverse operation, rearranging the routes of If and of,
We can dump the image of Raspbian, or our already pre-configured image,
or in the event of corruption of the file system or any problem, We can always go back and not lose all configurations and/or data overturning our backup most recent, and it even offers the possibility to directly copy a SD to another.