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)

0
votes
0answers
22 views

Are SMART diagnosis tools giving correct output?

My problem is the following: In November, the hard-disk analyser tool of Ubuntu 14.04 (Disks) showed some bad sectors. As this disk was very old, I replaced it by a Western Digital WD1600BEKT. Now, I ...
0
votes
0answers
189 views

vpn l2tp connection on ubuntu 14.10

I am using Ubuntu 14.10 and I need to create a VPN L2TP connection. I installed strongswan, as suggested by this answer, but now I don't understand how to configure the connection. The connection ...
0
votes
0answers
26 views

Creating a Ubuntu disk-less image with Vagrant

I'm trying to set up Ubuntu diskless servers and clients. In the section "Creating your NFS installation" whereby we have to copy client OS files to server. mount -t nfs -onolock ...
1
vote
0answers
29 views

How to set environment variable for BACI compiler and interpreter?

I have installed executable files for BACI compiler and interpreter in my Ubuntu system. But now every time I have to compile my .cm file I have to go to the program folder and run ./bacc and ...
0
votes
0answers
76 views

install just goes to a blank or black screen

ViciBox is built with OpenSuSE v.13.1 64-bit, while the current version looks to be 13.2, not 13.1. This is the only reason I can find to explain why this distro fails to install onto this particular ...
0
votes
2answers
79 views

Can't boot into installer of Mint or Ubuntu

I'm currently running Windows Vista. I've tried installing both Mint and Ubuntu by both the DVD-R and USB drive methods. When I reboot, I can hit F12 to open the typical installation menu, but any ...
9
votes
4answers
602 views

Use #!/bin/sh or #!/bin/bash for Ubuntu-OSX compatibility and ease of use & POSIX

I know that I can use either as the first line of scripts to invoke the desired shell. Would #!/bin/sh be recommended if compatibility with all unix systems is an absolute requirement? In my case ...
0
votes
0answers
84 views

How to allow an FTP account on an SFTP server

I connect to my server via SSH for a user called 'ubuntu'. It needs a private key to connect and the same goes for the same account via FileZilla. I'm currently setting up a server block with nginx ...
1
vote
1answer
121 views

Screen brightness adjustment not working in Ubuntu 14.04

When I try adjusting the screen brightness using the function keys on the keyboard, the adjustment scale is shown on the screen responding but the screen brightness is not adjusted. Tried ...
0
votes
2answers
85 views

How to automatically apply wpa_supplicant configuration?

To authenticate in a corporate network I have to run the following command: $ sudo wpa_supplicant -i eth0 -D wired -c /etc/wpa_supplicant/mywired.conf -B The configuration script loaded thereby ...
0
votes
0answers
8 views

Register a new directive in Tomcat using Eclipse

I'm new user in Linux, using Ubuntu 14.10 version. So I develop in Java using Eclipse and something like Tomcat and Maven. When I try to put this configuration in Tomcat serve inside Eclipse ...
0
votes
1answer
25 views

I cannot get photoscape 7.3? [closed]

I have tried many times to install http://photoscape.org on here. I do not understand, I am new to the computer.
1
vote
1answer
49 views

Using autoreconf without root rights on a prefix path results in a corrupted configure-script

I am trying to compile a package (libdrm-2.4.59) and to use sed and autoreconf to remove a dependency: sed -e "/pthread-stubs/d" -i configure.ac && autoreconf -fiv It produces the following ...
2
votes
0answers
21 views

How to map PowerOff button as End on XWindows?

I have this unfortunate PowerOff button on my laptop situated in the place of the End key: I already have a way to disable the PowerOff handler triggered by the OS (Ubuntu 14.04 in my case). Now I ...
1
vote
0answers
60 views

Java process gets killed frequently by OOM - Killer on upgraded hardware

I am running solr on an Ubuntu server along with 4 other java processes. Current index size is 30 GB. My solr process gets killed frequently in few hours. It clearly mentions that its an OOM killer. I ...
0
votes
1answer
57 views

how partition for OpenSuSE dual-boot

Currently I'm running Ubuntu 14.10 and have quite a bit of free space on this disc: thufir@doge:~$ thufir@doge:~$ sudo fdisk -l Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors ...
1
vote
0answers
28 views

