Tag Archives: Ubuntu

Corrigir no Docker: Acquired permission denied challenge 🐳

Corrigir no Docker: Got permission denied issue 🐳

Hoje o artigo será bem curto, o que falaremos hoje é como resolver o seguinte erro: docker: Acquired permission denied whereas attempting to hook up with the Docker daemon socket at unix:///var/run/docker.sock: Submit http://%2Fvarpercent2Frunpercent2Fdocker.sock/v1.26/containers/create: dial unix /var/run/docker.sock: join: permission denied. See docker run –help. Enter fullscreen modeExit fullscreen mode É provável que você obteve este…

Read More

The way to set up grpc php on ubuntu?

How to install grpc php on ubuntu?

Putting in PECL :sudo apt-get set up autoconf zlib1g-dev php-dev php-pear Putting in Composer ( skip if already put in ) :curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/native/bin/composer Putting in extension php grcp :sudo pecl set up grpc Edit your php.ini in /and so on/php/{7.4 or 8.0 or different php model }/cli/php.ini and…

Read More

The best way to Set up NVidia Driver and Cuda in Ubuntu server 18.04

How to Install NVidia Driver and Cuda in Ubuntu server 18.04

Be certain GCC is put in 1 apt replace apt set up build-essential gcc –version Set up kernel headers 2 apt-get set up linux-headers-$(uname -r) Obtain CUDA Toolkit 2https://developer.nvidia.com/cuda-downloads References: https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/ ↩ https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141/5 ↩ Read More

CREATE A TABLE ON A POSTGRESQL DATABASE

CREATE A TABLE ON A POSTGRESQL DATABASE

First some helpful instructions: record if databases:l change to a database:c exampledatabase now it’s time to create a desk:CREATE TABLE merchandise (id serial major key, identify varchar (50) not null, value varchar (50) not null); we now have a desk however no entries, so:INSERT INTO merchandise (identify, value) VALUES (‘hamburger’,’10’); to test the tables:dt and…

Read More

HOW TO RUN A SQL FILE AND CREATE A DATABASE

HOW TO RUN A SQL FILE AND CREATE A DATABASE

It’s not at all times a superb observe to insert information with a psql command line. Making a sql file and operating it’s typically simpler. First we create a file with .sql extension (with notepad for instance). DROP TABLE merchandise; create desk merchandise (id serial major key, title varchar (50) not null, worth varchar (50)…

Read More