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
2answers
360 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
156 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
2
votes
1answer
302 views

Creating a linux user with limited privileges for ssh tunnelling

I am following this post to create ssh tunnel to mysql. The details description of my application scenario is given in my other SOQ. I exactly followed these steps to create a user: useradd -s ...
2
votes
1answer
46 views

Load application with module load and specify a different name from the default [closed]

I am using my local workstation to run applications stored on our local cluster. To load and run an application, I normally use: module load xxx However, there is a an application on my computer ...
2
votes
1answer
2k views

How to enable two network interfaces both for internet in ubuntu12.04

My physical server A has two interfaces: eth0 and eth1. I intend to enable the two network interfaces both for internet in ubuntu12.04. I configure the /etc/network/interfaces as below: auto lo iface ...
2
votes
2answers
518 views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
2
votes
4answers
217 views

How to restart python script after one second of going down using UPSTART?

I am running my Python script using upstart feature of Ubuntu so that if for whatever reason my Python script dies or gets killed, it can be restarted automatically and everything is working fine - ...
2
votes
1answer
3k views

How to uninstall BOOST 1.49 and install BOOST 1.54 in ubuntu?

I have a boost 1.49 in my ubuntu system. And I am trying to uninstall boost 1.49 and completely remove it from my system. And after that install the Boost 1.54.0 I did like this to uninstall 1.49 ...
2
votes
1answer
314 views

How to build nginx on Ubuntu with cache_purge module?

I have been trying to rebuild nginx with cache_purge module from here. I did the following and somehow the new build doesn't seem to include the module: Installed nginx Stopped it Installed build ...
2
votes
2answers
394 views

Do I need a special firewall on a personal computer

I am relatively new to Linux and was wondering about security issues. Most people agree that a virus-scanner is not useful on a linux system, but what about a firewall? I am using Debian wheezy stable ...
2
votes
2answers
5k views

Proper way of changing username in Ubuntu or any linux

I am using Ubuntu 12.04 and made some customization. I will also make it a new iso which is customized ubuntu. What I want to ask is how can I change my username. There are plenty much configuration ...
2
votes
1answer
360 views

Restrictions of /etc/profile in Gnome

I have an issue which bugs me for a long time. I'm using the Intel C++ compiler which includes shell scripts to set up environment variables for library paths, include paths and more. Sourcing these ...
2
votes
2answers
491 views

Ubuntu with Gnome and Openbox

I've in my laptop Ubuntu 12.04.03 which comes by default with Unity. I like Unity, and Gnome. It has a nice look, some nice apps, things frequently works nice. However I would prefer to use Openbox. ...
2
votes
1answer
330 views

Can't sudo after lock password, can I recover from that?

After setup ubuntu with default settings, It allows user to login with password, so I use passwd -l [username] to forbid password login both in ssh and console. But when I use sudo to execute ...
2
votes
2answers
3k views

How to download latest version of cmake?

I have installed cmake like this - sudo apt-get install cmake But whenever I try to compile my c++ code.. I always get the below error - CMake Error at CMakeLists.txt:2 (cmake_minimum_required): ...
2
votes
1answer
150 views

Mark packets between machines (client and router)?

Can I mark a packet on the client's OUTPUT chain and add an iproute policy on the router to route them via a specific gateway? This what I tried to do, but it isn't working. My client's mangle table ...
2
votes
1answer
78 views

How to schedule initial configuration of a system after cloning?

I want to setup a big amount of servers using cloning. After the initial image was applied, I want to run a configuration script. The cloning will be done through hard disk replication by the hardware ...
2
votes
1answer
651 views

Ubuntu 12.10 - setup a user, when ssh login gives me /etc/bash.bashrc: Permission denied

I setup a user on my Ubuntu 12.10 server named "deploy" and I believe i added the user to the sudoers properly. However, whenever I SSH into the server with this user, I get: -bash: ...
2
votes
1answer
72 views

Why gnustep-config outputs nothing for any parameter?