How to run a live stream as local radio

Users. I want to play a live stream http://204.45.41.148/ with icecast2 server.I have successfully installed icecast2 and ices2.I want my users to connect to my server for listening this channel ...
0
votes
4answers
62 views

Load a service in Linux programatically [closed]

Given a service name(created by user) and its path, how can I load and start the service at runtime from a C++ program in Ubuntu. Does there exists functions similar to the Windows functions such as ...
1
vote
0answers
14 views

Routing problem through 2 hop in the LAN

This is the scenario I'm facing with: firewall (Zyxel Zywall USG210) configured as default gateway, with LAN IP 172.29.0.1 /16 2nd firewall, directly connected with the 1st, with LAN IP 172.29.0.250 ...
0
votes
1answer
37 views

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7. I researched a lot but could not find any link which gives step by step procedure. Can someone please give me steps to be followed to ...
0
votes
1answer
60 views

Ubuntu Server 12.04 vsftpd timeout using external IP

I am having a problem connecting to my Ubuntu 12.04 server with vsftpd using my external IP. Connecting with local IP is successful. I am using FileZilla for the ftp client. I know there is a bunch of ...
0
votes
1answer
131 views

Problem when downloading snort rules

I have a problem when downloading new rules via pulledpork. After using... $ pulledpork.pl -c /etc/snort/pulledpork.conf -T -vv I get an error: Fetching md5sum for: ...
1
vote
2answers
64 views

How do I automatically bind mount on boot in a non-root encrypted home directory?

I want to bind mount a directory within my home when I log on. The line in fstab would be /foo/bar /home/me/wherever none bind 0 0 The trouble is my home directory is encrypted, so it has to happen ...
0
votes
1answer
47 views

Importing packages from linux ISO

I have ISO of Puppy Linux and just now I have downloaded ISO for Ubuntu. Puppy Linux does not have gcc installed . But I know Ubuntu 14 has gcc and many other softwares installed. So Can I import ...
0
votes
0answers
251 views

“Makefile:29: recipe for target 'siplib.o' failed” - SIP installation

I'm trying to install SIP 4.16.5 for Python 3.4 on Ubuntu GNOME 14.10. I type python3 configure.py and I get the following: This is SIP 4.16.5 for Python 3.4.2 on linux. The SIP code generator will ...
0
votes
1answer
77 views

Route everything through VPN except SSH on Port 22

I have a Server and I want to setup a VPN on it to route all traffic. Of course I dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
0
votes
0answers
42 views

AV Linux as main OS. Computer won't accept bootable USB

I am trying to install and run AVLinux through the downloadable .iso image from the website. I created a standard startup disk with the standard creator in 14.10 all went well. ''Startup Disk ...
1
vote
0answers
102 views

Lost Win7 boot after installing UBUNTU Vivid

I have a dual boot system (Win7 for my company) and (UBUNTU 14.10) .. My company is using Encryption for the image of Win7. After Win7 installation i installed UBUNTU 14.10 and i was able to boot ...
0
votes
0answers
31 views

Fn key results in slashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
0
votes
1answer
17 views

What port uses my backportpackage or bzr?

I am working in a company what uses Ubuntu Precise on the desktops behind a proxy. The Proxy is available in /etc/environment and set as: http_proxy, https_proxy, ftp_proxy, no proxy and their ...
0
votes
1answer
102 views

How to setup 2 NIC PC with a DHCP server on one NIC and LAN on the other. Ubuntu

So I have a networking setup I need for a project. On one of my NICs I need to have a DHCP server. I've found for ubuntu there exists dhcp3-server for a dhcp server. I've done a bit of research, I ...
2
votes
1answer
83 views

QoS with TC qdiscs: is it possible to have ALL outbound connections have x speed limit per unique IP?

I'm trying to setup QoS in my VPS so that I can have any new outbound connection to a unique IP gets limited x speed. For instance: have 5 public IP's requesting data from my VPS. When the VPS ...
0
votes
0answers
136 views

Unable to install anything using apt

I was trying to install an earlier gcc and g++ (4.6.3) for compatibility reasons and now apt seems to be broken. It appears that apt-get install behaves like this for everything, not just dpkg: ...
2
votes
1answer
79 views

