Greatest Hits

6
votes
4answers
54k views

MicroSD card is set to Read-only state. How can I write data on it?

I have a MicroSD card reader in my notebook. When I insert a MicroSD memory card into it, I can't write any data on it - it's read-only. The same thing happens when I try to do it under root. And I ...
21
votes
1answer
46k views

Why LibreOffice is default instead of OpenOffice.org

I have read before some articles about OpenOffice.org (OOO). They were saying that because of the status of OOO before it is maintained by Apache, the distros avoided distributing OOO along with the ...
4
votes
1answer
67k views

Trying to configure eth0 and eth1 but Failed to bring up eth1

Trying to do below on Ubuntu 12.04. Trying to configure eth0 and eth1, eth0 works fine, but failed to bring eth1. Below is the settings /etc/network/interfaces: auto eth0 eth1 iface eth0 inet ...
88
votes
15answers
91k views

How can I find the version of Ubuntu that is installed?

I installed some version of Ubuntu on my VMware, but I don't know what version exactly it is. How can I find it out?
41
votes
3answers
105k views

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
8
votes
3answers
40k views

E: Unable to correct problems, you have held broken packages

I am using Ubuntu 13.04 which I installed few days back. I am trying to install nodejs and npm. I tried to install from command line first and then uninstalled it. Then something broke. sudo apt-get ...
11
votes
6answers
29k views

Upgrading from 13.10 to 14.04 broke Grub

I have a dual boot Ubuntu + Windows 8 on an UEFI system. Everything was ok until I upgraded to Ubuntu 14.04 from 13.10. Now what I get when I boot the pc is a grub rescue screen like this with the ...
7
votes
6answers
61k views

“Unknown option ”--enable-libfaad“ ERROR: libfaac not found” while configuring ffmpeg

I trying to install this following these instructions: sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get update sudo apt-get install build-essential subversion git-core checkinstall yasm ...
12
votes
3answers
75k views

How can I start in safe mode?

I did a clean install of Ubuntu 12.04 on an Acer AX1430G desktop. Everything went fine until I installed the additional ATI driver. When I reboot the computer, my monitor gives a "signal out of range" ...
12
votes
8answers
49k views

Trying to do ssh authentication with key files: server refused our key

I'm trying to setup ssh authentication with key files in stead of username/password. The client is a Windows box running PuTTY and the server is a Ubuntu 12.04 LTS server. I downloaded puttygen.exe ...
15
votes
4answers
89k views

Any way to manually make a bootable USB from ISO?

I've been using Unetbootin but it occasionally fails to create a bootable usb the way I need it to, especially with the newer versions. Is there a way I could extract the iso myself?
27
votes
4answers
114k views

How to edit files in a terminal with nano?

