ubuntu server

Home ubuntu server

How to Keep the Existing File Attributes (Owner, Timestamp, etc) When Copying Files or...

When copying files and especially directories, sometimes you want to keep the existing file attributes. For example, you may likely want to keep the same owner, group, timestamp, etc. You can keep the attributes by using the preserve argument. preserve=all

Setting up CUPS and Installing Local Printer in Ubuntu Server

After my first Ubunutu Server install (Hardy Heron LTS 8.04), I couldn’t get the local printer setup. Here’s how I fixed it. I’m a linux newbie and was feeling a bit lost without GUI. Several articles I read said gnome

How do I Know Which Kernel I am Using?

How do you know which linux kernel you are using? uname -kFind out other system info withuname -a

How to Check the Ubuntu Version

How do you know which version of Ubuntu you are running? This will return something like this: Related posts: Setup WordPress or WPMU to make an atomic version switch — AND allow you to revert I have a new WordPress

How to Change Your Password From the Command Line

To change your own password from the command line: To change the password for another user, you must use sudo: Related posts: Newbie: how to edit a file from the command line Could there be any more basic question? We

Setup WordPress or WPMU to Make an Atomic Version Switch — AND Allow You...

I have a new WordPress MU (WPMU) install and I am ready for my first upgrade. I couldn’t get automatic upgrade to work, and all the forums said: do it by hand manually. This is fine, but I didn’t want

Configuring Log Rotation of Apache2 and Other Logs

I went to check out my apache2 logs and I noticed that they were being automatically rotated (access.log, access.log.1, etc.) and compressed with gzip (access.log.2.gz, etc.). This seems to be the default Ubuntu configuration. I wanted to make find out

Setting Ubuntu 10.04 Raid with Dell PowerEdge T310 and PERC S100

It turns out that Dell PowerEdge servers (like the T310) with PERC S100 do not support RAID on Ubuntu. Bummer. But here is how I got Ubunutu software RAID 1 to work with my Dell PowerEdge T310, PERC S100 and

Failed Ubuntu Apt-Get Upgrade Corrupts the Available File

I was upgrading Ubuntu packages with The upgrade failed with a segmentation fault. I tried again, but found I had a corrupted /var/lib/dpkg/available file. I first go this error: I edited the available file and fixed the problem. But then

Tar Errors: Ignoring Unknown Extended Header Keyword

Problem: Unknown Tar Extraction Warnings/Errors I was running a script on Ubuntu Linux that extracted a tar archive, and I noticed many of the following errors whizzing by my console: I was concerned that the the extraction might not be