Passa al contenuto principale

UfficioZero adopt eggs

· 2 minuti di lettura
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

ZERO OFFICE

UfficioZero is in the process of adopting Penguin's eggs as a tool for creating its own Debian and Devuan-based systems.

We are very proud with UfficioZero's staff of the new collaboration that will allow us both to grow, and is also the first time that eggs will be included in an official repository.

This is a short presentation of UfficioZero Linux, but I recommend you to follow their site.

UfficioZero Linux is an open source operating system designed by SIITE SRLS, which has acquired the historical domain and provides various virtual servers to host web services, mail services, repositories and sharing servers for the development team.

The project is aimed at freelancers, professionals, private and state agencies who want to use a free, useful and easy to understand tool.

Currently Office Zero Linux comes in three versions:

  • Ufficio Zero Linux codename Roma 2.0.1 for pc with 32bit processor, based on Devuan 3 Beowulf and with desktop manager Xfce
  • Office Zero Linux codename Mantova 2.0.1 for pc with 64bit processors, based on PCLinuxOS and with desktop manager Mate
  • Office Zero Linux codename Vieste 2.0.1 for pc with 64bit processor, based on Linux Mint 19.3 and with desktop manager Mate

Well, the big moment has come!

· Lettura di 1 minuto
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

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](/images/forum/incubated-eggs-photo.jpg)

Installare un forum

· 3 minuti di lettura
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

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!

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

systemctl start mongod
systemctl enable mongod

Ok, controlliamo la versione

mongod --version

Siamo pronti per configurare il nostro database:

$ 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:

security:
authorization: enabled

Riavviamo il database

sudo systemctl restart mongod

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

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:

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

Quindi, andiamo a configurare nodebb

cd nodebb
./nodebb setup

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

http:/127.0.0.1:4567/forum/

così da poter redirigere il traffico su:

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

apache2

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

<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

· Lettura di 1 minuto
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

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!

· Lettura di 1 minuto
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

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

Hello World

· Lettura di 1 minuto
Piero Proietti
penguins-eggs author
Deutsch English Español  Français Italiano Polska  Portuguese  Български  Русский  Українська  やまと  中国  فارسی 

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.