Sometimes, a graphical text editor like gedit or kate cannot be used (because you're in a virtual console for example). Luckily, there are text editors for the terminal. An easy one is nano, but I ...
105
votes
11answers
102k views

How do I install Ubuntu to a USB key? (without using Startup Disk Creator)

If you are hurrying to reply, System → Administration → StartUp Disk Creator -- no, that's not what I'm talking about. I want to try Ubuntu 11.04's Unity without touching my existing Ubuntu ...
7
votes
3answers
44k views

Where is Firefox's plugins directory?

I know that there are extensive, "proper" methods for installing Firefox plugins. However, I would like to know where the folder is for linking shared-object (.so) files, such as libnpjp2.so and ...
45
10
votes
3answers
91k views

Enable graphics Card in Virtual Box

I recently brought a new laptop with following configuration Intel i5 2450 8 Gb DDR3 RAM Nvidia geforce gtx 520 1 GB card I had setup a Windows 7 virtual machine using VirtualBox. I want to use my ...
39
votes
5answers
67k views

How to search for strings inside files in a folder?

Is there any utility to make searches for a string inside ASCII files to avoid command line searches? How to make a command line search, for example for the string "test" inside all files in the ...
4
votes
4answers
49k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
12
votes
2answers
62k views

How to compile C++ source code (“iostream.h not found” error)?

I do not want to discuss about C++ or any programming language!I just want to know what am i doing wrong with linux ubuntu about compiling helloworld.cpp! I am learning C++ so my steps are: open ...
13
votes
6answers
49k views

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
8
votes
4answers
44k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
18
votes
2answers
76k views

Install windows 7 through virtual box

I am using Ubuntu 12.04. I want to install Windows 7 on my system from a CD through VirtualBox. I searched the detailed tutorials through google but I did not find one that worked. So can some one ...
11
votes
3answers
53k views

how can I change the date and time on ubuntu 12.04

when I go to change the date and time it doesn't work, and I try to unlock but it just won't unlock, if there is any way to make it work please help. I know it isn't very descriptive but I really ...
36
8
votes
6answers
65k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
11
votes
2answers
64k views

How to uninstall VirtualBox in 12.04?

Can anyone help me removed VirtualBox? By the way, I couldn't install some softwares, is it because it is a 64-bit version?
8
votes
2answers
54k views

How to mount a hard disk as read-only from the terminal

I have searched google, I've searched this website, I've searched using various terms, phrases, using quotes and without quotes and I cannot find the answer to this seemingly easy thing to do. How do ...
29
votes
2answers
15k views

Explanation of the command to check shellshock

Here is the command I have used to check my bash shell for the Shellshock bug: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" Can anyone please explain the command in details?
30
votes
6answers
97k views

How to change the LightDM theme/greeter?

I downloaded a couple greeters for LightDM, but I have not figured out how to enable them. Is there a way to switch greeter, either by graphical or command-line method?. I do not intend to change ...
60
11
votes
5answers
72k views

How to fix “ndiswrapper not found”?

I've been using ndiswrapper to make work some wireless cards using its Windows drivers, because they are not yet supported by free Linux drivers. Until Ubuntu 12.04. Now, I can install Windows ...
18
votes
5answers
78k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
27
votes
3answers
66k views

How to set JAVA_HOME for OpenJDK?

How can we set JAVA_HOME environment variable for OpenJDK?
71
71
votes
4answers
61k views

How can I get octal file permissions from command line?

There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
16
votes
6answers
102k views

How to set up Ubuntu Server as a NAS?

I am looking to set up Ubuntu Server as a headless NAS for my home. I would like to have file storage there, as well as a central hub for my MP3s and pictures. What are the best packages out there to ...
82
11
votes
4answers
47k views

How do I install filezilla?

I'm using 13.04 I go to ubuntu software center and find filezilla but there is no button to install. I try to find it in ubuntu start button at application or ubuntu dash how its called and click ...
25
votes
4answers
53k views

How to install an init.d script in ubuntu?

I am trying to install an init.d script, to run celery for scheduling tasks. Here is the steps I followed: copied the file celeryd and pasted it in folder /etc/init.d/ created a configuration file ...
17
votes
6answers
38k views

Not able to execute a .sh file: /bin/bash^M: bad interpreter

I wanted to execute a shell script: -rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh I tried to do a standard procedure, but I am got this error: ...
38
votes
3answers
82k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu 11.04 (in a VM). How do I set it up to allow me to ssh into it? (Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".)
81
6
votes
4answers
19k views

Why do I get “wrong fs type, bad option, bad superblock” error?

When mounting an NFS directory by doing: sudo mount 192.168.1.5:/home/shared /mnt/common I get the following error: mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/home/shared, ...
19
3
votes
2answers
29k views

How do I install utorrent on ubuntu 14.04 other instructions seem specific to older versions of the os

I have tried following some of the step by step instructions given but I think some of eh codes and instructions that need to be entered into the terminal window may be specifically for older versions ...
41
votes
7answers
100k views

How can I find my hardware details?

Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
47
votes
5answers
82k views

How can I change the date modified/created of a file?

Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps of a ...
23
votes
8answers
76k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
0
votes
2answers
42k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
46
votes
4answers
97k views

How do I install additional drivers?

I've just installed Ubuntu and I need either video, wireless, or some sort of other manufacturer (non-opensource) driver. How can I run the tool that will fetch all of these for me? I'd like graphical ...
69
23
votes
5answers
98k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
19
votes
1answer
63k views

How can I remove and re-install Unity?

Unity is misbehaving after installing GLX Dock - HUD does not open with GLX Dock turned off and there are ugly shadows in the panel, three control buttons (close, minimise, maximise) and "Ubuntu ...
4
votes
3answers
51k views

Unable to boot from a USB drive on Samsung Series 9 notebook

Related Ubuntu 12.04 won't boot on Samsung Series 9 NP900X3A (ssd hard-drive) I'm trying to get rid of Windows but I can't boot from USB because the USB slots on the right (USB 3.0) on ...
81
3
votes
1answer
16k views

How to install uTorrent v3.3 on 14.04

I've attempted to install utorrent on 14.04 using the Terminal and attempting to install libssl 0.9.8, but with no success. Also, this utorrent version is V3.3 and is located in my Downloads. I've ...
15
votes
2answers
37k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
29
13
votes
5answers
41k views

SMBus/ BIOS error while booting Ubuntu in VirtualBox

I am trying to boot Ubuntu 13.04 in VirtualBox, but every time I boot, I get an error that says: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr This happens right after ...
7
votes
4answers
50k views

'Some index files failed to download' while updating

When running sudo apt-get update I get these following errors: Err archive.ubuntu.com quantal InRelease Err archive.ubuntu.com quantal-updates InRelease Err archive.ubuntu.com quantal-backports ...