Configuring Raspbian
Follow these instructions to reduce the amount of installation, storage space, and memory use. It is better to invest time in a thorough study to ensure that each setting is as accurate as feasible. A configuration can be applied in a variety of ways, and files and directives may become obsolete. To be sure you are not using an out-of-date setup, always read the product documentation.
Run raspi-config:
Run “sudo raspi-config” once you are connected and logged in.
sudo raspi-config
- Go to Advanced Options and press Enter.
Update apt Repository:
Use these commands to update the repositories, and type your password when asked after executing the first command.
sudo apt-get update
Again, when asked type Y then Enter:
sudo apt-get upgrade
Installing NGINX Server:
Run this below command to install the NGINX in your Pi OS:
sudo apt-get install nginx
Start NGINX:
Run the command below to start Nginx server:
sudo /etc/init.d/nginx start
How to build a Linux server on a Raspberry Pi from Windows?
The Raspberry Pi is a small, inexpensive computer that is of the size of a credit card that connects to a computer monitor or TV and operates with a regular keyboard and mouse. With the help of this competent small gadget, individuals of all ages may learn about computing and how to program in languages like Scratch and Python.
It can be used to set up your own server at a minimal cost. It has all the features of a desktop computer, including the ability to play high-definition video, browse the internet, create spreadsheets, word documents, and play games.
What you’ll have to create a Linux server using a Raspberry Pi is listed below:
- Raspberry Pi
- Ethernet Cable
- A microSD card (minimum 8GB storage capacity)