Well, the big moment has come!

Eggs compatible with Debian 10, Ubuntu 20.20, Ubuntu 18.04, Linux Mint 20 and Linux Mint 19.3 #

At the beginning of June, after a Brazilian magazine sempreUpdate reviewed eggs, I had pleasure but also a bit of fear. The article suggested to use eggs both to make your own Linux version on modern comuters and to run old pc (i386). So in order to try to satisfy the intentions and the users, I set to work to make eggs usable again on i386. So now eggs allows you to remaster your system to 32 or 64 bits and, not only that, you can use the graphical installer calamares both for Debian Buster and on all the following distributions and derivatives:

  • Debian 10 Buster (i386/amd64 both uefi and bios)
  • Linuxmint 20 ulyana (amd64 bios only)
  • Ubuntu 20.04 Focal (amd64 bios only)
  • Linuxmint 19.3 tricia (i386/amd64 bios only)
  • Ubuntu 18.4 bionic (i386/amd64 bios only)

Read more on our forum: English, Italiano, Português, Español.

incubator

Penguin's eggs guide in different languages

install-deb

Index #

English #

english

Yes, are five days I don’t realease new versions of the tool! #

But there is a reason or, better, three: #

Italiano #

italiano

Si, sono cinque giorni che non rilascio un nuova versione del too! #

Certo, ma c’è una ragione o meglio tre:

install-deb

installare un forum

nodebb #

Ho scelto di installare nodebb come motore per il forum del sito. La ragione della scelta è stata soprattutto l’eventuale possibilità di integrazione con il blog che è sempre basato su nodejs.

I prequisiti sono ovviamente nodejs, mongo come database ed un proxy nginx o apache2.

mongodb #

Per prima cosa ho dovuto installare mongodb, il database che sta dietro la maggioranza dei siti realizzati con nodejs, un po’ come mysql è dietro lampp. Magari sarebbe il caso di creare qualche altro acronimo!

1
2
3
4
5
6
apt-get install gnupg -y
sudo su
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
apt-get update -y
apt-get install mongodb-org -y

Andiamo ad avviare mongod

1
2
systemctl start mongod
systemctl enable mongod

Ok, controlliamo la versione

1
mongod --version

Siamo pronti per configurare il nostro database:

1
2
3
4
5
6
7
$ mongo
> use admin
> db.createUser( { user: "admin", pwd: "password", roles: [ { role: "root", db: "admin" } ] } )
> use nodebb
> db.createUser( { user: "nodebb", pwd: "password", roles: [ { role: "readWrite", db: "nodebb" }, { role: "clusterMonitor", db: "admin" } ] } )
> exit

A questo punto abilitiamo la sicurezza, andando a modificare il file di configurazione /etc/mongod.conf, al quale aggiungiamo le seguenti righe:

1
2
security:
authorization: enabled

Riavviamo il database

1
sudo systemctl restart mongod

Adesso, ci possiamo connettere a mongo con la nostra password:

1
mongo -u admin -p password --authenticationDatabase=admin

A questo punfo abbiamo mongo funzionante possiamo, quindi, passare all’installazione del forum.

nodebb #

Per prima cosa scarichiamo da git la repository:

1
git clone -b v1.13.x https://github.com/NodeBB/NodeBB.git nodebb

Quindi, andiamo a configurare nodebb

1
2
cd nodebb
./nodebb setup

ci verranno chieste una serie di informazioni, io ho scelto come url:

1
http:/127.0.0.1:4567/forum/

così da poter redirigere il traffico su:

1
https://penguins-eggs.net/forum/

apache2 #

Come proxy per i due prodotti nodejs ho utilizzato apache2, con questa configurazione:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<VirtualHost *:80>
ServerName penguins-eggs.net
ServerAlias penguins-eggs.net
ServerAdmin piero.proietti@gmail.com

