Check installed Raspbian Kernel version

The current version can be found here.

uname -a

Install yarn

See https://yarnpkg.com/en/docs/install#debian-stable

Install a webserver

See https://howtoraspberrypi.com/how-to-install-web-server-raspberry-pi-lamp/

Install samba

First, update the package manager.

sudo apt update && sudo apt upgrad

Then, install the following packages.

sudo apt install samba samba-common-bin

Finally, you need to configure the installation.

sudo nano /etc/samba/smb.conf 

Define a [global] and at least one [<rootName>] section. The [global] section contains the general samba configuration. Each [<rootName>] will create a new virtual root folder you can see on the remote PC.

[global]
workgroup = WORKGROUP
netbios name = RaspberryPi # Only A-z 0-9
server string = Raspberry Pi machine

[www]
path = /var/www/html
comment = Webserver
browsable = yes
writable = yes
create maks = 0777
directory mask = 0777
public = no

Next, you also need to define a samba password for one of your predefined Pi users.

sudo smbpasswd -a pi

After restarting the samba service, you should be able to see this machine from an other PC in the network.

sudo service smbd restart

Get current IP address

hostname -I

 

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht.