Page 64 of 76

Re: Pass2PHP

Posted: Wednesday 13 May 2020 7:12
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

Re: Pass2PHP

Posted: Wednesday 13 May 2020 7:17
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

Re: Pass2PHP

Posted: Wednesday 13 May 2020 9:19
by ropske
Sorry, found it already :)
already installed, thanks!

then latest debian version on a VM? and there on Domoticz

Re: Pass2PHP

Posted: Wednesday 13 May 2020 9:19
by Trigun
Yes!!!


Sent from my iPhone using Tapatalk

Re: Pass2PHP

Posted: Thursday 14 May 2020 10:15
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 11:34
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 11:48
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"

Re: Pass2PHP

Posted: Thursday 14 May 2020 12:00
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.

Re: Pass2PHP

Posted: Thursday 14 May 2020 14:06
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 14:18
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 15:04
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 ;)

Re: Pass2PHP

Posted: Thursday 14 May 2020 18:13
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 18:58
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 19:02
by ropske
its ok to install latest version?8.0?

Re: Pass2PHP

Posted: Thursday 14 May 2020 19:06
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:~$

Re: Pass2PHP

Posted: Thursday 14 May 2020 19:24
by ropske
i install debian from these files:
https://cdimage.debian.org/debian-cd/cu ... 4/iso-dvd/

is it wrong?

Re: Pass2PHP

Posted: Thursday 14 May 2020 21:29
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

Re: Pass2PHP

Posted: Thursday 14 May 2020 22:02
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?

Re: Pass2PHP

Posted: Thursday 14 May 2020 22:18
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.

Re: Pass2PHP

Posted: Thursday 14 May 2020 22:25
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