Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

2
votes
1answer
2k views

Use server name instead of IP address

Installed apache 2 in my Ubuntu server and I use many web application like osc, glpi. To browse these applications I have to write @ip/glpi in browser. my purpose is to use servername instead of ip ...
2
votes
2answers
1k views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
2
votes
2answers
1k views

Adjusting Screen Size on Ubuntu Virtualbox

When running Ubuntu as a Vitualbox guest, with a Windows 7 64-bit machine as host, how can I maximize the screen so it fills up the whole monitor?
2
votes
2answers
1k views

How to execute source command from sh file

I have file called install.sh and within this file I write something to $HOME/.bashrc file and after that I must call source command. In terminal I can type source $HOME/.bashrc but I can't do this in ...
2
votes
2answers
1k views

How do I transfer installed packages and settings from one distro to another?

I've been exploring learning and about the Linux system via VirtualBox for a few month's and decided that I want to make it my main OS and install it on my hard-drive. I have a number of files, ...
2
votes
1answer
4k views

Unarchiving a downloaded tarball with Ansible

I'm trying to get WordPress downloaded and installed via Ansible and I can't seem to figure out what I'm doing wrong here. First I download via the get_url module then I attempt to use the unarchive ...
2
votes
1answer
11k views

Read-only file system error while accessing the files on Ubuntu

