Change date setting in Ubuntu server using NTP
This is a shell activity, I’m assuming you did not put GUI in your Ubuntu server and that it is tucked away–headless (no keyboard no monitor)–somewhere in your home office, and you know how to login to your Ubuntu server via SSH.
Synchronizing the Ubuntu box to an NTP server
Network Time protocol can be used to [...]
Forgot the Linux root password
A bit of disclaimer—use the information in this guide at your own risk, the information in this guide should only be used to recover passwords from machines to which you have legitimate access.
your screen might look something like this picture, if you have GRUB
What you need to do is to boot in single user [...]
Install git on Ubuntu Jaunty Jackalope
Looking at the forums for installing git on Linux, there seems to be some issues on getting the latest version of git, but the entries were bit dated. A quick install of git on an Ubuntu test server should settle that question.
$ sudo apt-get install git-core
Of course if you are root, you [...]
Samsung CLP-315 on Ubuntu Server 9.04, Jaunty Jackalope
The procedures for Installing CLP-315 on Debian Lenny did not work when I installed CLP-315 to an Ubuntu 9.04 server (Jaunty), after a few minutes of uploading ‘rastertosamsungsplc’ to /usr/lib/cups/filter and tweaking the permissions–still, not working. The mishap of this installation starts when you are about to add a printer using the CUPS administration page [...]
How to tell which Ubuntu version you have
If you’re revisiting some old servers you’ve played around before, or maybe installed and forgot about it, you may not remember the exact distribution name. Sure you can uname -a then get the kernel version from there then google it up which distro has that kernel version; or just use
$ lsb_release -a
lsb_release is used to [...]
MySQL backup on Ubuntu | Debian
This guide is for Sys Admins–or people who have a bit of Sys Admin skills. While there is a plethora of database backup products for MySQL that exist, this post is not about those products.
We’ll use the built-in tools of MySQL for the backup process–it is in fact, a very simple process.
A simple setup
If your [...]