ubuntu

oci8 on Ubuntu error

I have already installed oracle xe 10g, apache, php in ubuntu by following the ebook Underground Oracle-PHP-manual. But when i run some file connection oracle-PHP using oci_connect() show error : Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORAC...

Create a xubuntu remotely through an ssh session instead of an xfce4 session

I'm attempting to startup a xubuntu session remotely though 'ssh -X' and I'm able to execute startxfce4 to bring up the standard xfce4 session but when I log in locally there is a 'Xubuntu session' choice which looks different then xfce4. What is the correct command line statement to bring up the full xubuntu display? ...

Java GUIs for Netbooks

I recently ran a Java application implementing JDesktopPane on a Netbook running Ubuntu Netbook Remix and noticed several things that didn't look quite like they should have. Are there any good tutorials/guides on optimising/writing Java applications for Ubuntu Netbook Remix to take full advantage of the OS? ...

Can't compile C++ in Ubuntu using GCC -- Include/Library Problems (collect2: ld returned 1 exit status)

I guess I'm not linking something right? I want to call ABC.cpp which needs XYZ.h and XYZ.cpp. All are in my current directory and I've tried #include <XYZ.h> as well as#include "XYZ.h". Running $ g++ -I. -l. ABC.cpp at the Ubuntu 10 Terminal gives me: `/tmp/ccCneYzI.o: In function `ABC(double, double, unsigned long)': ABC.cpp:(.text...

Hosting my own website

I know that I can use ubuntu server to host a website, but what I was wondering if it is possible to host a website on the regular version of ubuntu and not the server edition? ...

Unable to get the mounted files in .gvfs

I am using ubuntu and I used to mount the remote machine directory using the menu 'Places -> Connect to Server' . And I will use SSH as service type. Usually the mounted files will available in the ~/.gvfs directory.But now I could get the files in the GUI but I could not get the files in the ~/.gvfs directory . ...

How do i have a cron run and check which crons are currently running

I have an ubuntu server that i have some scripts that need to run on a cron. The first is a shells script and the second is a php script. How do I check to see what is running currently on cron and how do I add these two files to run on cron daily or hourly. Not sure what the client needs yet. Is there a file i need to change. Any help w...

Team Password/Login Manager

I have been doing some searching around trying to find some software, preferably for ubuntu, that can provide a secure store for the various logins and passwords that our team has for our servers and services. I have found a lot of personal password managers, but I am looking more for something that members of our team can log into, usi...

Ruby-mysql gem suddenly broken with uninitialized constant error message

I've been working on a ruby module that interacts with mysql on my server. I need to fetch and write data to the database, and it's been working fine for a while now. However, today I created a new file trying to access the database and it wouldn't run. When I tried to execute it (with command: ruby mysql.rb), I received the following er...

svnserve and SASL problem

Hi all, I have configured svn server in my system and have made following configuration for authenticating users with SASL MD5. I have made following changes in the svnserve.conf [general] anon-access = none auth-access = write password-db = passwd authz-db = authz realm = my_first_repository [SASL] use-sasl = true min-encryp...

Good WYSIWYG web editor (php, CSS, HTML, Javascript) for Ubuntu?

Hey guys, I'm looking for suggestions as to what good easy to use web editors? It needs to edit php,javascript,html,CSS. I'm looking for something that'll speed up my development currently I'm using nano. ...

Why isn't SVN Checkout an option for me when I'm creating a new project in Eclipse?

I recently just installed Eclipse onto a Ubuntu 10.04 machine. Now, I'm reading "Getting Started" instructions for a project I want to contribute with and they state the following: Using Eclipse Galileo for Java part: File -> New -> Other SVN -> Checkout projects from SVN Create a new repository location http://marioai.googlecode....

Multiple HostNames and Multiple Privileges?

Hi all, I want to map 127.0.0.1 to multiple names instead of the standard way as localhost. so my /etc/hosts file in ubuntu would have the following entries 127.0.0.1 localhost 127.0.0.1 localhost:extra1 127.0.0.1 localhost:extra2 Now, In my sql, i want to have a user named karthick and it should have different privile...

Vim Editor open always users home directory

I installed Nerd_tree plugin for vim on ubuntu 10.04. It is great plugin. But I met the following problems: after open nerd_tree to browse the files in /etc/apache2/sites-available/, now I close it, and go on with my work. Later I want open nerd_tree again to edit another file in /etc/apache, but nerd_tree shows me always the user home...

Generic Mapping Tool

Hey! I'm planning to use Ubuntu, GMT and QT creator to generate 2D & 3D plots from text files. Can you help me in creating the same? ...

Uninstall python built from source?

I've installed python 2.6 from source, and somehow later mistakenly installed another python 2.6 from a package manager too. I can't find a way to uninstall a python that was built from source, is this possible/easy? Running ubuntu 10.04 Thanks. ...

Installing gcc 4.4.3 on Ubuntu 9.04

Hey, I have Ubuntu 9.04 and need to install gcc 4.4.3. Does anyone know how would I do that? I can't do it with any other versions except maybe gcc 4.4.x. Currently ubuntu 9.04 has only 4.3.3 available but that is not sufficient for me. Thank you in advance! ...

Packages, Ubuntu counterparts of Gentoo's useful commands

Trying to learn how to work with packages in Ubuntu (and have Gentoo experience). This command is already known: (1) sudo apt-get install pkgname Looking for counterparts of these: (2) emerge -s pkgname (3) equery files pkgname (4) equery belongs filename (5) cat /var/lib/portage world Which useful (console) package commands do yo...

SSH Scp - can't specify local path where to copy files from server

Hi, i'm trying to download .zip file from bluehost server to my computer. Like this - scp username@domainname:/pathof/file.zip /home/Public/username/ I found out, when writing local address (where i want to put file) still refers to server address (pressing tab). What am i doing wrong ? ...

What do i need to do to make ruby-debug19 run on ubuntu 10.04 with the ruby-full package from the repository?

Hi, i just installed the latest ubuntu version and the ruby-full package from the repository. Additionally i installed rubygems (1.3.7) and tried to do gem1.9.1 install ruby-debug1.9 as mentioned on http://wiki.github.com/mark-moseley/ruby-debug/installation-command-line-version but whatever i do i can't install the gem. Installation ter...