ubuntu-10.04

ScriptAlias configuration not working in apache2

╄→гoц情女王★ 提交于 2019-12-23 16:30:04
问题 I installed apache2 on ubuntu. I added the following to /etc/apache2/httpd.conf file ScriptAlias /cgi-bin/ "/home/PROJECT/cgi-bin/" I am able to open the cgi file if i copy the cgi file to /usr/lib/cgi-bin/hello.cgi [DocumentRoot directory] and access the URL http://localhost/cgi-bin/hello.cgi , but i get cannot access the file if i put it in /home/PROJECT/cgi-bin/hello.cgi even though ScriptAlias is set and apache2 restarted. Any thing that i am missing here ? 回答1: I had the same problem.

Enabling the VT-x inside a virtual machine

瘦欲@ 提交于 2019-12-23 01:35:25
问题 I work in Ubuntu from Oracle Virtual Machine which is installed on top of Windows. I have activated the VT-x feature in the host BIOS. After this I created a new virtual machine with VT-x and EPT enabled. Now I run $ egrep '(vmx|svm)' /proc/cpuinfo from the guest to check if the vmx feature is enabled and the answer is 0, i.e. not enabled. How can I enable this feature on the guest VM? 回答1: You can't enable VT-x inside Virtualbox. There's a ticket for it that hasn't been fixed yet [Edit by

rubygems 1.3.7 TypeError (in 'merge') during installation on Ubuntu

跟風遠走 提交于 2019-12-22 08:03:40
问题 While installing ruby-1.9.2-p0 with rvm on an updated Ubunutu x86_64, I keep getting an error in `merge': can't convert String into Hash (TypeError). All apt packages in rvm notes and those found in the rubygems manual have been installed. I believe the error is resulting when RVM is attempting to install rubygems. I also get the same error installing ruby gems with the system ruby. I think this is a dependency problem. I have compiled on Ubuntu before on both i386 and x86_64 before and never

assertionerror with python3 and virtualenv

十年热恋 提交于 2019-12-21 21:39:43
问题 In ubuntu lucid,I have python2.6 by default.I wanted to install python 3.3.1 . I extracted from Python-3.3.1.tar.bz2 into my home folder sothat /home/me/Python-3.3.1 contains all the files.Then as per the Readme I did ./configure make make test sudo make install This created an executable named python in /home/me/Python-3.3.1 folder. Also, nowI have several python3* files in the /usr/local/bin directory. Among them , python3 is a link to executable, python3.3 is an executable, python3.3m is

Can I incorporate system libraries (e.g. libxml2) I compile against into a gem (e.g. nokogiri) that I can deploy to Heroku?

倾然丶 夕夏残阳落幕 提交于 2019-12-21 12:12:28
问题 Nokogiri has a problem with translating to and from UTF-8 characters that turns out to come from libxml2, specifically version 2.7.6, which is the highest supported version on Ubuntu 10.04 LTS. The bug is fixed in version 2.7.7 and up, but since our app is hosted on Heroku (bamboo-ree-1.8.7 stack, based on Ubuntu 10.04), we have to use version 2.7.6, and continue to experience the bug, unless: Someone can/has hacked nokogiri to get around the problem Canonical bumps the supported libxml2

Mount shared folder (vbox) as another user [closed]

吃可爱长大的小学妹 提交于 2019-12-21 04:09:16
问题 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 6 years ago . I'm sorry to ask this in here, but I tried serverfault and didn't get any answer for 4 days. The related question there: https://serverfault.com/questions/394197/mount-shared-folder-vbox-as-another-user Question: I'm trying to mount my vbox shared folder every time my ubuntu (10.04) starts. So, I added an entry

error: 'SDL init failure, reason is: No available video device' when launching AVD

自古美人都是妖i 提交于 2019-12-21 02:22:06
问题 Hey guys, this is killing me. Every time I try to run my Android app in Eclipse, I'm getting the error: [2011-05-24 23:11:04 - app] Android Launch! [2011-05-24 23:11:04 - app] adb is running normally. [2011-05-24 23:11:04 - app] Performing droid.blah.app activity launch [2011-05-24 23:11:04 - app] Automatic Target Mode: launching new emulator with compatible AVD 'default' [2011-05-24 23:11:04 - app] Launching a new emulator with Virtual Device 'default' [2011-05-24 23:11:04 - Emulator] SDL

Getting remove_entry_secure error while using ruby application

女生的网名这么多〃 提交于 2019-12-21 01:17:35
问题 I am trying to split PDF files into images using docsplit. But it appears I have issues with my ruby installation. I keep getting the following error every time: /usr/lib/ruby/1.8/fileutils.rb:694:in `remove_entry_secure': parent directory is world writable Here is the full command line output: $ docsplit images pdf-test.pdf /usr/lib/ruby/1.8/fileutils.rb:694:in `remove_entry_secure': parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "/tmp/d20130207-6739

Rails, rake does not work

时光毁灭记忆、已成空白 提交于 2019-12-20 10:38:02
问题 I've been trying to use Rails and when I use rake, I get this error. Any suggestions on which run time should I use? ngzhongqin@ngzhongqin-linux:~/RailsProjects/webuiltit$ rake db:create:all --trace rake aborted! Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. /home/ngzhongqin/.rvm/gems/ruby-1.9.2-p290/gems/execjs-1.2.4/lib/execjs/runtimes.rb:45:in `autodetect' /home/ngzhongqin/.rvm/gems/ruby-1.9.2-p290/gems/execjs-1.2.4/lib

Pointing a domain to my remote Node JS application?

自作多情 提交于 2019-12-20 08:46:10
问题 I'm trying to work out how exactly to deploy Node JS on my Ubuntu 10.04 LTS server. I've read many different blogs and articles that explain multiple different ways. Most seem out of date, or don't really work it seems. It seems that the simplest solution is to use something like Forever? ...or Upstart with Monit or Supervisor. Is that correct? One thing that I still don't understand though is without using something like Ngnix, how would I actually get my domain name (such as example.com) to