I have a Ubuntu machine. I am connected to it remotely and getting the following errer: mkdir: cannot create directory `/testFolder': Read-only file system LIKE WINDOWS, REBOOTING the machine ...
2
votes
3answers
431 views

Why not download KDE libraries?

I am installing an Ubuntu VM and wanted a good integrated development environment for C/C++. A simple Google search pointed me at this question that recommends Eclipse, KDevelop, and others. On the ...
2
votes
2answers
3k views

Unable to remove the files from an usb drive (neither by dd /dev/zero nor by rm -r)

I have a flash usb drive and up till now it has worked well. Recently I recorded iso to it using dd. Now I want to delete it. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ....... sdb ...
2
votes
1answer
3k views

Difference between Ubuntu and Linux Mint

Can someone please tell me the differences between Ubuntu and Linux Mint ? I thought they were almost the same thing until I downloaded Ubuntu 13.10 versions of softwares for my Linux mint 16 ...
2
votes
1answer
5k views

Can't login to Root User

I just installed Ubuntu 13.10 on VMware. I am trying to login to root from my user account using su command but unable to login as Terminal is saying the following : su: Authentication Failed
2
votes
2answers
6k views

Automount not disabling in Ubuntu 12.04 or 13.04

I'm trying to disable the automounting of any usb device. I have this working in Ubuntu 10.04, but I'm trying to do the same in either 12.04 or (ideally) 13.04 but not having any luck. Everywhere I ...
2
votes
2answers
106 views

Creating a User-less Distro

One of the popular programs I use is GParted, and it has its own custom distro, that boots straight to the desktop, and starts the program. I couldn't find any information on creating such a distro. I ...
2
votes
1answer
115 views

Partitioning. Arch vs Ubuntu manuals

I got a little confused after I had read advices on https://wiki.archlinux.org/index.php/Partitioning and on https://help.ubuntu.com/12.04/installation-guide/powerpc/directory-tree.html. Why is there ...
2
votes
1answer
2k views

SSH host key keeps changing

I am trying to set up a web service (using the Play Framework) on an Ubuntu machine on the network. However, I am experiencing intermittent failures connecting to it, not being able to connect to it ...
2
votes
4answers
486 views

Strange file ownership with Ubuntu

Normally we know when we create one file in Linux, the file's owner and group will set with the creator. For example, I have one user, usera, after I execute usera@srv1:$touch 1.txt I will find the ...
2
votes
2answers
16k views

Problem with SSH “ Write failed: Broken pipe ” [duplicate]

Possible Duplicate: What does the Broken pipe message mean in an SSH session? I run a program on server with SSH ! the program runs normaly and after a period of time i receve a message ...
2
votes
3answers
5k views

How do I set mouse double click speed in Lubuntu

I'm using Lubuntu 11.10. The only problem I have that the mouse double click speed is a bit high (it seems to me that it is around 100-200ms) and I would like it to set it to around 500ms. Is there a ...
2
votes
4answers
2k views

Change password in headless mode

I am building a script to fully automate a VPS setup, and I need to change the root password. I would like to avoid typing it as the script is running through SSH. Is there a way to redirect an ...
2
votes
3answers
896 views

Linux program running on Ubuntu machine but not on Unix webserver

I've downloaded the command-line program "Whitaker's Words" which was available for Linux as well as Windows etc. There is a main program named words. I tried to execute it on my Ubuntu (11.10) ...
2
votes
1answer
1k views

Running script before shutdown seemingly not working

I created a small script backup_files.sh and placed it in /etc/init.d: #/bin/sh logfile=/media/verbatim/log date >> $logfile rsync -av /home/philipp/Documents /media/verbatim/ >> $logfile ...
2
votes
2answers
195 views

Determining longest time taken in boot process

I'd like to find out what takes the most time in my boot process from GRUB to the Ubuntu login screen. How can I profile my boot process to find out what's taking so long?
2
votes
1answer
1k views

I don't have a /dev/dsa yet I have audio!

I was hacking around and hoping to direct some random data using pipes at /dev/dsa as follows cat random.file > /dev/dsa ...to get some random noise, but I can't manage to find an audio ...
2
votes
1answer
810 views

Upgrade from Ubuntu to Crunchbang?

Is there a way to upgrade from Ubuntu 11.04 to Crunchbang without a full installation? I'd like to keep the files on the hard-drive intact.
2
votes
1answer
2k views

Install MySQL from Bash Script

I'm coding a bash script to automate the process of deploying VPS servers but I'm having some trouble while trying to install MySQL from either aptitude/apt-get or yum, this is what I have so far: if ...
2
votes
2answers
445 views

Applications that run on Mono in Ubuntu

I think Mono, and the C# language, are a great, nay, fantastic project. My question is: how prevalent is Mono in Ubuntu? How much of a penetration is it getting, and what applications run on it?
2
votes
1answer
102 views

System call 'open' mode not working

I am writing a simple code about opening a file with O_CREAT | O_WDONLY | O_EXCL flags. The code looks like this: int fd = open(fileName, O_WRONLY | O_CREAT | O_EXCL, 0777); It works well, except ...
2
votes
3answers
9k views

How to set Ruby GEM_HOME and GEM_PATH

I'm a NOVICE user of Linux and using Linux mint 17.1 I've reinstalled Linux mint 20 time in last 3 days for that issue but could not fix it I'm trying to install ruby on rails using rvm what ...
2
votes
3answers
118 views

Are there network connections that don't use the WiFii card or the Ethernet port?

I see many connections like when I use netstat, are they all to the internet? Are there any connections to the internet or other things that aren't forthcoming? I guess what I'm asking is what does ...
2
votes
4answers
466 views

Is is safe to share /home between Ubuntu and Fedora?

I already read this thread, so please don't mark me as a duplicate of it. That asks how. I want to know how safe it is. I currently have Fedora 20 with GNOME 3.8. I've already messed up its ...
2
votes
2answers
1k views

Your system isn't configured to run KVM properly

I am trying to install OpenStack on Ubuntu 12.04.3 Desktop AMD 64 in VMware on a host Dell Inspiron15R 5521 with Windows 8 64-bit. I have followed the tutorial here but I'm getting error Your ...
2
votes
1answer
4k views

“404 Not Found” when updating the package list using apt-get

Trying to update my Apt-based Sytems (Ubuntu 8.04.2 LTS (hardy)), I am getting this error any recommendations? # apt-get update Err http://packages.cloudkick.com intrepid Release.gpg Could not ...
2
votes
1answer
586 views

Web server seems to keep serving old images, issue with Apache & VirtualBox?

I'm asking this here because I'm pretty sure it's a Linux issue. I'm running Apache server locally on Ubuntu Server 12.10, which runs inside a virtual machine (VirtualBox) on Windows 7. The "www" ...
2
votes
2answers
2k views

How to know file system of any medium like hard disk, CD/DVD, flash drive? [duplicate]

Is there any command or any way to know what file system is there on a medium like hard disk or CD/DVD or flash drive etc. From GUI gparted one can know the type on hard disks/pen drive but not of ...
2
votes
1answer
933 views

Since Ubuntu persistent USB crashed, it fails to boot with black screen pre-login, what to do?

I'm using a persistent live USB version of Ubuntu 13.04. Recently it crashed while I was using it. When I restarted I couldn't get past the Ubuntu logo with the sequentially flashing dots anymore. ...
2
votes
1answer
123 views

Why does apt-get remove only a few kB?

I installed nginx (sudo apt-get install nginx) and then removed it with sudo apt-get remove nginx. I to need ensure that the application is uninstalled and cannot run. (I'm still able to run service ...
2
votes
1answer
8k views

How to properly automatically/manually rotate log files for production Rails App

I am taking over administration for a server which has a custom made 3rd party Rails app. The app developer informed me that the ruby log files are getting large and pointed me to the following link: ...
2
votes
3answers
1k views

Fastest way to convert a large amount of FLACs to MP3s

I'm looking for something that can take advantage of my GPU or at the very least, multiple cores of my CPU to convert a few terabytes of FLAC to mp3 (VBR v0) very quickly while preserving all of the ...
2
votes
1answer
6k views

I need a step by step guide to build kernel modules in ChrUbuntu

I don't have experience building kernel modules. And worse, I'm trying to do it on ChrUbuntu, so it seems that I cannot follow the existing Ubuntu guides. For example, this command fails: # apt-get ...
2
votes
2answers
776 views

Lenovo ThinkPad E430 - 32 or 64 bit?

I just bought a Lenovo Thinkpad E430 and want to install Ubuntu in it. But I don't know whether I should install 32 bit or 64 bit. Its core i5 3rd generation and 6gb ram (2 + 4)
2
votes
1answer
172 views

How can I forcibly remove a package from Ubuntu by hand?

I posted this on ServerFault and got some helpful-looking questions, but no answer in terms of what can I do. What, on a low level, can I do to completely exorcise a package that is jamming aptitude ...
2
votes
3answers
16k views

How to print the percentage of disk use from `df -hl`

I know that df -hl outputs a list of all my partitions with its size, usage as a percentage, and space available. If I wanted to output just the size and usage as a percentage of sda2 and sda3, for ...
2
votes
2answers
773 views

Why does my laptop suspend twice/thrice?

The awesome WM doesn't suspend automatically when closing the lid, so I followed some instructions to get it working. I simply added a file /etc/acpi/local/lid.sh.post with the following contents: ...
2
votes
1answer
1k views

Installed programs not appearing at the Dash Home?

Some software that I install on my Ubuntu doesn't appear on the Dash Home menu. For example, I installed Komodo Edit (thru a .sh file). If I want to run this program, I have to go to the directory ...
2
votes
1answer
13k views

Missing 32 bit library on a 64 bit Linux install

I am trying to figure out why Eclipse is complaining about being unable to find a library. I've managed to reproduce/reduce the java problem to: $ ldd ...
2
votes
2answers
9k views

Watchdog script to keep an application running

I currently use an application called MxEasy on my linux servers to display video from a couple of IP cameras. The software is rather buggy and crashes occasionally. I've wrote a script that checks to ...
2
votes
2answers
543 views

Finding root password

I installed a Ubuntu and it only has a user. I can login to the system without login. It doesn't ask me for un/pwd. but when I am in, and I want to run some commands as root (sudo), it ask for ...
2
votes
2answers
2k views

Is my USB hard disk dead?

My USB hard disk started to make some beep type of sound and then stopped working. I have to replug the hard disk to make it work again. After some time same sound is heard and again it stops ...
2
votes
2answers
2k views

How to execute script on logging out?

I'm reading The Unix Programming Environment. There is an exercise question to print how much CPU time you have consumed when you log off by editing .profile. I tried with this trap 'times' 0 1 2 15 ...
2
votes
1answer
5k views

How can I create a unionfs-fuse mount that is readable by all?

I'd previously used aufs2 in aufs-tools with some luck, but apparently this package has been "superseded" (this is strange term to use for a package which seems to have been removed only because it no ...