linux-mint

Docker: Are you trying to connect to a TLS-enabled daemon without TLS?

纵然是瞬间 提交于 2019-12-02 16:59:00
On Linux Mint 17.1 x86_64 with kernel 3.13.0-48-generic and OpenSSL version 1.0.1f-1ubuntu2.11; whenever I try to execute any docker command (like docker login or docker run hello-world ), I get the following error: FATA[0000] Get http:///var/run/docker.sock/v1.18/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? I have made a group called docker using sudo usermod -aG docker username , I have tried running the commands both as root and normally, added $(boot2docker shellinit 2> /dev/null) to ~/.profile as instructed

Setup Google test in CLion

放肆的年华 提交于 2019-12-02 16:12:35
I have been sitting online for hours already trying to setup Google test on Clion in Linux but have not been able to find anything. Can someone guide me with setting this up please? Dornathal Create new Project Create a repository in my ClionProjects folder cd ~/ClionProjects mkdir .repo cd .repo Clone the DownloadProject from github git clone https://github.com/Crascit/DownloadProject.git Create a C++ project with a src and test directory Add following files: CMakeLists.txt cmake_minimum_required(VERSION 3.3) project(MyProjectName) add_subdirectory(src) add_subdirectory(test) src/CMakeLists

Create a basic .bashrc file [closed]

ぐ巨炮叔叔 提交于 2019-12-02 15:44:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I don't have .bashrc file, I want to create one but how? And what does a basic .bashrc file contains? I am on Linux Mint 12 I want to have a .bashrc file, because i have created a folder for virtualenv and I want to load virtualenvwrapper 回答1: A .bashrc file contains whatever default settings you want to use

Managing two ssh keys

柔情痞子 提交于 2019-12-02 11:29:10
Suppose, I have two pc and in each pc I have a .ssh folder and in each folder I have three files id_rsa , id_rsa.pub and known_hosts . Now I want to use both ssh keys in one pc. How can I do that? How can I manage both ssh keys in one pc? I am on linux mint. Create a SSH config file When you have multiple identity files, create a SSH config file mechanisms to create aliases for your various identities. You can construct a SSH config file using many parameters and different approaches. The format for the alias entries use in this example is: Host alias HostName bitbucket.org IdentityFile ~/.ssh

Virtualbox install on Linux Mint 19 Tara

荒凉一梦 提交于 2019-12-02 10:00:17
I tried to install Virtualbox on linux Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) Reference link Downloaded this version of linux from above reference link- VirtualBox 5.2.18 for Linux Ubuntu 18.04 / Debian 10 AMD64 First ran the command: sudo apt-get update and then tried below command xxxxxxxxxx:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb (Reading database ... 273616 files and directories currently installed.) Preparing to unpack virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb ... Unpacking virtualbox-5.2 (5.2.18

How to prevent consistent java pause pattern on Linux Mint

情到浓时终转凉″ 提交于 2019-12-01 17:53:56
I have a Java app running on Linux Mint. EVERY minute, the program shows a very noticeable slow down -- A pause. The pause is a consistent 3 to 4 seconds. When we run further instances of the same program, they also pause 3 to 4 seconds each minute. Each program stops on a different second of the minute. latest update: After the last update (below) increasing the thread pool's thread count saw the GUI problem go away. After running for around ~40 hours we observed a thread leak in the Jetty HttpClient blocking -GET ( Request.send() ) call. To explain the mechanics, using the Executor class: a

How to prevent consistent java pause pattern on Linux Mint

风格不统一 提交于 2019-12-01 17:49:15
问题 I have a Java app running on Linux Mint. EVERY minute, the program shows a very noticeable slow down -- A pause. The pause is a consistent 3 to 4 seconds. When we run further instances of the same program, they also pause 3 to 4 seconds each minute. Each program stops on a different second of the minute. latest update: After the last update (below) increasing the thread pool's thread count saw the GUI problem go away. After running for around ~40 hours we observed a thread leak in the Jetty

Eclipse ADT Bundle crashes suddenly on Mint 16 Petra

早过忘川 提交于 2019-12-01 06:49:58
I recently installed Linux Mint 16 Petra (Cinnamon 64 bit) on my laptop (Quad core, 8 GB ram). I downloaded ADT Bundle for Linux (64 bit). As I start to use Eclipse for coding in Android, I notice that Eclipse suddenly crashes. I don't get any log error, it just crashes. It's happening frequently. Why does it crash? leber33 I found a solution right here on stackoverflow. Eclipse continue crashing For a workaround add the following to the end of your eclipse.ini -Dorg.eclipse.swt.browser.DefaultType=mozilla 来源: https://stackoverflow.com/questions/21634846/eclipse-adt-bundle-crashes-suddenly-on

Can't install R packages on Linux Mint 17

吃可爱长大的小学妹 提交于 2019-12-01 06:45:05
Running R 3.1.2 on Linux Mint 17, I get a non-zero exit status when I try to install popular packages. The full output of an example install.packages attempt is as follows: > install.packages("plyr") Installing package into ‘/home/joe_kendrick/R/x86_64-pc-linux-gnu-library/3.1’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/src/contrib/plyr_1.8.1.tar.gz' Content type 'application/x-gzip' length 393233 bytes (384 Kb) opened URL ================================================== downloaded 384 Kb * installing *source* package ‘plyr’ ... ** package ‘plyr’ successfully unpacked and

Eclipse ADT Bundle crashes suddenly on Mint 16 Petra

霸气de小男生 提交于 2019-12-01 05:53:04
问题 I recently installed Linux Mint 16 Petra (Cinnamon 64 bit) on my laptop (Quad core, 8 GB ram). I downloaded ADT Bundle for Linux (64 bit). As I start to use Eclipse for coding in Android, I notice that Eclipse suddenly crashes. I don't get any log error, it just crashes. It's happening frequently. Why does it crash? 回答1: I found a solution right here on stackoverflow. Eclipse continue crashing For a workaround add the following to the end of your eclipse.ini -Dorg.eclipse.swt.browser