Mozilla: Unterschied zwischen den Versionen
Aus Vosp.info
F (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Addons == * ghostery“) |
V (Diskussion | Beiträge) (→Pasowort import per Datei erlauben) |
||
(34 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | = Thunderbird / Icedove = | ||
+ | |||
+ | == Die zwei Signaturstriche weg bekommen == | ||
+ | |||
+ | * Beim Einfügen einer Signatur setzt Thunderbird setzt automatisch zwei Striche über selbige. | ||
+ | Wenn dieses Verhalten nicht gewünscht wird, geht mensch in die erweiterte Konfiguration. (about:config) | ||
+ | |||
+ | * Suchbegriff: mail.identity.default.suppress_signature_separator | ||
+ | ** Dort den Wert von "false" auf "true" setzen. Done. | ||
+ | |||
+ | = Firefox / Iceweasel = | ||
== Addons == | == Addons == | ||
* ghostery | * ghostery | ||
+ | * downloadhelper | ||
+ | * addblock plus | ||
+ | * WIFI Finder | ||
+ | * Empty Cache Button | ||
+ | |||
+ | |||
+ | == firefox syncronisation == | ||
+ | * https://de.wikipedia.org/wiki/Firefox_Sync | ||
+ | * https://mozilla.github.io/application-services/docs/accounts/project-details.html | ||
+ | |||
+ | https://www.lucidchart.com/publicSegments/view/8760a3b3-77d1-4390-bc9b-e9ab309eca0f/image.png | ||
+ | |||
+ | === Firefox Accounts Server === | ||
+ | * https://mozilla-services.readthedocs.io/en/latest/howtos/run-fxa.html | ||
+ | |||
+ | |||
+ | ==== fxa-auth-server ==== | ||
+ | |||
+ | * https://github.com/mozilla/fxa-auth-server/ | ||
+ | |||
+ | <source lang=bash> | ||
+ | git clone git://github.com/mozilla/fxa-auth-server.git | ||
+ | cd fxa-auth-server | ||
+ | npm install | ||
+ | </source> | ||
+ | |||
+ | ==== fxa-content-server ==== | ||
+ | |||
+ | * https://github.com/mozilla/fxa-content-server/ | ||
+ | |||
+ | <source lang=bash> | ||
+ | sudo apt-get install build-essential git-core libgmp3-dev graphicsmagick python-virtualenv python-dev docker-ce | ||
+ | |||
+ | |||
+ | |||
+ | # https://github.com/mozilla/fxa-local-dev#dependencies | ||
+ | ## # https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04 | ||
+ | sudo apt-get install -y software-properties-common | ||
+ | sudo add-apt-repository ppa:webupd8team/java | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install oracle-java8-installer | ||
+ | |||
+ | |||
+ | git clone https://github.com/mozilla/fxa-content-server/ | ||
+ | cd fxa-content-server | ||
+ | npm install | ||
+ | npm run start-remote | ||
+ | </source> | ||
+ | |||
+ | === syncserver === | ||
+ | |||
+ | * https://github.com/mozilla-services/syncserver | ||
+ | * https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html | ||
+ | * https://sathya.de/blog/how-tos/setup-your-own-firefox-1-5-sync-server-on-debian-with-apache2-and-mysql/ | ||
+ | |||
+ | ==== installation ==== | ||
+ | <source lang=bash> | ||
+ | |||
+ | apt-get install libapache2-mod-wsgi | ||
+ | |||
+ | git clone https://github.com/mozilla-services/syncserver | ||
+ | cd syncserver/ | ||
+ | make build | ||
+ | make test | ||
+ | make serve | ||
+ | |||
+ | </source> | ||
+ | |||
+ | ==== Konfiguration ==== | ||
+ | |||
+ | <source lang=sql> | ||
+ | create database dbname; | ||
+ | create user 'dbuser'@'localhost' identified by 'dbpasswd'; | ||
+ | grant all on dbname.* to 'dbuser'@'localhost'; | ||
+ | </source> | ||
+ | |||
+ | * syncserver/syncserver.ini | ||
+ | <source lang=config> | ||
+ | [server:main] | ||
+ | use = egg:gunicorn | ||
+ | host = 0.0.0.0 | ||
+ | port = 5000 | ||
+ | workers = 1 | ||
+ | timeout = 30 | ||
+ | |||
+ | [syncserver] | ||
+ | # public_url = http://firefox.domain.tld:5000/ | ||
+ | public_url = http://firefox.domain.tld/ | ||
+ | |||
+ | identity_provider = https://accounts.firefox.com/ | ||
+ | |||
+ | #sqluri = sqlite:////var/www/domain.tld/syncserver.db | ||
+ | sqluri = pymysql://dbuser:dbpasswd@localhost:3306/dbname | ||
+ | |||
+ | allow_new_users = true | ||
+ | force_wsgi_environ = false | ||
+ | </source> | ||
+ | |||
+ | ===== apache ===== | ||
+ | |||
+ | Achtung: wichtig ist das user und group richtig angegeben werden und alle rechte existieren!! | ||
+ | |||
+ | <source lang=apache> | ||
+ | <VirtualHost *:80> | ||
+ | ServerName firefox.domain.tld | ||
+ | Redirect permanent / https://firefox.domain.tld/ | ||
+ | </VirtualHost> | ||
+ | |||
+ | <VirtualHost *:443> | ||
+ | SSLEngine On | ||
+ | ServerName firefox.domain.tld | ||
+ | ServerAdmin webmaster@localhost | ||
+ | DocumentRoot /var/www/firefox.domain.tld/syncserver | ||
+ | WSGIProcessGroup sync | ||
+ | WSGIDaemonProcess sync user=ubuntu group=ubuntu processes=2 threads=25 python-path=/var/www/firefox.domain.tld/syncserver/local/lib/python2.7/site-packages/ | ||
+ | WSGIPassAuthorization On | ||
+ | WSGIScriptAlias / /var/www/firefox.domain.tld/syncserver/syncserver.wsgi | ||
+ | LogLevel info | ||
+ | ErrorLog ${APACHE_LOG_DIR}/error.firefox.domain.tld.log | ||
+ | CustomLog ${APACHE_LOG_DIR}/access.firefox.domain.tld.log combined | ||
+ | <Directory /var/www/firefox.domain.tld/> | ||
+ | Require all granted | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | Options -MultiViews | ||
+ | </Directory> | ||
+ | ServerSignature Off | ||
+ | SSLCertificateKeyFile /etc/ssl/private/ssl.key | ||
+ | SSLCertificateFile /etc/ssl/private/ssl.crt | ||
+ | SSLCertificateChainFile /etc/ssl/private/ssl.cer | ||
+ | SetEnv nokeepalive ssl-unclean-shutdown | ||
+ | </VirtualHost> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </source> | ||
+ | |||
+ | === fxa-oauth-server === | ||
+ | * identity_provider | ||
+ | * https://github.com/mozilla/fxa-oauth-server | ||
+ | |||
+ | ==== minimal installation ==== | ||
+ | <source lang=bash> | ||
+ | git clone https://github.com/mozilla/fxa-oauth-server | ||
+ | cd fxa-oauth-server/ | ||
+ | npm install | ||
+ | npm start | ||
+ | # ..... | ||
+ | # fxa-oauth-server.bin.server.INFO: listening http://127.0.0.1:9010 | ||
+ | |||
+ | </source> | ||
+ | |||
+ | ==== Fehler ==== | ||
+ | ===== npm WARN lifecycle fxa-oauth-server@1.120.0~postinstall: cannot run in wd fxa-oauth-server@1.120.0 node scripts/gen_keys (wd=fxa-oauth-server) ===== | ||
+ | |||
+ | npm vllt mal nicht als root ausführen | ||
+ | |||
+ | ===== npm fixing helpers ===== | ||
+ | |||
+ | <source lang=bash> | ||
+ | npm audit fix | ||
+ | npm audit fix --force | ||
+ | npm audit | ||
+ | |||
+ | </source> | ||
+ | |||
+ | ===== (node:16131) UnhandledPromiseRejectionWarning: Error: listen EADDRINUSE 127.0.0.1:9001 ===== | ||
+ | |||
+ | Fehler wie diese bedeuten oft das der port schon benutzt wird, deshalb mal checken | ||
+ | |||
+ | <source lang=bash> | ||
+ | netstat -tulpen | ||
+ | |||
+ | </source> | ||
+ | == Firefox per Dateien konfigurieren == | ||
+ | === general.cfg === | ||
+ | * Die Datei wird in das Installationsverzeichnis erstellt/kopiert | ||
+ | <source> | ||
+ | // Set network proxy and lock proxy settings | ||
+ | lockPref("network.proxy.type",5); // lock pref, disallow changes | ||
+ | lockPref("security.enterprise_roots.enabled", true); // now firefox makes use of the windows certstore | ||
+ | </source> | ||
+ | |||
+ | === local-settings.js === | ||
+ | * Die Datei wird in das <Installationsverzeichnis>\defaults\pref\ erstellt/kopiert | ||
+ | <source> | ||
+ | // Mandatory, because firefox does not read this line. | ||
+ | pref("general.config.obscure_value", 0); | ||
+ | pref("general.config.filename", "general.cfg"); // sets the name of the config fle | ||
+ | </source> | ||
+ | == Firefox per GPO konfigurieren == | ||
+ | * Als erster Startpunkt | ||
+ | ** https://www.windowspro.de/wolfgang-sommergut/firefox-zentral-verwalten-ueber-gpos-policiesjson | ||
+ | |||
+ | |||
+ | |||
+ | == Konfig == | ||
+ | === about:config === | ||
+ | ==== Passwort import per Datei erlauben==== | ||
+ | <source>signon.management.page.fileImport.enabled true</source> |
Aktuelle Version vom 2. Mai 2022, 06:51 Uhr
Inhaltsverzeichnis
Thunderbird / Icedove
Die zwei Signaturstriche weg bekommen
- Beim Einfügen einer Signatur setzt Thunderbird setzt automatisch zwei Striche über selbige.
Wenn dieses Verhalten nicht gewünscht wird, geht mensch in die erweiterte Konfiguration. (about:config)
- Suchbegriff: mail.identity.default.suppress_signature_separator
- Dort den Wert von "false" auf "true" setzen. Done.
Firefox / Iceweasel
Addons
- ghostery
- downloadhelper
- addblock plus
- WIFI Finder
- Empty Cache Button
firefox syncronisation
- https://de.wikipedia.org/wiki/Firefox_Sync
- https://mozilla.github.io/application-services/docs/accounts/project-details.html
https://www.lucidchart.com/publicSegments/view/8760a3b3-77d1-4390-bc9b-e9ab309eca0f/image.png
Firefox Accounts Server
fxa-auth-server
git clone git://github.com/mozilla/fxa-auth-server.git
cd fxa-auth-server
npm install
fxa-content-server
sudo apt-get install build-essential git-core libgmp3-dev graphicsmagick python-virtualenv python-dev docker-ce
# https://github.com/mozilla/fxa-local-dev#dependencies
## # https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
git clone https://github.com/mozilla/fxa-content-server/
cd fxa-content-server
npm install
npm run start-remote
syncserver
- https://github.com/mozilla-services/syncserver
- https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html
- https://sathya.de/blog/how-tos/setup-your-own-firefox-1-5-sync-server-on-debian-with-apache2-and-mysql/
installation
apt-get install libapache2-mod-wsgi
git clone https://github.com/mozilla-services/syncserver
cd syncserver/
make build
make test
make serve
Konfiguration
create database dbname;
create user 'dbuser'@'localhost' identified by 'dbpasswd';
grant all on dbname.* to 'dbuser'@'localhost';
- syncserver/syncserver.ini
[server:main]
use = egg:gunicorn
host = 0.0.0.0
port = 5000
workers = 1
timeout = 30
[syncserver]
# public_url = http://firefox.domain.tld:5000/
public_url = http://firefox.domain.tld/
identity_provider = https://accounts.firefox.com/
#sqluri = sqlite:////var/www/domain.tld/syncserver.db
sqluri = pymysql://dbuser:dbpasswd@localhost:3306/dbname
allow_new_users = true
force_wsgi_environ = false
apache
Achtung: wichtig ist das user und group richtig angegeben werden und alle rechte existieren!!
<VirtualHost *:80>
ServerName firefox.domain.tld
Redirect permanent / https://firefox.domain.tld/
</VirtualHost>
<VirtualHost *:443>
SSLEngine On
ServerName firefox.domain.tld
ServerAdmin webmaster@localhost
DocumentRoot /var/www/firefox.domain.tld/syncserver
WSGIProcessGroup sync
WSGIDaemonProcess sync user=ubuntu group=ubuntu processes=2 threads=25 python-path=/var/www/firefox.domain.tld/syncserver/local/lib/python2.7/site-packages/
WSGIPassAuthorization On
WSGIScriptAlias / /var/www/firefox.domain.tld/syncserver/syncserver.wsgi
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.firefox.domain.tld.log
CustomLog ${APACHE_LOG_DIR}/access.firefox.domain.tld.log combined
<Directory /var/www/firefox.domain.tld/>
Require all granted
Order allow,deny
Allow from all
Options -MultiViews
</Directory>
ServerSignature Off
SSLCertificateKeyFile /etc/ssl/private/ssl.key
SSLCertificateFile /etc/ssl/private/ssl.crt
SSLCertificateChainFile /etc/ssl/private/ssl.cer
SetEnv nokeepalive ssl-unclean-shutdown
</VirtualHost>
fxa-oauth-server
- identity_provider
- https://github.com/mozilla/fxa-oauth-server
minimal installation
git clone https://github.com/mozilla/fxa-oauth-server
cd fxa-oauth-server/
npm install
npm start
# .....
# fxa-oauth-server.bin.server.INFO: listening http://127.0.0.1:9010
Fehler
npm WARN lifecycle fxa-oauth-server@1.120.0~postinstall: cannot run in wd fxa-oauth-server@1.120.0 node scripts/gen_keys (wd=fxa-oauth-server)
npm vllt mal nicht als root ausführen
npm fixing helpers
npm audit fix
npm audit fix --force
npm audit
(node:16131) UnhandledPromiseRejectionWarning: Error: listen EADDRINUSE 127.0.0.1:9001
Fehler wie diese bedeuten oft das der port schon benutzt wird, deshalb mal checken
netstat -tulpen
Firefox per Dateien konfigurieren
general.cfg
- Die Datei wird in das Installationsverzeichnis erstellt/kopiert
// Set network proxy and lock proxy settings
lockPref("network.proxy.type",5); // lock pref, disallow changes
lockPref("security.enterprise_roots.enabled", true); // now firefox makes use of the windows certstore
local-settings.js
- Die Datei wird in das <Installationsverzeichnis>\defaults\pref\ erstellt/kopiert
// Mandatory, because firefox does not read this line.
pref("general.config.obscure_value", 0);
pref("general.config.filename", "general.cfg"); // sets the name of the config fle
Firefox per GPO konfigurieren
- Als erster Startpunkt
Konfig
about:config
Passwort import per Datei erlauben
signon.management.page.fileImport.enabled true