Pass2PHP

Moderator: leecollings

Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Pass2PHP

Post by Trigun »

Egregius wrote:Why not install the proxmox image?
Sorry you are right! Yess you should install proxmox first than debian as a vm. The proxmox website has the latest image. Sorry for the confusion!


Sent from my iPhone using Tapatalk
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Pass2PHP

Post by Egregius »

ropske wrote: Tuesday 12 May 2020 23:28 Proxmox image?
Sorry mate, do you have a link for it please? So I can install it from usb stick.
Sorry I’m a complete noob in this
That's not so hard to find...
https://proxmox.com/en/downloads
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

Sorry, found it already :)
already installed, thanks!

then latest debian version on a VM? and there on Domoticz
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Pass2PHP

Post by Trigun »

Yes!!!


Sent from my iPhone using Tapatalk
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

ok, so debian buster is installed on my first VM (for domoticz)
it starting up in desktopmode, so gonna search to boot from console

if i want to install domoticz by:
curl -L https://install.domoticz.com | bash

i get the error in terminal:
bash: curl: command not found

seems i'm doing something wrong
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pass2PHP

Post by waaren »

ropske wrote: Thursday 14 May 2020 10:15 bash: curl: command not found

Code: Select all

sudo apt install curl
might solve that
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

i installed the CD iso, maybe its not standard inside

i'm copying now the dvd iso version and will install that one, maybe this has "everything"
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pass2PHP

Post by waaren »

ropske wrote: Thursday 14 May 2020 11:48 i'm copying now the dvd iso version and will install that one, maybe this has "everything"
curl is not part of core Debian. Some distributions include it by default but others do not. You can always add it (and a lot of other required packages using apt or apt-get.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

damned, now stuck on installation of domoticz:

:: Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev...

and it stays here
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pass2PHP

Post by waaren »

ropske wrote: Thursday 14 May 2020 14:06 damned, now stuck on installation of domoticz:
::: Checking for libudev-dev...
Can you try
sudo apt update
sudo apt install libudev-dev

and try again
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

awesome mate, domoticz is installed!

i'm gonna read this complete post of pass2php tonight again to check what i need to install again to have the php script working ;)
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

hmm,

sudo apt-get install mysql-server

doesn't work anymore ...


sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mysql-server' has no installation candidate
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pass2PHP

Post by waaren »

ropske wrote: Thursday 14 May 2020 18:13 sudo apt-get install mysql-server
doesn't work anymore ...
Have a look at this
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

its ok to install latest version?8.0?
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

still not working :(
i've done like on the site

stijn@debian:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mysql-server : Depends: mysql-community-server (= 8.0.20-1debian10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
stijn@debian:~$
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

i install debian from these files:
https://cdimage.debian.org/debian-cd/cu ... 4/iso-dvd/

is it wrong?
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

ok it worked to install mysql server on Debian buster doing this:

apt-get install default-mysql-server

now next step is myphpadmin ,
got the same errors :

stijn@debian:~$ sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
stijn@debian:~$

gonna google again
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

seems it must be installed from source on debian buster:

https://www.digitalocean.com/community/ ... -debian-10

lol i better begin from scratch again and install an older debian version i guess?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Pass2PHP

Post by waaren »

ropske wrote: Thursday 14 May 2020 22:02 seems it must be installed from source on debian buster:
sudo apt install phpmyadmin should do it.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: Pass2PHP

Post by ropske »

stijn@debian:~$ sudo apt install phpmyadmin
[sudo] password for stijn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin


this is the result
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest