Tag Info

Hot answers tagged

11

Basically I would use the latest LTS release for a server, as of writing that would be 10.04 (Lucid Lynx). The reason is quite simple! On a server you properly want to use a system that doesn't need to be upgraded in a few months. There is no reason to use Hardy Heron for a new server, it is currently two years old and will be abandoned in a year. Ubuntu ...


10

Make sure you are actually using bash. A common gotcha is creating a new user with useradd instead of adduser or the Users and groups (GUI) application. With the former, the default shell set is /bin/sh. Run chsh (change shell) to make sure it's set to /bin/bash.


7

I have tested this myself on a VM. And as Andrew said, this was heavily tested before the release.


6

Hardy 8.04 and Lucid 10.04 are both Long-Term Support (LTS) releases and will be supported for quite a while. Both are getting updates and security fixes until 2013 and 2015 respectively. Contrary to answer by Source Lab, LTS server editions are maintained for 5 years. Hardy has python 2.5 as default whereas lucid has 2.6 as default. If not all of your ...


6

Make sure that your history is enabled. You can check the current status by running: set -o The output should contain (note the history on line): histexpand on history on ignoreeof off If this is not enabled, you need to run set -o history. To make this change persistent, you need to append it to ~/.bashrc: set -o history If you ...


6

The output of uname -r only shows the version up to the "ABI" number, but there can be revisions of the ABI. Only when the ABI changes do third-party modules need to be recompiled. For more details about what you're running, read the file /proc/version_signature: cat /proc/version_signature Ubuntu 2.6.24-28.80-generic This will show the kernel package ...


5

Unfortunately, no; you've locked yourself out. SSH won't let you log in if the shell is missing. Here's what the attempt looks like in /var/log/auth.log: Dec 23 15:04:59 ubuntu sshd[5585]: User kees not allowed because shell /bin/fish does not exist And on-console TTY login will always attempt to launch your configured shell. Without another user with ...


5

Yes, I upgraded a production system, and worked fine.


5

Based on the stack trace at http://silenzio.dk/pi/dhc.strace the first SIOCSIFADDR: Permission denied error occurs at line 735, during execution of process 26092: ifconfig eth2 inet 0 up. Now only root can ifconfig something up, so let's trace the chain of fork()/exec() and look for UID changes. It turns out that: process 26092 is a child of 26090 (line ...


5

This is not recommended, probably won't work, and can break your 12.04 system! You can try installing individual Hardy application debs, but there's a good chance they won't work because of dependency (library) problems; if you try to install those Hardy libraries, you will probably break your Precise system. Adding the Hardy repositories to Precise is a ...


4

This sudo apt-get remove alacarte app-install-data-commercial apport-gtk apturl at-spi binfmt-support bluez-gnome brasero brltty-x11 capplets-data cli-common compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins compizconfig-backend-gconf contact-lookup-applet dcraw deskbar-applet desktop-file-utils ...


4

You can download an Ubuntu alternate iso then mount it. Go to the mounted iso directory and run the install script.


4

Does your internet connection work (for example with the web browser)? Ubuntu 8.04 is an LTS release so you can directly upgrade to 10.04. Start Software Sources, go to the "Updates" tab and under the "Release upgrade" section choose the "Long term support releases only". Then reload the package information, and try to upgrade again with the Update Manager. ...


4

Ubuntu 8.04 included an older version of Upstart, which stored its scripts under /etc/event.d rather than /etc/init like current versions do. While upgrading Upstart would make it look in the new location, I would strongly recommend against doing that unless you are upgrading the entire system (e.g. to the current LTS release: 10.04). Other packages ...


3

It is likely that you will be building Python 2.6 from source one way or another. I found a guide located at http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html which seems as though it would benefit you.


3

There is a PPA from "Subversion Team", so it should be safe. If you cannot use add-apt-repository you can add the corresponding repository manually in /etc/apt/sources.list file: deb http://ppa.launchpad.net/svn/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/svn/ppa/ubuntu hardy main and importing the corresponding key sudo apt-key adv ...


3

Disclaimer: I deploy Django sites on "current" releases, not LTS. I'm sure I don't do everything perfectly but here's my opinion on the matter. There's a lot of faith in LTS releases but the rules/benefits don't quite apply to Python stacks. I say this because keeping your python stack bound to a repository with its own updates can mean disaster when it ...


3

The school will have a fully resolved domain name of the nature “school.edu” and machines on that network will be resolved by the school DNS Server to be “server.school.edu”. This DNS Server will also, probably in cooperation with a DCHP server, allocate the machine an IP address. For your machine to take part in this the school IT support department needs ...


3

The answer lies in the cron sources (which you can get by apt-get source cron), particularly in the main loop at lines 159--272 of file cron.c. crond sleeps for a minute, then wakes up and queries the system time, comparing it to its own idea of time (i.e., what time it would be if nothing altered the clock). Based on the difference between the actual and ...


3

Do you have initctl? stop (et al) are just symlinks on it. oli@bert:~$ /sbin/initctl --help Usage: initctl [OPTION]... COMMAND [OPTION]... [ARG]... Options: --system use D-Bus system bus to connect to init daemon --dest=NAME destination well-known name on system bus -q, --quiet reduce output to ...


3

To Mount a Drive Check the file system using to see the filesystem informations , sudo tune2fs -l /dev/sda5 Then change the journal Using sudo tune2fs -j /dev/sda6 First Create a Directory inside home mkdir -p /home/datadosen Then Mount Using sudo mount /dev/sdb5 /home/datadosen Never Use 777 permission, It's a Security breach, Any one can ...


2

You first need to decide whether having a stable platform that you wont need to update for a long time is more important to you or having the latest features. If you decide on Long term stability you will want the latest LTS release; which at the time of writing is 12.04. If you want the latest features its currently 13.04. As 8.04 is really old and no ...


2

OK, after some snooping I think that I found the answer (a hidden directory): $HOME/.gnome2/panel2.d/default/launchers Update: The above path was only half of the answer. Thanks to @DoR's reply here, it seems that panel launchers also need to register at: $HOME/.gconf/apps/panel/objects/


2

The Launchers are registered in subfolders of /apps/panel/objects in the GConf settings database. So to backup all your panel launchers (in addition to copying $HOME/.gnome2/panel2.d/default/launchers) you will also need to copy $HOME/.gconf/apps/panel/objects/.


2

While I haven't, that is one thing that gets heavily tested in LTS releases prior to their release.


2

Install an LTS version of Ubuntu Server (current LTS is 10.04) and install it. That will give you a base on which you can install various server software, for example: sudo tasksel install mail-server to install a mail server ready-to-use stack You can list all tasks using sudo tasksel --list-tasks


2

I upgraded a production system from 8.04 to 10.04. I had to switch from gdm to kdm because gdm would not find any users to log in (but one could log in through a VT.) I've filed the bug in Launchpad but it was never even triaged, not even with a request for more info! At least it saved me from having to reinstall the box. Otherwise no hiccups. I removed ...


2

Done on a VM, using the desktop edition. Seen no issue.


2

I had some issues on Desktop Edition once, something about the packages I had installed made the upgrade process go a little funky, and it kinda screwed up my python (had to manually find and compile module dependencies, and then I ended up having to reinstall later anyway to rid myself of wubi, and everything went fine there). On a clean install, or a ...


2

Is you connection slow only on firefox while browsing? Reason might be ipv6 lookup's witch first needs to fail before it trys to find ipv4 ones. If that is case type about:config in firefox browser bar and set network.dns.disableIPv6 to true. And restart browser.



Only top voted, non community-wiki answers of a minimum length are eligible