ubuntu server

Home ubuntu server

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

Newbie: how to edit a file from the command line

Could there be any more basic question? We all know there are no stupid questions, but I sure felt dumb having to look up this one. I found the built in editor nano. Likely more searching will yield a better

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

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

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

Newbie: how to edit a file from the command line

Could there be any more basic question? We all know there are no stupid questions, but I sure felt dumb having to look up this one. I found the built in editor nano. Likely more searching will yield a better

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

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

How to prevent server (daemons) from starting during apt-get install

Some times you may not want a server or daemon to start as part of the postinstall scrip when installing with apt-get or dpkg. To prevent servers from starting, do the following: # Prevent launch of servers during apt-get install