# Rewrite any http traffic to the main url https site
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^[^\/]*\/(.*) https://penguins-eggs.net/$1 [R=301,L]
</IfModule>
</VirtualHost>


<VirtualHost *:443>
Protocols h2 http/1.1
ServerName penguins-eggs.net

SSLEngine on
# This directory contains your keys and certificates.

# `privkey.pem` : the private key for your certificate.
# `fullchain.pem`: the certificate file used in most server software.
# `chain.pem` : used for OCSP stapling in Nginx >=1.3.7.
#`cert.pem` : will break many server configurations, and should not be used
# without reading further documentation (see link below).


SSLCertificateFile /etc/letsencrypt/live/penguins-eggs.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/penguins-eggs.net/privkey.pem

# certificati fatti a mano
#SSLCertificateFile /etc/ssl/certs/penguins-eggs-certificate.crt
#SSLCertificateKeyFile /etc/ssl/private/penguins-eggs.key

# Basic security headers
Header always set X-Content-Type-Options "nosniff"
Header always set X-Xss-Protection "1; mode=block"

# NodeBB header
RequestHeader set X-Forwarded-Proto "https"

# Static file cache
<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 14 days"
Header set Cache-Control "public"
</IfModule>
</FilesMatch>

ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

# Custom Error Document when NodeBB is offline
ProxyPass /error-documents !
ErrorDocument 503 /error-documents/503.html
Alias /error-documents /path/to/nodebb/public

# Websocket passthrough
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:4567/$1 [P,L]

# forum
ProxyPass /forum/ http://127.0.0.1:4567/forum/
ProxyPassReverse /forum/ http://127.0.0.1:4567/forum/

# blog
ProxyPass / http://127.0.0.1:4000/
ProxyPassReverse / http://127.0.0.1:4000/

# Log stuff
ErrorLog ${APACHE_LOG_DIR}/blog_error.log
CustomLog ${APACHE_LOG_DIR}/blog_access.log combined

</VirtualHost>

Il risultato si può vedere in https://penguins-eggs.net/forum/ .

Se volete potete registrarvi qui, vediamo insieme che si può fare!

eggs packaged for for i386 and amd64 architectures

Sometimes, to move forward, you need to step back first.

Well, in order to not miss the opportunity to have debian packages for both the i386 and amd64 architecture, I chose to go back to the old Node8, the latest version released by nodesource for both architectures.

The main change in this version is, of course, the presence of the i386 version, which can be a good opportunity for all people with old hardware combined with young will to experiment with them.

But not only!

Now the various READMEs, links, etc point to our new site https://penguins-eggs.net.

Come in here for more informations.

eggs-produce

Penguin’s eggs: utilitário para criar sua própria distribuição Linux!

Tutorial en portuguese on the SempreUpdate a brasilian magazine specialized in technology. The main focus is Linux, Open Source, Android and other subjects.

“Penguin’s eggs é um utilitário que permite a criação de distribuições Linux altamente personalizadas. Com o utilitário cujo nome é até interessante, Ovos de Pinguim, você pode criar remasterizações sem nenhum custo. O software Penguin’s eggs é tão eficiente que permite que você gere os arquivos ISOs, aqueles que usamos para gravar em CD/DVD ou pendrive, ou ainda você pode compartilhar a sua distribuição através da LAN via inicialização remota PXE.” … more

penguins eggs utilitario para criar sua propria distribuicao linux

#reviews

Hello World

It’s my first day on line!

There is so much work to do who I’m getting tired but, before to stop for today, I want do publish something, just to not delude someone here.

Well, I present in another window running eggs-7.5.114-1 remastering Linux Mint 20 Beta.

ulyana

You can find the iso images ulyana aka Linux Mint 20 Beta in sourceforge.

It is installable just with eggs install, not calamares GUI installer at the moment. So, please take it just as an example, or possibly, a stimoulus to help the project.

I just forgot to tell who I made another version of eggs, to include ulyana and just upload the deb package it in sourceforge too.

#linuxmint