So how do I do it?
I Can't find sypaptic, in where I remember that I could "lock" certain packages to ensure that they kept their current version.
Industrial's questions
So I am well aware of nohup
and suffixing commands with &
to ensure that they go into the background.
However if I run a graphical application - sometimes using neither seems to do the job. So what can I prefix a program/command with to ensure that it keeps running after the terminal is closed?
Possible Duplicate:
What's the difference between “Service” and “/etc/init.d/”?
So what are the differences between jobs that are located in /etc/init/
, which I call by writing start myJob
, versus a service which I call by sudo service aservice reload
?
Thanks
So I am getting properly confused on how to create a startup script on my Ubuntu 11.10 server. I have read about init
-scripts, upstart
-jobs and more, but I get even more confused the more I read.
I've tried various guides, but I just haven't found anyone that actually work.
Can someone show me how I create a simple script that will work in 11.10?
Ok, so running gedit myfile.txt
works well. But what about opening a file from inside a bash script, using the default desktop app linked to the filetype?
I've tried below, which works great when run manually in terminal, but when I put it in a bash file, nothing happens:
#!/bin/bash
xdg-open "myfile.txt"&
What should I do instead?
Please note that I need the file to stay open after the terminal is closed as well.
So my computer has lately started freezing completely when I run some programs that, in the past, would work great.
What I am unsure about however, is what logs that are available to me that could help me track down the issue after a reboot?
Thanks
I've tried to install banshee-extension-soundmenu
which isn't available in my 10.04 repos, so I did some research but couldn't find a repo that offers it for my Ubuntu version.
How can I install it and get the wonderful buttons into my sound menu?
After some trial and error, I've managed to backup my Ubuntu 10.04 workstation and it's time for my Laptop. It also runs 10.04, but has an encrypted /home
folder.
Running the below snippet as root
clearly doesn't work well with encryption, so how should I do this?
sudo -i
cd /
tar -cvpzf sysbackup-20110821.tar.gz \
--exclude=/sysbackup-20110821.tar.gz \
--exclude=/proc \
--exclude=/lost+found \
--exclude=/sys \
--exclude=/mnt \
--exclude=/media \
--exclude=/dev /
I am trying to backup my Ubuntu workstation by the help of this guide and are running into trouble as the tar command outputs
Exiting with failure status due to previous errors
.
Here's what I ran in terminal:
sudo -i
cd /
tar -cvpzf sysbackup-20110821.tar.gz \
--exclude=/sysbackup-20110821.tar.gz \
--exclude=/proc \
--exclude=/lost+found \
--exclude=/sys \
--exclude=/mnt \
--exclude=/media \
--exclude=/dev /
So from searching a bit, the error seems to be of a non-critical nature, but as I checkout the contents of the actual .tar file, my /home
-folder is missing, so obviously something went clearly wrong.
What should I do instead to backup my system without errors?
I've been thinking a lot about this lately and haven't been able to find any good documentation online that explains this:
When installing Ubuntu Server, I can choose between Minimal system and Minimal virtual machine by hitting the F4 button at the install screen.
Why should I choose one over the other?
Just tried out Fedora 15 and noticed the pre-installed firewall application that I found much easier to use than any other previously tried out firewall manager.
Definitely miss it at my Ubuntu workstation, so how can I get it?
I have a staging server in my network running Ubuntu server 10.10, being my main development area. As I need to access the files in the Apache root from other computers in the network, I have setup samba with the following settings:
[www]
comment = Apache root www
path = /var/www
writable = yes
force user = root
force group = root
On the host computer, running Ubuntu 10.10 desktop, I am trying to mount the drive with a bash file looking like below:
#!/bin/bash
sudo mount -t cifs //192.168.1.5/www /media/www/ -o username=myusername,password=mypassword,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
What happens is that I get mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) thrown in my face whilst trying to execute the mount.
I've done exactly the same, with exactly the same smb.conf & mount-bash file on another computer in my network, but this just wont work.
What am I doing wrong? I am running out of ideas.
I would like to deactivate the amplification feature on my sound volume slider. Using any amplification makes the sound really bad with clipping sounds taking over.
It's really annoying to have to worry about where the amplification starts/stops when adjusting the slider from my keyboard or through the Gnome panel (sound thingy). I have to open the "Sound preferences" after each time adjusting the volume and ensure that the level is set to 100% unamplified.
So can I do this someway easy in Ubuntu 10.10?
I ordered some addon RAM a few days ago to install on my Ubuntu 10.10 stationary computer and while giving it some thought, I remember that I previously did change the SWAP memory file size on a XP computer after doing a RAM upgrade in the past.
Should I change the SWAP memory size (increase?) after installing more RAM into my computer?
After installing OpenVPN properly (network-manager-openvpn
) and setting up my VPN, I am not able to connect to any internet page or access anything that's remote. Pinging stuff is totally dead.
I have absolutely no idea on how to proceed from now. What should I do?
I have been able to get the built-in microphone (it's an Acer laptop) to not only work, but work perfectly in Ubuntu's own Sound Recorder, but when starting up Skype, there's no sign of my microphone at all.
I've reinstalled Skype, checked ALSAmixer and tried various settings.
I have mounted a couple of network shares with my etc/fstab
file - it works great, just like it's supposed to, but unfortunately every mounted drive keeps appearing twice!
When clicking one of the duplicates, an error is shown; Unable to mount: [mountname]. Mount: According to mtab, [mount address], is already mounted on [local mountpoint]. Mount failed
.
Here's how each mountpoint looks in my etc/fstab
:
//192.168.1.2/backups /media/backups cifs defaults,user=myUserName,pass=myPassWord,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
What can I do to make sure that my mounted drives only are listed once?