Go to advanced search

by fbe
Wed Jun 12, 2019 8:05 pm
Forum: Deutsch
Topic: Python mit Vergleichsoperatoren|Verständnisprobleme?
Replies: 3
Views: 87

Re: Python mit Vergleichsoperatoren|Verständnisprobleme?

Du vergleichst Strings mit Zahlen.
by fbe
Sun Jun 09, 2019 8:47 pm
Forum: Beginners
Topic: PHP Extension Intl missing
Replies: 4
Views: 110

Re: PHP Extension Intl missing

Your PHP version is quite unusual for Raspbian Stretch. You need to figure out the package name, you have to install. Raspbian Stretch has php7.0 in its repository.

Code: Select all

sudo apt install php-intl
would try to install the package php7.0-intl and most likely fails if a package php5.6 is installed...
by fbe
Fri May 31, 2019 6:47 pm
Forum: Networking and servers
Topic: [LAMP server] - Need help with last part of WordPress install
Replies: 7
Views: 253

Re: [LAMP server] - Need help with last part of WordPress install

You can't install phpmyadmin if you completed the tutorial, that you mentioned in your first post. You must install it before the GRANT ALL PRIVILEGES ON wordpress.* TO 'root'@'localhost' IDENTIFIED BY 'YOURPASSWORD'; step. The installation of phpmyadmin fails if root needs a password to login to th...
by fbe
Wed May 22, 2019 6:15 pm
Forum: Deutsch
Topic: SD-Karte und USB-Stick wird zerschrieben.
Replies: 8
Views: 492

Re: SD-Karte und USB-Stick wird zerschrieben.

Leg mal eine Speicherkarte neben deinen Pi und schau mal, ob die auch kaputt geht. Vielleicht kommt das ja gar nicht vom Schreiben.
by fbe
Wed May 08, 2019 7:28 pm
Forum: Deutsch
Topic: Tutorial gesucht zum Grundlagenlernen
Replies: 2
Views: 368

Re: Tutorial gesucht zum Grundlagenlernen

