Category "linux"

How to declare a var in bash without it replacing a var in a different file

I have 2 files file1 and file2. Inside file1 I declare a var, x=1. In file2 I make a var x=2. If I run file one then file two, and then in the shell echo x, I g

PCL problems in Ubuntu 20.04. how to get it running?

Make Error at CMakeLists.txt:12 (find_package): By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configu

Linux kernel: is a re-assigned page frame cleared?

When a process ends, the Linux kernel can re-assign the user-space page frames (the pages in physical memory) to the user-space pages (in virtual memory) of ano

How to install PostGIS on Oracle Linux 6.4 x64?

I am reading the following guide http://www.postgresonline.com/journal/archives/329-An-almost-idiots-guide-to-install-PostgreSQL-9.3,-PostGIS-2.1-and-pgRouting-

Docker Nginx + PHP-FPM Error Fastcgi Header

I am creating a PHP(Phalcon) project, using docker compose. The image is tailored based on the webdevops project. In our production, staging, and my own machine

Ubuntu create-react-app fails with permission denied

I'm getting a weird error: Unhandled rejection Error: EACCES: permission denied, mkdir '/home/ubuntu/.npm/_cacache/index-v5/14/36'atus I just install npm (6.

Flutter for linux build fail

A linux build of any flutter application with linux enabled, results in the following error: flutter run -d linux Launching lib/main.dart on Linux in debug mode

Listing all user-installed packages in Debian

For a cyber security competition I participate in, I'm given a Debian virtual machine with many packages installed and asked to clean extraneous or malicious pa

PyInstaller executable not working with panda3d. No graphics pipe availabe

I am having an issue with a program, which uses panda3d. It works perfectly when executed as a pythonscript, but the version, which is compiled (or rather packa

Enabling the VT-x inside a virtual machine

I work in Ubuntu from Oracle Virtual Machine which is installed on top of Windows. I have activated the VT-x feature in the host BIOS. After this I created a n

Create a git repository on server side

I have a big problem and I can't understand this topic. I have a server with a website. I created a repository there with git init. Than I made a git add * to a

Linux flock, how to "just" lock a file?

In Bash, I'm trying to make a function getLock to be used with different lock names. function getLock { getLock_FILE="${1}" getLock_OP="${2}" case

picom transparency doesn't apply to alacritty (bspwm)

I have a fresh install of arch linux and am currently trying to theme the terminal (alacritty) and the transparency when I set it in ~/.config/picom/picom.conf

Add dependency between two systemd services to start again if one of them is killed

I have two systemd services A.service and B.service in /etc/systemd/system/ directory. Below is the configuration in A.service [Unit] Description=A Service [Se

Automate mysql_secure_installation with echo command via a shell script

I am trying to automate mysql_secure_installation script with automated response. My code is as follows : echo "& y y abc abc y y y y" | ./usr/bin/mysql_se

/dev/vda1 is full but cannot find why

I have a server running Centos 7. This is the result of df -h Filesystem Size Used Avail Use% Mounted on udev

How is an 'undefined symbol' error possible if shared dependencies provide that symbol?

I'm trying to compile GTK 3.24.33 from source. At some point in the build process I got the following error Cannot load module /home/felix/apps/src/libraries/gt

"Unable to load dynamic library 'pdo_sqlsrv.so' "Cenos7 PHP7.2.10

I have overlook at this issue Linux - PHP 7.0 and MSSQL (Microsoft SQL) and I am sure did exactly what MS told me to do in this page installing-the-drivers-on-

intel i225-v linux driver(ubuntu 20.04)

after kernel downgrade, every device drivers doesn't work. I want to download i225-v linux driver, and search this pagehttps://www.intel.co.kr/content/www/kr/ko

Apache not reachable from outside an Azure Ubuntu VM

I've just created a Linux Ubuntu 14.04 VM in Azure. The VM is up and i can connect via SSH. I've setted up apache2 and is running. My issues starts when i try