Entries Tagged as ''

No Microsoft!

Opinion.
Non-enthusiast computer users are probably unconcerned about what goes on behind the scenes in the computer industry, but among knowledgeable professionals, disdain for Microsoft goes back years, if not decades. Few companies provoke the visceral hatred that Microsoft does. More than just technical problems, and lack of innovation account for this attitude about the company. Long known for it's ruthless attacks on...

[Read more →]

SOURCE: http://linuxlatitude.blogspot.com/

Disable dma in Freebsd


Most of the older IDE <-> CF Adapters only implement CF 1.5 and not CF 2.0. So, when FreeBSD goes to access the device, you get all kinds of timeout errors.

You can disable dma from the boot loader prompt

From the boot loader menu select the command prompt and run the following command.

set hw.ata.ata_dma=0

Now continue booting

boot

You can use atacontrol after booting. Read the man page here.


...

[Read more →]

SOURCE: http://lessfaq.wordpress.com

Configuring Services in Ubuntu

Ubuntu's Services' applet is quite frankly horrible. In Centos/Fedora/RHEL at least I can refer to chkconfig in CLI or the straight-forward Services applet. In Ubuntu there also two tools but not installed by deafult:
  1. sysv-rc-conf provides a curses interfaces to easy management of services.
  2. Bum (Boot Up Manager) is its GUI equivalent.
Both are available from the repos.

Enjoy!

SOURCE: http://slayachronicles.blogspot.com/

Take 1: MediaMaster

When I first started blogging, I used to start the titles with “Take (insert number here)”. I did this in hopes of ensuring that I’d take more than one look at certain products - but, it did end up getting on my nerves, and I’m pretty sure some readers might’ve been steamed. I restarted this tradition - but only for products that I know I’m going to take more than one look at. On with the story.

cd shelves 04
...

[Read more →]

SOURCE: http://digitalmediabreak.com

Setup multiple IP addresses on Ubuntu

I'm working on migrating a server again today and we decided that we want to put some of the services on 1 IP and the others on another so if we ever need to move one set of services over the IP can follow. This is the machine that is running Ubuntu 8.04 Server.

It turns out this is a pretty simple thing to do. First, edit your interfaces file:

sudo nano -w /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

Then add in a few new lines below the...

[Read more →]

SOURCE: http://adventuresinswitching.blogspot.com/

Use Monitis to Improve Page Landing Speed: Pay Less for Google AdWards Ad

To ensure high quality ad experience for their visitors google now evaluates ad destination pages according to the page landing speed. The Advertisers must provide high performance of web pages they want to advertise on AdWords. The higher the load speed, the less is Cost-Per-Click (CPC) rate. According to Google high quality landing pages should provide relevant and original content, transparency and navigability.

On-going monitoring checks availability and calculates performance of web pages. Measurements help prevent not only from being disqualified or banned by AdWords, but save advertisement costs. Setting performance thresholds will allow prevent...

[Read more →]

SOURCE: http://uptime-monitoring.blogspot.com/

Backup MySQL Database From Java Part 2

After we know how to separate the backup process between data, stored routine, and trigger, next thing to do is implementing them in Java.

Consider the following code:
private int BUFFER = 10485760;

private String getData(String host, String port, String user,
String password, String db) throws Exception {
Process run = Runtime.getRuntime().exec(
"mysqldump --host=" + host + " --port=" + port +
" --user=" + user + " --password=" + password +
...

[Read more →]

SOURCE: http://idiot-howto.blogspot.com/

Distro for Work Desktop

As part of a migration exercise from a Windows environment to a Linux one, the question of which distro to use for the servers and desktop is inescapable.

Should Centos be on the server? Should Debian or Ubuntu? Why not Gentoo? All are fine distros with strong community and tons of docs around and more importantly for a server OS, there are long support (patches) cycles.

After much discussion we decided to go for Centos as coming from the Red Hat code base, many 3rd party stuff will work with it.

I am more partial to Ubuntu servers, but Centos is a fine choice too.

Desktops. Hmm....it comes down to Ubuntu, hands down. Why?
  1. Ubuntu is designed to be user friendly.
  2. Hardware support is excellent.
  3. The current 8.04 is...

    [Read more →]

    SOURCE: http://slayachronicles.blogspot.com/

Backup MySQL Database From Java Part 1

Nothing new with this topic because it has been asked and answered so many times in forums and mailing-lists, but still it's a quite hot topic.

The backup method I'm using in this blog entry is using mysqldump utility that bundled with MySQL download. Mysqldump has several useful argument that we can make to customize our backup files, such as dumping data, triggers, stored routines in separate files.

For example, backing-up data only should be,
mysqldump --host=myserver --port=3306 --user=william --password=secret --compact href="http://idiot-howto.blogspot.com//--skip-commentshref="http://idiot-howto.blogspot.com//
...

[Read more →]

SOURCE: http://idiot-howto.blogspot.com/

Linux User 1: Intro to Linux


...

[Read more →]

SOURCE: http://linuxuserpodcast.wordpress.com