Regardless of what I run: gnustep-config --debug-flags gnustep-config --objc-flags gnustep-config --base-libs It outputs nothing. How would I debug this? PS: the OS details: Ubuntu 12.04.2 LTS, ...
2
votes
1answer
1k views

Environment variable for ip address

I see somewhere people use: IF_ADDRESS="$(echo "$IP4_ADDRESS_0" | cut -d'/' -f1)" to get the IP address in a network configuration script. In my system, I create a script under the directory ...
2
votes
1answer
98 views

How to install Ubuntu on a system where is already Mint and Windows 7?

I have already installed Linux Mint on Windows 7 so now I have dual boot with Linux Mint and Windows 7. They are both on diferent partitions. I have 1 free partition left. The question is how to ...
2
votes
5answers
4k views

pgModeler installation - Dependencies error

I'm trying to install the pgModeler. But I'm getting stuck. I have pgModeler at /opt/pgmodeler-0.5.2/ I have all the dependencies: Qt 5.0, Pg and the others. When I run the pgmodeler with ...
2
votes
1answer
332 views

tun0 enabling after installing openvpn

I just installed openvpn but can't see tun0 when I do ifconfig. when I ssh to a remote server, I get the error: debug1: Authentications that can continue: publickey,password How can I enable it? ...
2
votes
1answer
3k views

Extremely long time for an ext4 fsck

The problem that I am having is the extremely long time that fsck is taking. I have thoroughly made searches on Google, but I could not find anything that would resolve the problem. The command that ...
2
votes
1answer
75 views

How can I be notified about state changes to a VPN adapter

On Ubuntu 12.04 - actually Kubuntu, but I am using NetworkManager, so the configuration should be the same - I have configured a few VPN connections. Now, if I have a long-running up- or download, ...
2
votes
1answer
411 views

How to set-up a online SVN server on my laptop

I had created a local SVN server on my laptop running Ubuntu 12.04 and its working perfectly fine. Now I want to make my laptop as server for some valid users who can access my SVN server though ...
2
votes
2answers
211 views

Can't install anything

I'm not able to install, update or do anything else with apt-get, aptitude, dpkg and so on. The lock-file /var/lib/dpkg/lock exists from boot-time on. When I delete it and run apt-get update, it ...
2
votes
1answer
301 views

Forgot encfs password

I followed the guide here: http://www.webupd8.org/2011/06/encrypt-your-private-dropbox-data-with.html to get dropbox encfs working on my first computer. I disabled the syncing of the encryption key. ...
2
votes
3answers
5k views

Installation problem with python-software-properties

I need to install the last version of node.js but my system has in repository older version. I need to add new ppa source. I followed this tutorial Question - when I install ...
2
votes
1answer
3k views

How to get past “Loading Initial Ramdisk” hang after going from x86_64 to i686 cpu

