:: [DNG] OT: Install laravel on devuan
Góra strony
Delete this message
Reply to this message
Autor: Ismael L. Donis Garcia
Data:  
Dla: dng
Temat: [DNG] OT: Install laravel on devuan
Until now I have always decided to program desktop applications, since I am not that young and I live in a country that is behind in time. But it has already begun to evolve and I have decided to jump into web programming.

I'm trying to install Laravel but I haven't succeeded, I don't see very clear how to install the framework itself, I've tried to follow explanations on the web but I can't find the correct steps.

For these reasons I am asking to see if someone can explain to me better how to install the framework so that it works on my PC.

I live in CUBA and I don't know if that is a limitation for it. Below I explain the errors it gives me:

root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer create-project laravel/laravel.
Creating a "laravel/laravel." project at "./laravel."
The following exception probably indicates you have misconfigured DNS resolver(s)

In CurlDownloader.php line 365:

  curl error 6 while downloading https://repo.packagist.org/packages.json: Could not resolve host: repo.packagis  
  t.org                                                                                                           


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

But as you can see if I have access to the internet

root@clt-iyc-03:/var/www/html/testapp# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=111 time=83.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=111 time=82.7 ms
root@clt-iyc-03:/var/www/html/testapp# wget https://repo.packagist.org/packages.json
--2024-06-24 11:01:51--  https://repo.packagist.org/packages.json
Conectando con 192.168.0.70:3128... conectado.
Petición Proxy enviada, esperando respuesta... 200 OK
Longitud: no especificado [application/json]
Grabando a: «packages.json»
packages.json                    [ <=>                                          ]   2,52K  --.-KB/s    en 0s      
2024-06-24 11:01:52 (103 MB/s) - «packages.json» guardado [2584]


root@clt-iyc-03:/var/www/html/testapp#

Best Regards
--
Ismael
Devuan User: http://distrowatch.com/table.php?distribution=devuan
Web Site: https://gitlab.uic.cu/ismael.donis/