ubuntu-11.10

How to install Django in Ubuntu 11.10

一笑奈何 提交于 2019-12-30 10:59:10
问题 I am very new to Ubuntu OS and Python as well. I want to install Django. But i dont have easy_install and I tried below command to install pip sudo apt-get install python-pip I got an error as below Unable to locate package python-pip I tried below command as well sudo apt-get install python-pip and i got error as below E: Package 'python-setuptools' has no installation candidate I am very confused in installing django, How to successfully install django 回答1: First update repositories sudo

how to setup connection between PC and android devices through wifi

Deadly 提交于 2019-12-24 10:35:38
问题 i am developing android application which runs in my pc and connects to different android devices through wify and communicate with them,how i setup wifi connection for this purpose,is it possible to connect more devices to my pc through wifi,I need to setup connection in ubutu11.10 or windows 7 回答1: Your question is vague and open to a lot of potentially "correct" answers. First of all, the whole wifi v.s. internet part is irrelevant, you just want to communicate from your Android devices to

How to reinstall ruby with readline support?

本小妞迷上赌 提交于 2019-12-23 11:14:49
问题 I have installed Ruby through RVM as instructions on https://github.com/wayneeseguin/rvm#installation. For information I have all the archives ( readline-5.2.tar.gz, readline-6.2.tar.gz, ruby-1.9.3-p327.tar.bz2, rubygems-1.8.24.tgz, wayneeseguin-rvm-stable.tgz and yaml-0.1.4.tar.gz ) in ~/.rvm/archives directory and I don't want to re-download them in any way. When I do: sudo /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl

How to reinstall ruby with readline support?

一曲冷凌霜 提交于 2019-12-23 11:14:12
问题 I have installed Ruby through RVM as instructions on https://github.com/wayneeseguin/rvm#installation. For information I have all the archives ( readline-5.2.tar.gz, readline-6.2.tar.gz, ruby-1.9.3-p327.tar.bz2, rubygems-1.8.24.tgz, wayneeseguin-rvm-stable.tgz and yaml-0.1.4.tar.gz ) in ~/.rvm/archives directory and I don't want to re-download them in any way. When I do: sudo /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl

Android- Error during executing Runtime.getRuntime().exec() - Environment Null -ffmpeg

 ̄綄美尐妖づ 提交于 2019-12-21 21:38:25
问题 I have compiled ffmpeg library on ubuntu 11.10 and ported compiled files on android. After compiling i got libffmpeg.so successfully. It gets loaded on android successfully. I am doing it on ubuntu 11.10 eclipse android emulator. I have created a small test application which act as command prompt which accepts command from user and displays result. (testing ffmpeg commands) When i run simple commands like "ls", "ls -l" it works perfectly. but when i simply type " cd mnt " or " ffmpeg " as

JDBC Hibernate - Mysql Connection Error

我的未来我决定 提交于 2019-12-21 19:59:31
问题 I have a local mysql server on my Ubuntu 11.10 desktop. The hostname = localhost; username = root; password = root; database name = CBS. I am really confused because when I access mysql using terminal , mysql administrator , and mysql query browser I use those authentication I mentioned above and everything is OK. My problem is when I configure my jdbc.properties in my Java App I'm getting this error: org.springframework.web.util.NestedServletException: Request processing failed; nested

How can I restore /etc/nginx? [closed]

时光总嘲笑我的痴心妄想 提交于 2019-12-20 07:58:28
问题 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 4 years ago . By mistake I have removed /etc/nginx directory in my ubuntu 11.10 PC. How can I restore the ngnix directory in /etc/nginx ? I did these commands: sudo su rm -rf /etc/nginx I want to get again /etc/nginx directory. how? I tried this to re-install nginx: sudo apt-get update sudo apt-get upgrade sudo apt-get

Ubuntu - Run command on start-up with “sudo”

六眼飞鱼酱① 提交于 2019-12-17 17:28:33
问题 I would like to run a sudo command when Ubuntu starts up (before anyone logs in): sudo searchd How would I do this? 回答1: You can add the command in the /etc/rc.local script that is executed at the end of startup. Write the command before exit 0 . Anything written after exit 0 will never be executed. 回答2: Edit the tty configuration in /etc/init/tty*.conf with a shellscript as a parameter : (...) exec /sbin/getty -n -l theInputScript.sh -8 38400 tty1 (...) This is assuming that we're editing

Ubuntu and undefined symbol for SSLv2_method

家住魔仙堡 提交于 2019-12-17 07:42:13
问题 Is Canonical renaming symbols in their package version of openssl, and if so for what purpose? When I compile openssl-1.0.0e.tar.gz (downloaded from openssl.org directly) from scratch I see the necessary symbol, but Python (and I) can't seem to find it in the packaged version. Read on for more information about how I diagnosed this problem... I am trying to compile Python 2.6.1 on Ubuntu 11.10, and get the error message above. The reason I am using this older Python is that I am trying to

Installing IDEA on Ubuntu 11.10

女生的网名这么多〃 提交于 2019-12-17 02:21:01
问题 I am trying to install IDEA on Ubuntu 11.10. First, I installed openjdk-7-jdk . Then I tried running the idea.sh file as instructed. However it complains: ERROR: cannot start IntelliJ IDEA. No JDK found to run IDEA. Please validate either IDEA_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. Press Enter to continue. Trying to echo these three variables prints an empty line to the screen. How (and to what values) do I set these variables and proceed with the