ssh-keygen - how to set an rsa key with a certain username
Question I just installed ubuntu and would like to set its rsa keys up with bitbucket/github. When I ssh-keygen the keys are generated as they should be
ssh-rsa AA...yBEz3pLL georgemauer@ubuntu
which is perfectly usable except the username part. In every rsa key I've generated previously, the username section read my email address:
ssh-rsa AA...yBEz3pLL gmylastname@gmail.com
No, it's not a major impediment but if I don't get this right it will drive me crazy.…
Read more ⟶Supervisor no such file socket.py
Question I am trying to setup a queue listener for laravel and cannot seem to get supervisor working correctly. I get the following error when I run supervisorctl reload:
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228
The file DOES exist. If try to run sudo supervisorctl I get this unix:///var/run/supervisor.sock no such file.
I've tried reinstall supervisor and that did not work either. Not sure what to do here.…
Read more ⟶library is linked but reference is undefined
Question I'm trying to compile an openCL program on Ubuntu with an NVIDIA card that worked once before,
#include <CL/cl.h>
#include <iostream>
#include <vector>
using namespace std;
int main() { cl_platform_id platform; cl_device_id device; cl_context context; cl_command_queue command_queue; cl_int error;
if(clGetPlatformIDs(1, &platform, NULL) != CL_SUCCESS) { cout << “platform error” << endl; }
if(clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 1, &device, NULL) != CL_SUCCESS) { cout << “device error” << endl; }
context = clCreateContext(NULL, 1, &device, NULL, NULL, &error); if(error !…
Read more ⟶Sublime Text on Ubuntu 14.04 - Keeps attempting to remove it
Question Sublime & from Terminal, opens a Sublime Text window, but keep getting this message:
(sublime: 6476): GLib-CRITICAL **; Source ID 1982 was not found when attempting to remove it. The Source ID keeps changing. Using Ubuntu 14.04. Any ideas what could be going on? Thanks!
Answer This page in Ubuntu's bug tracker describes this particular situation. Apparently this is a known bug with 14.04, possibly because of a regression with GLib, or a mismatch between GLib and GTK (so says one of the commenters).…
Read more ⟶Docker missing layer IDs in output
Question I just did a fresh install of Docker on Ubuntu using the official guidelines: https://docs.docker.com/engine/installation/linux/ubuntulinux/
When I pull an image using "sudo docker pull ubuntu" and then "sudo docker history ubuntu" it returns missing layer IDs in the columns. Using the documentation example ( https://docs.docker.com/engine/reference/commandline/history/ ) my output is:
IMAGE CREATED CREATED BY SIZE COMMENT
3e23a5875458 8 days ago /bin/sh -c #(nop) ENV LC_ALL=C.UTF-8 0 B
"missing" 8 days ago /bin/sh -c dpkg-reconfigure locales && loc 1.…
Read more ⟶lookup registry-1.docker.io: no such host
Question I have docker daemon running on my Ubuntu 16.4 server
my server details:
No LSB modules are available. Distributor ID: Ubuntu
Description: Ubuntu 17.04 Release: 17.04 Codename: zesty
I'm receiving the following error:
aa@aaa-VirtualBox:/etc/default$ docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: no such host.
See 'docker run --help'.
I have set the http_proxy and the https_proxy beacuse i'm behind a corp proxy/firewall…
Read more ⟶How to fix Genymotion in linux ElementaryOS with error `CXXABI_1.3.8' not found
Question Whenever I am trying to start genymotion(run command ./genymotion), the following error shown in my terminal
./genymotion: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/mgumiero9/genymotion/libQt5Core.so.5)
./genymotion: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/mgumiero9/genymotion/libQt5WebKit.so.5)
./genymotion: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/mgumiero9/genymotion/libicui18n.so.52)
./genymotion: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/mgumiero9/genymotion/libicuuc.so.52)
./genymotion: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/mgumiero9/genymotion/libQt5Qml.so.5)
I would like to know how to fix it.…
Read more ⟶