I have created ctags for my project. Now every time, I open file in vim editor I set ctag location. Is it possible to set the ctag location for one time in some where that I don’t know, So that when I open a file from my project in vim, it will start working, I do not need to fire
Tag: linux
Device node in LXC is not accessible when connected via SSH
I have a problem where a physical hardware device passed through to an LXC container cannot be read from or written to when I am connected via SSH. The device node of my physical hardware device looks like this: This is how I create and start my container: Then I add the device node to the LXC: Afterwards the…
How to run ssh over an existing TCP connection
I want to be able to SSH to a number linux devices at once, behind different NATs. I can’t configure the network that they are on. However, I’m having trouble getting ssh to go over an existing connection. I have full control over both my client and the devices. Here’s the process so far: On…
Setcap over SSHFS
I am running a VM on my machine and have mounted a host folder inside VM using sshfs (auto-mounted via fstab). That folder has an executable which I want to run inside the VM. But I also need some capabilities before running that executable. So my script looks like: But I am getting below error : But if I cop…
What are the exact system requirements for Knative set up? Why the basic setup guide lead me to exhaustion of resource?
I have been trying to set up Knative development environment on my system. But everytime i deploy Istio , the pilot remain in pending state and i find its because of resource exhaustion. I followed basic setup guide from Knative docs. i.e. serving/blob/master/DEVELOPMENT.md Now if i install and deploy istio a…
Unable to register git runner on local network server
i’m trying to register a git runner on my company local network server, gitlab is working fine with self singed certificate, but when trying to register a git runner like this then pasting the git URL then the token: and then the description and the tags, then i get this error: i’m not using docke…
What does this command means – “nohup ./standalone.sh -b 0.0.0.0 &”?
I have a heavy application running on jboss-7.1.1 on linux server. I came across this command to start the jboss “nohup ./standalone.sh -b 0.0.0.0 &”. But i want to understand more about this command line. Also the nohup.out file size keeps on increasing day by day. Is it due to the command li…
How to configure supervisor in docker correctly
I have a working laravel environment using docker. my projects has multiple services in different container such as redis, mongodb, mysqldb and nodejs. I want to use supervisor on my project to interact with redis for the queues and php to run the job. I have done some testing and research but I really can…
Compiling Linux Kernel 5.2.9 fails at scripts/sign-file
I am trying to compile my own kernel for the sake of experience. The kernel version is 5.2.9 downloaded from kernel.org today ( Aug 19, 2019 ). my make command is “make -j 6”. I have a Ryzen 7 1700x 8 core / 16 thread amd cpu. scripts/sign-file.c:25:10:fatal error: openssl/opensslv.h: No such file…
How to get function name after ‘ } ‘ in ftrace/ trace-cmd
I have recently started working with ftrace. I able to get function graph trace using With the above commands I can see time taken by function to finish before ‘ } ‘ But I want to script for listing functions taking more time than 10ms. Can anyone help me to achieve this? Answer TLDR it can be ach…