Quantcast
Browsing all 5970 articles
Browse latest View live

AH00035: access to /path/ denied because search permissions are missing on a...

I am trying to deploy a flask app locally.Now I am stuck at some permission error.AH00035: access to / denied (filesystem path '/media/rene/mybook') because search permissions are missing on a...

View Article


Check if service exists in bash (CentOS and Ubuntu)

What is the best way in bash to check if a service is installed? It should work across both Red Hat (CentOS) and Ubuntu?Thinking:service="mysqld"if [ -f "/etc/init.d/$service" ]; then # mysqld service...

View Article


Refresh 404 - How to configure Url re-write for an Angular app on ubuntu...

I've deployed an Angular 14 app to an Azure App Service and need to setup re-write rules so that refreshing routes doesn't throw 404 errors. Hitting the site root (index.html) works fine, the app...

View Article

Image may be NSFW.
Clik here to view.

chrome browser not findable by ubuntu?

I'm working on chromeos with ubuntu Linux. I'm trying to run puppeteer-core using the installed chrome. I looked in chrome://version/ to find the executable path (screenshot).Because I need to have a...

View Article

Anyone has a script to paste two rows of text on ubuntu 22.04 using hotkey?...

how to paste using script two rows of text on ubuntu 22.04 using hotkeyExample: i pressed (+ and -) on my numpad and it's pasted two rows of text like thisHi broHow are you? ❤️Maybe it can be done...

View Article


Getting permission denied (public key) on gitlab

My problem is that I can't push or fetch from GitLab. However, I can clone (via HTTP or via SSH). I get this error when I try to push :Permission denied (publickey) fatal : Could not read from remote...

View Article

How to assign different ipv6 for each domain in nginx?

I have a KVM VPS running Ubuntu 22.04 and using nginx as the webserver. I have a IPv6 /64 block so I added the extra IPs in the control panel. I also already added AAAA records on my DNS server. I want...

View Article

Ubuntu cannot enter the bios menu. Always go to gnu grub [closed]

I would like to ask if anyone has used Linux ubuntu. I want to enter the bios menu and reinstall. But I can't, I've tried using the internal/external keyboard. Before installing ubuntu it was still...

View Article


Capture Encrypt Forward Packet on Ubuntu

I am working on C project where I have to capture the packets,encrypt and forward it. Scenario is client A (windows) sends data to client B(windows) and in between there is a server (ubuntu) where my...

View Article


"mysql -u a -p -S /var/run/mysqld/mysqld.sock" works but "mysql -u a -p" doesn't

When I use the following command:mysql -u a -p -S /var/run/mysqld/mysqld.sockIt works but if I don't specify -S /var/run/mysqld/mysqld.sock it gives me the following error:ERROR 2002 (HY000): Can't...

View Article

Displaying Text with SDL_ttf without font file hard code

I have code in C LANGUAGE to display text on screen using SDL_ttf library in linux.TTF_Font *font; font = TTF_OpenFont("FreeSans.ttf", 20);But in this I don't want to give file name as hard coded or...

View Article

Issue running nginx and apache on EC2 instance

I have a website running on Apache on EC2 Ubuntu instance.Now I wanted to install "n8n" and was following a tutorial that required nginx. So I installed nginx and becuase apache was running on port 80,...

View Article

Image may be NSFW.
Clik here to view.

How to use install modules on linux ubuntu?

I use OS LUbuntuI installed Python3.4 using the Lubuntu software center;Next thing I want to do is to install some modules.Best way I can think of would be pip install. But I can't find it on the...

View Article


Unable to Boot when restore OS from Linode to Digital Ocean [closed]

I have done a process in creating images using fsarchiver.Here is the point :Doing the OS backup in LinodeRestore in new VPS instance of Linode working without any issueRestore in Digital Ocean...

View Article

How to kill a nodejs process in Linux?

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9631/node How do I kill this process in linux(ubuntu)?

View Article


How to find root cause for server shut down frequently

I'm on ubuntu apache. Lately it shuts down frequently and back on after a restart. I kept analyzing apache2 error log to find the cause. Previously it was reporting PHP code error. But after fixing it,...

View Article

solana command not found after ubuntu update 22.04 jammy

No matter how many times I try installing solana-cli and adding the path withPATH="/home/myUserName/.local/share/solana/install/active_release/bin:$PATH"export...

View Article


Getting error: Unable to open slave... Alsa error

GETTING ERROR: Unable to open Slave. Why I don't know what to do here? I use UbuntuI tried thissudo apt-get install alsa-utilsBut I already have it but still nothing changed.I also did some other...

View Article

"git submodule update" failed with 'fatal: detected dubious ownership in...

I mounted a new hard disk drive in my Linux workstation. It looks like it is working well. I want to download some repository in the new disk. So I execute git clone XXX, and it works well. But when I...

View Article

You have $NVM_DIR set to "/root/.nvm", but that directory does not exist....

I'm trying to reinstall nvm (as a new user) after uninstalling it (as root) but clearly it didn't work. Please tell me how to fix this.user@site-beta:~/htdocs$ curl -o-...

View Article
Browsing all 5970 articles
Browse latest View live