I already wrote about how to move or migrate user accounts from old Linux / UNIX server to a new server including mails and home directories. However, in reality you also need to move MySQL database which may host your blog, forum or just your data stored in MySQL database. The mysqldump command will only export the data and the table structure but it will not include a users grants and privileges. The main function of the MySQL privilege system (which is stored in mysql.user table) is to authenticate a user who connects from a given host and to associate that user with privileges on a database such as SELECT, INSERT, UPDATE, and DELETE.
Archive for the ‘Server Tips’ Category
FAQ Updates – July/16/2010
I‘m still working on getting my rss feed mess which bombarded your feed reader and inbox two days ago. Meanwhile, our FAQ section is updated in last few days with new howtos (if you want FAQ updates just follow us on twitter or identi.ca):
- Linux: Setup SSH To Tunnel VNC Traffic Though Internet – This tutorial shows you how to use OpenSSH to tunnel VNC traffic through the public Internet so that you can access your UNIX / Linux / OS X PC from a remote location.
- Linux: Find Wireless Driver Chipset Information – How do I find out Wireless driver chipset information under Linux? How do I get wireless card chipeset information without opening my systems?
- nginx: Send HTTP User Agent Requests To Specific Backend Server – I‘ve tons of images, css and javascript hosted at backend server IP 192.168.1.5 and 192.168.1.6. How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from “Mozilla” to server 192.168.1.5 and MSIE to server 192.168.1.6 only?
- KVM virt-install: Install OpenBSD As Guest Operating System – Explains how to install OpenBSD under Linux KVM and fix a few issues related to booting and setting up a serial console redirection.
- RHEL6 Beta: HowTo Use yum Command To Install Packages Without RHN – Explains how to use the yum command under RHEL beta v6.0 without RHN, which is scheduled to release soon (this for testing purpose only).
- Reboot Linksys WAG160N / WAG54 / WAG320 / WAG120N Router / Gateway – Explains how to reboot a Cisco Linksys router using a UNIX command prompt and hidden url settings.
- KVM: Start a Virtual Machine / Guest At Boot Time – Explains how to configure a domain (guest operating system vm) to be automatically started at boot or after kernel upgrade system reboot.
nixCraft is on Facebook!
Go ahead, become a nixCraft fan and start receiving regular updates right away!
HowTo: Configure Vbulletin To Use A Content Delivery Network (CDN)
The last time I wrote about CDN, I wrote about how to configure CDN for wordpress to speed up your wordpress blog to display content to users faster and more efficiently. However, a few regular readers like to know how to configure the Amazon CDN or other CDN network to use with Vbulletin forum software. In this quick tutorial, I will explains how to configure Vbulletin, Apache/Lighttpd webserver, Bind dns server to use a CDN to distribute your common files such as css, js, user uploaded files and lighten load on your web server.
Read more: HowTo: Configure Vbulletin To Use A Content Delivery Network (CDN)
Copyright © nixCraft. All Rights Reserved.
The Story Behind The Largest Distributor Of The Linux Operating System
Interesting read and I wasn’t aware of some of the facts behind the open-source entrepreneur Bob Young. From the BBC article:
Bob Young is a self-confessed contrarian with a strong desire to change the world by allowing people to share and collaborate. The approach has served him well and has helped turn the Canadian into a multi-millionaire. Bob YoungFrom the outset, his software company Red Hat bucked the trend set by the big players like Microsoft which stubbornly guarded every line of code and charged whopping fees to maintain it.
Read more: The Story Behind The Largest Distributor Of The Linux Operating System
Copyright © nixCraft. All Rights Reserved.
HowTo: Speed Up Linux Software Raid Building And Re-syncing
It is no secret that I am a pretty big fan of excellent Linux Software RAID. Creating, assembling and rebuilding small array is fine. But, things started to get nasty when you try to rebuild or resync large size array. You may get frustrated when you see it is going to take 22 hours to rebuild the array. You can always increase RAID resync performance using the following technique.
Read more: HowTo: Speed Up Linux Software Raid Building And Re-syncing
Copyright © nixCraft. All Rights Reserved.
List: Linux Compatible USB Wireless Adapter (WUSB)
A regular question from my mailbag:
I am in the process of up grading my computer. Where can I get a list of the WUSB for Linux?
Wireless USB adapters are pretty popular for desktop and laptop usage in home. It is capable of sending 480 Mbit/s at distances up to 3 meters and 110 Mbit/s at up to 10 meters. Newer N series can work at 270Mbit/s at up to 300 meters. However, 50-100 meters are acceptable ranges. Unfortunately, finding Linux compatible USB wireless adapter is a big challenge due to driver issues. Over a past few years, I’ve used and installed various USB wireless adapters and created my own small HCL for it. In this quick blog post I will list all working USB wireless adapter.
Read more: List: Linux Compatible USB Wireless Adapter (WUSB)
Copyright © nixCraft. All Rights Reserved.
The Novice Guide To Buying A Linux Laptop
All major laptop (notebook) hardware is supported by Linux. The important things to take into account when looking to buy a Linux powered laptops are as follows to avoid any hardware compatibility problems. Selecting correct specification is important. In this first part, I will cover what to look out for when buying a Linux powered laptop.
Read more: The Novice Guide To Buying A Linux Laptop
Copyright © nixCraft. All Rights Reserved.
Download Fedora 13 CD / DVD ISO
Fedora Linux version 13 has been released and available for download ( jump to download link ). Fedora Linux is a community-based Linux distribution. Fedora is sponsored by Red Hat, Inc. Fedora is considered as the second most popular distro, behind Ubuntu Linux.
Read more: Download Fedora 13 CD / DVD ISO
Copyright © nixCraft. All Rights Reserved.
HowTo: Debug Crashed Linux Application Core Files Like A Pro
Core dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apache, PHP-CGI or any other program crashed. Many vendors and open source project author requests a core file to troubleshoot a program. A core file is generated when an application program abnormally terminates due to bug, operating system security protection schema, or program simply try to write beyond the area of memory it has allocated, and so on. This article explains how to turn on core file support and track down bugs in programs.
Read more: HowTo: Debug Crashed Linux Application Core Files Like A Pro
Copyright © nixCraft. All Rights Reserved.
vSphere Web Access 503 Service Unavailable Error And Solution
By default vSphere does not provide client for Linux or OS X. You need to use Windows system to manage your VMware ESX server. However, it does provides vSphere Web Access which allows you to organize and share virtual machines using web browser. If you try to access vSphere Web Access you may get an error which read as follows:
503 Service Unavailable
You can fix this problem as follows.
Read more: vSphere Web Access 503 Service Unavailable Error And Solution
Copyright © nixCraft. All Rights Reserved.





