I am new to Linux, but I am having a lot of trouble installing an R package that does not have windows binaries. I would rather not install a full Linux install and move everything. Judging by Windows Interoperability it seems like this should be possible. I want to do any one of the options from the GNU R pa…
Tag: linux
shell script mv is throwing unhelpful error “No such file or directory” even though i see it
I need to use a shell script to move all files in a directory into another directory. I manually did this without a problem and now scripting it is giving me an error on the mv command. Inside the directory I want to move files out of are 2 directories, php and php.tmp. The error I get is cd: /path/to/working…
linux ip routing with multiple uplinks SINGLE interface
trying to setup a Proxmox machine that is running 3 vms. it has 3 public ips but these ips are on a single interface (eth0). the 3 vms are on a bridge (vmbr0) with an address of 172.16.0.1/24 I have enable ip masquerading and forwarding. but I cannot figure out how to make each of the 3 vms (172.16.0.2, 172.1…
How to solve cyclic dependencies while installing software on linux?
I am new to the computing world. My intention is to figure out a generic approach to solve cyclic dependencies while installing new software on Linux, if it exists. Here I am using the case of Google chrome to better illustrate my question. While installing Google chrome (both using package manager and apt-ge…
Invoke a Bash Script and End , Instead of Restarting again
I am running a Bash Script via Cron Job on my server and i need to invoke and end it self. Script : I need it to not reset on its own i will call the script thru cron when ever I want. Thanks Answer When you call it with cron, cron must take care of the looping. Remove the
What is the difference between Display Controller and VGA Compatible Controller?
Following is the output of lscpci command on my Arch linux terminal. I am using Lenovo G 50-70 Laptop. I wanted to know why my VGA compatible controller and Display Conroller are showing different outputs? When and why each of them is used? Is there a way to check which application uses which graphics control…
Read /proc//fd/ without full root access
I have a program (https://github.com/raboof/connbeat) that relies on /proc/[pid]/fd/* to find processes given a (networking) inode. /proc/[pid]/fd can only be read by root, but I’d like to drop privileges as much as possible for security. Is there some way I could (efficiently) get to the relationship b…
Restart ffmpeg process using monit if TOTAL CPU is less than 1%
I have used kind of similar solution like this Restarting ffmpeg process using monit to restart my ffmpeg stream in case it fails for some reason. Remember its not duplicate problem/question, because I have other issues unlike the example question/solution Restarting ffmpeg process using monit, which I’…
How can a shared library know where it resides?
I’m developing a shared library for linux machines, which is dynamically loaded relative to the main executable with rpath. Now, the library itself tries to load other libraries dynamically relative to its location but without rpath (I use scandir to search for shared libraries in a certain folder ̵…
GAE gcloud dev_appserver.py PHP: Failed to read session data: user (path: Memcache)
I run a local Google Cloud App Engine emulator for my PHP (runtime: php55) app. It works, except for PHP sessions. I get the following message: I start the app with the following command So I run using php-cgi. Before this I tried to run with regular php but then I got a WSOD. In a Google Group it was