Hi all,
Recently i had installed the UBUNTU flavour of the Linux operating system.I had opened a terminal and just wrote a sample C programm to check if it is compiling.When i saved the sample file and compiled with cc a.c ,errors comes that the standard library is not loaded(i.e stdio.h>.When i went to help pages,it says that the...
My question is very basic, as is my knowledge right now.
I'm a long-time Linux user, but have only recently taken a major interest in programming. I see that many popular applications in the Ubuntu repositories have -dev packages (e.g. pidgin-dev in addition to pidgin). My question is this:
What is in these packages? How does download...
Hi
I am running my rails application using the following
$script/server -d webrick
on my Ubuntu system , above command run the webrick server in background . I could kill the process using kill command
$kill pid
Does rails provide any command to stop the background running daemon server ?
like the one provided by rail...
I'm getting started preparing an installation script for a software package onto an Ubuntu server. I would like to write a script as a .deb package that is aware of dependencies that must be installed beforehand (a database, web server, etc.).
Can you recommend any tutorials/resources to help a newbie developer get started writing d...
On login to Ubuntu, I start an Emacs (version 23) daemon using Ubuntu's Startup programs. I then start Emacs clients whenever I need to edit something. When I logoff from Ubuntu, it says Emacs is still running, of course. I need to attach a script somewhere to tell Gnome to shutdown emacs when I logoff/shutdown.
1) What should the scri...
Hi,
When I write
gnome-terminal --tab
at the terminal, I expect it to open a new tab in the same terminal window. But it opens a new window instead.
I found out that its intention is to open a new tab in a new window, i.e., if I write
gnome-terminal --tab --tab
it will open a new window with two tabs.
So, the question is...
I'm trying to update our installer so a user can simply double-click on a file and have all the dependencies and our software installed easily. This is a suite of applications that will are deployed on a clean Ubuntu 8.04 installation. I have investigated making a .deb file, but listing the dependencies doesn't work because there is no I...
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
This is the server version.
When I ssh into it, I encounter the following problems:
Problem 1
tab completion behaves weird to the point of being unusable:
> cd ~/<press TAB>
-sh: <( compgen -d -- '/home/dmitriid/' ): No such file or d...
I am writing a simple bash script to install MySQL on Ubuntu.
#!/bin/bash
apt-get update
# Install MySQL5
aptitude -y install mysql-server mysql-client libmysqlclient15-dev
However MySQL prompts for a password and confirmation. How do I pass along a root password. Is there an echo I can use?
Thank you,
Cei
...
I'm attempting to run "sudo pbuilder create" however, when retrieving packages a different one always seems to time out and fail causing the whole process. I've skimmed the man page, and I can't find any flags to set pbuilder such that it would retry several times to retrieve a failed package. Is this possible or do I have to just keep r...
how do i install libmysqlclient.so on ubuntu
...
I keep getting Segmentation faults in the rmagick_processor.rb:52 (part of attachment_fu) while trying to run the test suite for community_engine on a fresh ruby app.
I've noticed I have both librmagick-ruby and librmagic-ruby1.8 which are both ImageMagick APIs for Ruby. Should it be just one? If so which?
...
I'm using Ubuntu on the server and I'm using Putty to access. I want to create cronjobs for my php site. How can I do this?
...
Hi,
I want to update my site every 5/10 minutes using cron. I'm connecting to my server (Ubuntu) using PuTTY. I edited the crontab file but it doesn't seem to work... What should I do?
...
Can someone please explain to me what is going on with python in ubuntu 9.04?
I'm trying to spin up virtualenv, and the --no-site-packages flag seems to do nothing with ubuntu. I installed virtualenv 1.3.3 with easy_install (which I've upgraded to setuptools 0.6c9) and everything seems to be installed to /usr/local/lib/python2.6/dist-pa...
Hello, I'm installing subversion on an Xubuntu desktop system with apache2 installed and running fine. However, I wanted to use Subversion 1.6 because of the sparse directory feature. I'm running Jaunty, but I was able to tell apt-get to download 1.6.1 by temporarily adding the software source "deb http://source archive.canonical.com/ubu...
Firefox on Ubuntu seems to render some HTML considerably differently compared to other browsers. In particular some fonts/styles on Ubuntu are becoming much larger and columns of text which rely on equal numbers of line breaks to keep them aligned are no longer aligned on Ubuntu Firefox.
I have have been given some HTML which was made i...
Hi,
I'm running a slice of ubuntu hardy.
I've installed sphinx, and I would like to run the sphinx indexer every x minutes.
What is the best way to go about doing this?
...
I've been using a linux machine for less than two weeks, so I am extremely new to Linux.
I'd also like to install the Java Developers Kit. How should this be done? Is there an apt-get command, or should I just click on the download button at Sun's website?
I'm sure there is more than one way to do this, and it probably doesn't matte...
Ubuntu plays a couple of sound files at its startup. These sound effects become annoying when one is in a meeting where such noise distracts everyone else. What is the easiest way to disable the two sound files that are played when Ubuntu boots and the user logs in? Is there a way to automatically mute the system volume at the startup?
...