ubuntu-14.04

Not able to uninstall NVM packages

冷暖自知 提交于 2019-12-11 06:27:01
问题 I have installed NodeJs in root user.When I tried to install it in sudo user, but i was not able to Install Nodejs. I was able to remove the npm packages. I am not able to remove NVM packages. So please help me to uninstall NVM packages from root user. 回答1: Note for the next installation: if it seems that cannot run nvm, try to close the terminal, and reopen it again. To uninstall nvm from root try: $ rm -rf /root/.nvm Then edit /root/.bashrc file, find the following lines and delete them:

PyDev not showing up in Eclipse 3.8

☆樱花仙子☆ 提交于 2019-12-11 06:21:38
问题 After I installed eclipse 3.8 on Ubuntu 16.04 (same as 14.04), I tried to install PyDev in Help->Install New Software->Add pydev.org/updates. Everything seems to have gone went well but after restarting eclipse I cannot see PyDev. 回答1: if you already install PyDev 5.xx.. in your eclipse 3.8, uninstall them: help->install new software->click on "already installed" highlight then uninstall PyDev 5.xx... Now you can install the correct version (4.5.5) of PyDev for eclipse 3.8 help->install new

How to install and launch mahout for spark?

人走茶凉 提交于 2019-12-11 06:07:14
问题 I am interested in learning machine learning algorithms for big data, and for that purpose I want to learn how to code in Mahout for Spark. Now I have posted my original question in here, but nobody answered, so I am modifying my question now. If anyone knows detailed procedures how to install LATEST Spark in Ubuntu 14.04 and how to integrate MAHOUT for it, I will be really grateful. Thanks in advance. 回答1: Currently Mahout uses: Spark 1.6.2 Scala 2.10.4 You can try to build your own version

Eclipse C++ on Ubuntu 14.04 cannot find string's stod()

折月煮酒 提交于 2019-12-11 04:38:15
问题 Elipse cannot build C++ programs on my system if they contains calls to string's function stod(). I am running Ubuntu 14.04 with Eclipse using the C/C++ perspective. I have included the header, and compiled with the -std=c++11 compile flag and set the compiler from gcc to g++, but it did not work. I also tried using Eclipse's "ISO C++11" dialect setting (which sets the compile flag to -std=c++0x. In all cases, the compiler is unable to see the stod function. To isolate the problem, I compiled

Change Ubuntu locale in Docker

三世轮回 提交于 2019-12-11 04:06:42
问题 So I'm setting up a docker image with Ubuntu and Postgresql in pt_BR and I'd like to know how can I change the default locale via command line without restarting the system - which is not possible in a Docker build :). I managed to do it in Debian by changing setting LANG,LANGUAGE and LC_* variables in /etc/default/locale , modifying /etc/locale.gen and running dpkg-reconfigure , as shown here. In Ubuntu it doesn't work. 回答1: It should work with Ubuntu similarly. A sample Dockerfile FROM

Cannot connect to Google Compute Engine instance via SSH in browser

此生再无相见时 提交于 2019-12-11 03:55:22
问题 I cannot connect to GCE via ssh. It is showing Connection Failed, and we are unable to connect VM on port 22. And serial console output its shows Jul 8 10:09:26 Instance sshd[10103]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Jul 8 10:09:27 Instance sshd[10103]: User username from 0.0.0.0 not allowed because not listed in AllowUsers Jul 8 10:09:27 Instance sshd[10103]: input_userauth_request: invalid user username [preauth] Jul 8 10:09:27 Instance sshd[10103]: Connection

bash: /usr/local/android-sdk-linux/tools/android: Permission denied

北城以北 提交于 2019-12-11 03:15:30
问题 i am trying to install phone gap on Ubuntu. I followed all the necessary steps and successfully installed the android sdk on Ubuntu. but when I type android in the terminal it shows permission denied. How do i change the permission. The error is: bash: /usr/local/android-sdk-linux/tools/android: Permission denied 回答1: Set the permissions using chmod exec'd using sudo sudo chmod a+x /usr/local/android-sdk-linux/tools/android 回答2: Simply fix the rights chmod +x /usr/local/android-sdk-linux

DDMS files not found: SDK_HOME/tools/traceview : Eclipse

冷暖自知 提交于 2019-12-11 03:05:39
问题 I'm newly configured Android Eclipse neon in Ubuntu. When I try to open the eclipse it throws error As " Failed to get the required ADT version number from the SDK. The Android Development Toolkit may not work properly " I have tried many references but i am unable to solve the issue as given in references to reinstall ADT plugin.Which i have tried many times and does not solve the issue. The Message shown in dialog box 回答1: Finally i got an answer. You first restart your eclipse and check it

How configure charles-proxy to work with chrome in linux (ubuntu 14.04)

随声附和 提交于 2019-12-11 03:04:14
问题 I try setting the chrome proxy: google-chrome --proxy-server=127.0.0.1:8888 Chrome opens a new window, but charles does not capture any. 回答1: Charles opens up a proxy usually at localhost:8888 (you can change it in the Proxy > Proxy settings... menu), so what you have to do is simply add this proxy server to your connections. The best way to achieve that I've found is by installing the Proxy SwitchySharp extension, configuring the proxy parameters as told before and switching manually

Error - (noSuchName) There is no such variable name in this MIB - netSnmp?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 02:24:28
问题 I have made a private MIB - RASP-MIB. Here is the mib RASP-MIB DEFINITIONS ::= BEGIN IMPORTS OBJECT-TYPE, MODULE-IDENTITY,enterprises FROM SNMPv2-SMI TEXTUAL-CONVENTION FROM SNMPv2-TC; rasp MODULE-IDENTITY LAST-UPDATED "201804210000Z" -- 21 April 2018, midnight ORGANIZATION "net-snmp" CONTACT-INFO "postal: ABC HELLO CHECK 512310 email: net-snmp-coders@lists.sourceforge.net" DESCRIPTION "A simple mib for Raspberry PI information gathering." ::={enterprises 9100} RowStatus ::= TEXTUAL