This is my personal log

Gitlab on Raspberry Pi

06 Sep 2020 / OscFr
RaspberryPi with Gitlab logo

Configure the Swap file

sudo nano /etc/dphys-swapfile

Put this line in a comment #

CONF_SWAPSIZE

Install dependencies

sudo apt-get install curl openssh-server ca-certificates apt-transport-https
curl https://packages.gitlab.com/gpg.key | sudo apt-key add -

If you want to use the email functionality install postfix.

sudo apt-get install -y postfix

Download Gitlab

sudo curl -sS https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash

Install Gitlab

To use Gitlab only on your local network exclude: EXTERNAL_URL = "https://gitlab.example.com"

sudo EXTERNAL_URL="https://gitlab.example.com" apt-get install gitlab-ce

This can take some time but then you can login.

Recommendations

Disable new signups

Disable Auto devops core only

Add some SSH keys

References

[1]: Configure the Swap file Retrieved: 5 Sep 2020 20:00

[2]: Install dependencies Retrieved: 5 Sep 2020 20:00

[3]: Logo Retrieved: 5 Jan 2021 20:00

Omelette

30 Aug 2020 / OscFr
Omelett Pacman style with dried tomatoes, ham and onions.

Ingredients:

  • 2 Egg
  • 1/2 Onion
  • Smoked ham
  • Sun dryed tomatoes
  • Salt
  • Pepper

Instructions:

Chop the onion, ham and sun-dried tomatoes in 1 centermeter pieces.

Beat the eggs in a bowl.

Season the beaten eggs with salt and pepper.

Fry the onion and ham pieces in a frying pan over medium-high heat until the onion pieces seem slightly softer.

Pour the beaten eggs over the ham and onion pieces in the frying pan.

Sprinkle over the pieces of sun-dried tomatoes.

Wait until the egg has set.

Slide onto a plate to serve.

Hashtag Life by Mead Scientist

13 Jul 2020 / OscFr
A can of mead "Hashtag Life" by "Mead Scientist"

Type: Mead - Braggot (Oak Aged Cherry & Vanilla Imperial Sour Braggot)

ABV: 10%

Flavor: Cherry, sweet, sour, honey, vanilla.

My rating: 3,75

3 thin pancakes

12 Jul 2020 / OscFr
Pancakes with ice cream

Ingredients:

  • 1 dl White flour
  • 2 dl Milk
  • 1 Egg
  • Butter

Instructions:

Pour the flour in a bowl and add 1/2 dl of the milk.

Stir to a smooth dough

Pour the rest of the milk while stirring

Add the egg

Stir

Put a tablespoone of butter in a medium hot pan.

When the butter stop to simmer, pour 1dl of the dough around in the pan.

Let it bake for about 30 sek until it relese easaly and turn.

After unother 30 sek its probebly done. Enjoy with vanilla icecream.

Raspberry Pi Network Attached Storage

27 Jun 2020 / OscFr
Raspberry Pi

Install Samba

sudo apt install samba

Configure Samba

sudo mkdir /media/pi/shared
sudo chmod -R 777 /media/pi/shared
sudo nano /etc/samba/smb.conf
[shared]
path=/media/pi/shared
writeable=Yes
create mask=0777
directory mask=0777
public=no
sudo systemctl restart smbd

Add a Samba user

sudo smbpasswd -a pi