Vom Rheinwerk Verlag gibt es "Raspberry Pi, Das umfassende Handbuch" von Michael Kofler, Charly Kühnast, Christoph Scherbeck. Das ist schon eine ziemlich große Hafenrundfahrt mit Beispielen. Einfach mal im Buchladen deines Vertrauens (ich hab's bei Thalia in einem Berliner Außenbezirk rumstehen sehe...
by fbe
Mon May 06, 2019 7:33 pm
Forum: Troubleshooting
Topic: setting up a lamp is now a nightmare
Replies: 7
Views: 362

Re: setting up a lamp is now a nightmare

Sorry, forgot the "grant option" privilege when creating a superuser. pi@headless-pi:~ $ sudo mysql Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2 Server version: 10.1.38-MariaDB-0+deb9u1 Raspbian 9.0 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation A...
by fbe
Mon May 06, 2019 7:16 pm
Forum: Networking and servers
Topic: MySQL, interactive configuration not executed after installation
Replies: 1
Views: 161

Re: MySQL, interactive configuration not executed after installation

You have installed only MariaDB. mysql-server and default-mysql-server install nothing except for dependencies. pi@headless-pi:~ $ apt show mysql-server Package: mysql-server Version: 5.5.9999+default Priority: optional Section: misc Source: mysql-transitional Maintainer: Ondřej Surý <ondrej@debian....
by fbe
Fri May 03, 2019 4:21 am
Forum: Troubleshooting
Topic: setting up a lamp is now a nightmare
Replies: 7
Views: 362

Re: setting up a lamp is now a nightmare

sudo mysql then GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' IDENTIFIED BY 'mypassword'; This creates a new user with superuser privileges in your database. Whenever a tutorial says: mysql -u root -p type mysql -u admin -p GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'mypas...
by fbe
Tue Apr 30, 2019 8:56 pm
Forum: Beginners
Topic: Can't get a virtual keyboard to work at login with the official touchscreen
Replies: 4
Views: 368

Re: Can't get a virtual keyboard to work at login with the official touchscreen

However all the others I tried were even worse or didn't work at all! "onboard" appears to work quite well on the login screen with lightdm-gtk-greeter. sudo apt remove pi-greeter sudo apt install onboard Then edit /etc/lightdm/lightdm-gtk-greeter.conf ... [greeter] ... keyboard=onboard keyboard-po...
by fbe
Tue Apr 30, 2019 5:00 pm
Forum: Beginners
Topic: [Cheetsheet] - Headless Raspberry Pi setup with Stretch
Replies: 3
Views: 160

Re: [Cheetsheet] - Headless Raspberry Pi setup with Stretch

Congratulations! You have figured out how to create a project on GitHub. Now its time to explain the miracle, how to open a terminal on a headless Raspberry Pi... ... or to try to figure out, how to remove a project on GitHub. There is no "/boot directory" that you can access from a Windows machine ...
by fbe
Sun Apr 28, 2019 3:40 pm
Forum: Beginners
Topic: Modifying the command prompt
Replies: 5
Views: 166

Re: Modifying the command prompt

You are right. I confused that with useradd behavior. This is a good reason to prefer adduser.
With adduser the bash is the login shell and the prompt should work immediately, useradd (without -s option) uses /bin/sh.
by fbe
Sun Apr 28, 2019 1:52 pm
Forum: Beginners
Topic: Modifying the command prompt
Replies: 5
Views: 166

Re: Modifying the command prompt

/bin/bash is not the default shell for new users.

Code: Select all

echo $0
If the output is not "-bash"

Code: Select all

chsh -s /bin/bash
or edit /etc/password.
by fbe
Sun Apr 28, 2019 10:57 am
Forum: General discussion
Topic: USB disk size limits
Replies: 9
Views: 363

Re: USB disk size limits

LTolledo wrote:
Sun Apr 28, 2019 3:21 am
Am currently getting the 2.5" 4TB WD HDD for my RPi2B NAS, but will test it first for native USB boot on a RPi3B
You should be aware that MBR partitioning allows partition size up to 2TB. So even if it boots from your HDD you won't like it.
by fbe
Sat Apr 27, 2019 6:09 pm
Forum: General discussion
Topic: On Screen Keyboard on login screen on Stretch?
Replies: 4
Views: 632

Re: On Screen Keyboard on login screen on Stretch?

If you want to use the lightdm-gtk-greeter login screen you can remove the pi-greeter package.
by fbe
Fri Apr 26, 2019 6:21 pm
Forum: General discussion
Topic: autologin enabled by update?
Replies: 10
Views: 456

Re: autologin enabled by update?

There was a mod in November last year to set a user if not defined. Strange I’ve set up a few since then and updated more but never noticed. This may come from the wizard that runs on first start to configure localisation settings and password. It also does an upgrade of all packages. If you do the...
by fbe
Fri Apr 26, 2019 5:11 pm
Forum: General discussion
Topic: autologin enabled by update?
Replies: 10
Views: 456

Re: autologin enabled by update?

HankB wrote:
Thu Apr 25, 2019 10:31 pm
I really wish that whoever considered this to be a good idea would reconsider.

Thanks!
The pi-greeter package is the troublemaker.
by fbe
Thu Apr 25, 2019 6:03 pm
Forum: Advanced users
Topic: HOWTO: Install LAMP stack (on Raspbian Stretch June 2018)
Replies: 11
Views: 18112

Re: HOWTO: Install LAMP stack (on Raspbian Stretch June 2018)

It "works". But you should be aware that uses the mysql root user to run wordpress, it writes the mysql root password into wp-config.php and leaves it readable for anyone who can login to the server and it gives the webserver write access to the document root. The mysql_secure_installation is useles...
by fbe
Sun Apr 21, 2019 4:47 pm
Forum: General discussion
Topic: Change new user privileges
Replies: 13
Views: 477

Re: Change new user privileges

... And finally, add user john to /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf sudo nano /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf [Configuration] AdminIdentities=unix-user:pi;unix-user:0 ;unix-user:john ... Or replace unix-user:pi by unix-group:sudo [Configuration] A...
by fbe
Sun Apr 21, 2019 5:44 am
Forum: Networking and servers
Topic: Can't view mysql data on to a html page
Replies: 3
Views: 211

Re: Can't view mysql data on to a html page

Look into /var/log/apache2/error.log.
by fbe
Sat Apr 20, 2019 6:26 pm
Forum: For sale
Topic: Host Your Own Website : Looking for Beta Users
Replies: 7
Views: 981

Re: Host Your Own Website : Looking for Beta Users

I couldn't find anything I could test without paying 99.99$.
by fbe
Fri Apr 19, 2019 9:40 am
Forum: Beginners
Topic: Delete pi user in Raspbian
Replies: 8
Views: 6652

Re: Delete pi user in Raspbian

Edit /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf

Hasn't got as much pi in it as pi egg sausage and pi, has it?

Replace "unix-user:pi" by "unix-group:sudo"

Code: Select all

AdminIdentities=unix-group:sudo;unix-user:0
by fbe
Wed Apr 17, 2019 5:20 pm
Forum: Networking and servers
Topic: [SOLVED]How to get a RDBMS server to "connect" with a web server?
Replies: 4
Views: 212

Re: How to get a RDBMS server to "connect" with a web server?

The server itself needs to listen for requests from the web server and you edit my.cnf and set the bind-address = 192.168.1.10 (again the IP address of the web server) Wrong. It needs to be an IP address of the machine, where MySQL/MariaDB server is running or 0.0.0.0 (what means that the server wi...
by fbe
Sun Apr 14, 2019 4:29 pm
Forum: Deutsch
Topic: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"
Replies: 9
Views: 579

Re: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"

Was mir zur Sache noch einfällt: Vermeide es, Reparaturversuchen zuzustimmen, die Windows Dir macht. Das Problem ist die Fehlermeldung "EXT4-fs (mmcblk0p2): error loading journal" Der Bootvorgang bricht ab, weil die zweite Partition auf der SD-Karte nicht geladen werden kann und die hat ein Dateisys...
by fbe
Sun Apr 14, 2019 2:50 pm
Forum: Deutsch
Topic: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"
Replies: 9
Views: 579

Re: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"

Wenn Vorurteile einmal in der Welt sind, hat man es schwer, das wieder auszuräumen. Ich würde nie auf die Idee kommen, dass ein Image, das ohne Dekomprimierung auf einen Datenträger geschrieben wird, überhaupt so weit bootet, dass man eine Fehlermeldung bekommt. Ein ISO-Image für den Raspberry Pi is...
by fbe
Thu Apr 11, 2019 5:46 pm
Forum: Networking and servers
Topic: LAMP Webserver Image
Replies: 5
Views: 280

Re: LAMP Webserver Image

DougieLawson wrote:
Thu Apr 11, 2019 10:44 am
Quickest route to a lamp stack is

sudo apt install apache2 phpmyadmin

That will pull in everything you need.
This installs LA-P only. phpmyadmin doesn't depend on mariadb-server.

Go to advanced search