Get 'python-keyring' to stop prompting for 'encrypted keyring' password

Situation: I followed these instructions (http://mercurial.selenic.com/wiki/KeyringExtension) on setting up the mercurial keyring-extension for mercurial. On a Ubuntu 12.04.4 (precise) machine it ...
0
votes
2answers
71 views

VNC not installing in ubuntu 12.04.5 LST

I am trying to install VNC server though putty, but it is not getting installed. I have run following command to install sudo apt-get install gnome-core sudo apt-get install vnc4server vncserver ...
0
votes
0answers
20 views

network connection issue with Ubuntu installed on VM player

The Ubuntu was installed on Windows 7 using VmWare Player. However, the internet cannot be accessed from Ubuntu. The Windows host works fine with internet. Examining the "Network and Sharing ...
3
votes
1answer
55 views

How do dim screen, even if artifically, below the minimum?

My laptop (a Toshiba Sattelite) runs far too bright, even in the ambient light from outside in the day, and I need to be able to dim it below its minimum setting. ~#cat ...
24
votes
6answers
3k views

Why is it risky to give sudo vim access to ordinary users?

I'd like to create a new user and give him sudo access. To be specific, I want him to use sudo vim and edit httpd.conf. I wrote this in sudoers: user ALL=(ALL) /usr/bin/vim ...
0
votes
0answers
45 views

ipsec-tools can't encrypt packets after changing destination ip address?

I established a tunnel IPsec connection between two networks like the following scenario IPsec-tools and racoon and it works fine (see image) But in gateway1 I run a simple program that listen to ...
1
vote
1answer
83 views

When login into terminal, display custom text

When I loggin to my linux system through PuTTY, I'm getting this below text.Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic i686) * Documentation: https://help.ubuntu.com/ System ...
0
votes
0answers
123 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err ...
1
vote
2answers
55 views

Do programs source .bashrc when run?

I append to my PATH environment variable in my .bashrc file (Ubuntu v12). I also have a service (Atlassian Bamboo) that relies on the modifications to PATH. When I restart the service (which runs as ...
-2
votes
1answer
53 views

How can I run a script as sudo and for it to not ask me for a password?

I want to run the following script: #!/bin/bash if grep -qs 'MinecraftServer' /media/kiancross/MinecraftServer/MinecraftServer; then echo "Disk already mounted, server boot will continue" else ...
0
votes
1answer
40 views

stop IP address to land on website home page [closed]

I notices that when i type my VPS IP address in address bar then it display website home page. So it may case duplicate content. Can you please tell me How to stop IP address landing on website home ...
1
vote
1answer
77 views

Lost sound with xmonad

I downloaded this config to set up xmonad. Hit volume up, down, works fine. Hit the volume mute hotkey, sound's gone. All good. Hit the mute key again, sound's still off. Hit volume up, nothing. ...
0
votes
0answers
38 views

Recover /var/lib/dpkg directory in ubuntu 14.04

Today by mistake, i deleted directory /var/lib/dpkg using "rm -rf /var/lib/dpkg/*" from my VPS server. Can you please tell me how i can recover this directory ?
0
votes
1answer
34 views

Curl Command PUT Method

curl -i -X PUT -H 'Content-Length: 1000' http://dfdc:dfdc@xx.xx.xx.xxx:xx/directory/ Above curl doesn't produce any response at Ubuntu shell prompt.
2
votes
1answer
56 views

Easy command line method to determine specific ARM architecture string?

I'm trying to write a script which will determine actions based on the architecture of the machine. I already use uname -m to gather the architecture line, however I do not know how many ARM ...
3
votes
2answers
124 views

BASH: Special character '�' suddenly appeared (Ubuntu)

When I erroneously type 'ñ' (expecting to type any command) and then remove it and type the correct letter, the output returns the command with a special character attached �, obviously the shell ...
1
vote
0answers
96 views

mate-panel --reset command not found

After some updates, our Ubuntu 14 MATE desktop doesn't have a panel, nor does it load a terminal. After pressing ctrl+alt+f1, and logging into our account, I tried the command: mate-panel --reset ...