Long story short, I have a Ubuntu 12.04 64-Bit Server setup as a virtual machine with VirtualBox (4.1.18). I migrated the guest machine from an AMD chipset (a gaming machine) to an Intel Xeon (server ...
2
votes
1answer
376 views

Low PPPoE speed in Linux (Ubuntu)

We have 2 PC with Ubuntu 12.04 and connect with 1000M/bit cable. We then start iperf on both PCs and get 900m/bit speed using the iftop tool. However, when we setup PPPoE server on the 1st PC, and ...
2
votes
1answer
189 views

Creating a terminal application from a shell script

I have a shell script. I want to convert the shell script to an application for Ubuntu which can be installed using (sudo apt-get install) command and after installing, the application can run from ...
2
votes
2answers
200 views

Install the same 64-bit packages as a 32-bit Xubuntu installation

I have been using a virtual machine (Xubuntu 12.10, with VMWare on a windows host) for all my programming work, which I am trying to transition from a 32-bit install to a 64-bit install. I am hoping ...
2
votes
2answers
488 views

cgroups: blkio.weight doesn't seem to have the expected effect

I've got 2 LXC containers with these cgroup settings: lxc.cgroup.blkio.weight = 200 lxc.cgroup.cpu.shares = 200 and lxc.cgroup.blkio.weight = 800 lxc.cgroup.cpu.shares = 800 I have verified in ...
2
votes
1answer
182 views

What can cause a .sh file to not launch through this type of install?

I am using an Ubuntu 12.10/Gnome3 and was setting up PhpStorm using this tutorial http://devnet.jetbrains.com/thread/439389 The process involved copy/pasting the files into usr/local/PhpStorm-** (with ...
2
votes
2answers
2k views

Guest OS Ubuntu 12.04 no network connection

Recently added a new *.VDI image with Ubuntu 12.04 to my existing VirtualBox. The machine hangs with a "Waiting for network configuration" error, eventually times out after 60 seconds and boots in ...
2
votes
1answer
790 views

GParted messed up my partitions

Update: running testdisk I can actually see all of my files in /dev/sda1! I wanted to install Windows alongside my Debian installation in order to play some games. In order to do that, I had to boot ...
2
votes
3answers
372 views

How to create partition in ubuntu server 12.10

I'm trying to create partition during Ubuntu Server installation(12.10).Now I have a 500GB hard disk where I need to create a partition of 200GB for root file system and another 20GB for swap space ...
2
votes
1answer
3k views

How to execute a shellscript when I plug-in a USB-device

I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive. I have seen a lot of articles on this, most recently ...
2
votes
1answer
222 views

Wireless on my Dell Latitude E5320 doesn't work on Ubuntu but works on Linux Mint. What can I do to make it work?

I have dualboot Ubuntu 12.10 & Linux Mint 14, both are clean install & updated with the latest. My wireless works flawlessly on Linux Mint but it's very unreliable on Ubuntu: every 15~20 ...
2
votes
1answer
318 views

Unison can't synchronize Dropbox configuration (socket files)

I'm using Unison to synchronize my home across several computers, and I've addressed everything but this. The Dropbox configuration is partially skipped, and as a result Dropbox thinks there is no ...
2
votes
1answer
197 views

How can I remaster a text-based linux distro?

So I have a Ubuntu minimal install, it is exactly the way I want it when I want to have a fresh install, with the included settings, packages, etc. It has no desktop, it is completely CLI. What is ...
2
votes
1answer
440 views

Recommendation of books to setup and admin a web server in Linux [closed]

Hi I am quite a newbie on Linux, I knew basic concept and some commands of it. And now I am going to setup and admin a web server in Ubuntu Linux distribution. I installed it by default setting, and ...
2
votes
1answer
206 views

write pc uptime in a file in shutdown

I need to log PC uptime. How I can do this? I use uptime for this and I will when ubuntu is shutdown write this command output in a file.
2
votes
2answers
110 views

Are any files loaded when a terminal session terminates?

I know that .profile / .bash_profile are loaded when a terminal session is started, either through local machine or SSH. Are there any files that are loaded/called when the session terminates? ...
2
votes
1answer
535 views

Chromakey -video-editing in Unix?

My friends are recommending me to use OSx for video-editing but trying to use old good OSs such as Debian and Ubuntu. How can I do chromakey -video-editing in some Unix or Linux?
2
votes
1answer
2k views

unable to connect ftp in pasive mode

I'm try to connect to ftp which I've just configured but using FileZilla, I'm getting the following logs Status: Connecting to x.x.x.x:21... Status: Connection established, waiting for welcome ...
2
votes
1answer
429 views

Specific directory permission for one user using sftp

My web server structure looks like this: /Home/User/Public_Html/Website_one /Website_two /Website_three/Directory_one ...
2
votes
1answer
405 views

Problem with java3d

I want to play this java simulation: http://www.compadre.org/OSP/items/detail.cfm?ID=9640 in java 3d mode on a linux (ubuntu) system. But it doesn't work. If I switch to java 3d-mode it complains ...
2
votes
2answers
3k views

Minecraft server daily restart script

I've been searching to try to find the information I need, but I have so far been unsuccessful. What I would like to have happen daily is the following: Every time the machine starts, the Minecraft ...