RSS
 

How to Make Google Chrome Use Less Battery Life, Memory, and CPU

09 May

stark chrome logo pin

Chrome isn’t the minimal web browser it once was. Originally named Chrome because it was designed to get out of your way, Chrome is no longer just a minimal browser — it’s an entire application platform.

Google’s browser seems to eat quite a bit of battery life, particularly on Macs. It’s also very memory hungry, which can hurt PCs with low amounts of RAM. Here’s how to minimize the damage.

Read the rest of this entry »

 
No Comments

Posted in WINDOWS

 

Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Debian Etch)

09 May

This guide explains how you can create advanced virtual hosts on a lighttpd web server on Debian Etch that are stored in a MySQL database. The method described here does not use the lighttpd mod_mysql_vhost module, and unlike mod_mysql_vhost (which allows you to store only the hostname and document root of a vhost in a database), this method allows to store individual configuration directives for each vhost in the MySQL database.

 This tutorial is based on the chapter “Per-vhost configuration” fromhttp://trac.lighttpd.net/trac/wiki/Docs%3AModMySQLVhost.

I do not issue any guarantee that this will work for you!

 1 Installing MySQL 5.0

First we install MySQL 5.0 like this:

apt-get install mysql-server mysql-client

Create a password for the MySQL user root (replace yourrootsqlpassword with the password you want to use):

mysqladmin -u root password yourrootsqlpassword

Read the rest of this entry »

 
No Comments

Posted in Cpanel

 

How to Use Headphones With Your TV

09 May

headphones

So you’ve got a nice big widescreen TV and an amazing home theater setup. Your speakers offer excellent sound — there’s just one problem. You want to use it while people are sleeping or otherwise busy. That means turning to headphones.

Unfortunately, you won’t find a clearly marked headphone jack on most TVs. But you can connect any old pair of headphones to your TV if you know what you’re doing.

Read the rest of this entry »

 
No Comments

Posted in WINDOWS

 

KVM & OpenVZ Virtualization And Cloud Computing With Proxmox VE

09 May

Version 1.0
Author: Falko Timme
Last edited 01/29/2009

Proxmox VE (virtual environment) is a distribution based on Debian Etch (x86_64); it provides an OpenSource virtualization platform for running virtual machines (OpenVZ and KVM) and comes with a powerful, web-based control panel (it includes a web-based graphical console that you can use to connect to the virtual machines). With Proxmox VE, you can even create a cluster of virtualization hosts and create/control virtual machines on remote hosts from the control panel. Proxmox VE also supports live migration of virtual machines from one host to the other. This guide shows how you can use Proxmox VE to control KVM and OpenVZ virtual machines and how to create a small computing cloud with it.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

Proxmox VE is an x86_64 distribution, so you cannot install it on an i386 system. Also, if you want to use KVM, your CPU must support hardware virtualization (Intel VT or AMD-V) – this is not needed if you ust want to use OpenVZ.

In this tutorial I will create a small cluster of two machines, the Proxmox master (server1.example.com with the IP 192.168.0.100) and a slave (server2.example.com, IP: 192.168.0.101) so that I can demonstrate the live migration feature and also the creation and management of virtual machines on remote hosts through Proxmox VE. Of course, it is perfectly fine to run Proxmox VE on just one host.

Read the rest of this entry »

 
No Comments

Posted in LINUX

 

How To Back Up MySQL Databases With mylvmbackup On Ubuntu 12.10

09 May

mylvmbackup is a Perl script for quickly creating MySQL backups. It uses LVM’s snapshot feature to do so. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, creates a snapshot of the volume containing the MySQL data directory, and unlocks the tables again. This article shows how to use it on an Ubuntu 12.10 server.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

I’m assuming that MySQL is already set up and running on your system. The system must use LVM, and the MySQL data directory (/var/lib/mysql) should have an LVM partition of its own (although that is optional).

If you have read Back Up (And Restore) LVM Partitions With LVM Snapshots you know that LVM snapshots require some unused LVM partition for the snapshot. My test system has a second, currently unused hard drive /dev/sdb that will be used by mylvmbackup to create a temporary logical volume for the backup.

Read the rest of this entry »

 
No Comments

Posted in LINUX

 

Web Server Load-Balancing with HAProxy on Ubuntu 14.04

09 May

What is HAProxy?

HAProxy(High Availability Proxy) is an open-source load-balancer which can load balance any TCP service. HAProxy is a free, very fast and reliable solution that offers load-balancing, high-availability, and proxying for TCP and HTTP-based applications. It is particularly well suited for very high traffic web sites and powers many of the world’s most visited ones.

Since it’s existence, it has become the de-facto standard open-source load-balancer. Although it does not advertise itself, but is used widely. Below is a basic diagram of how the setup looks like:

 
No Comments

Posted in LINUX

 

How to turn your Ubuntu 14.10 headless server into a XFCE + VNC Network Desktop

09 May

This tutorial describes the installation of Gnome 3, XFCE and VNC on a headless server (server without monitor) to turn it into a Linux Desktop that you can access from anywhere over the internet with VNC. The server that is used for this setup is a root server in a datacenter that runs just a minimal Ubuntu 14.10 operating system. I will guide you trough the installation and configuration of the following software:

Ubuntu 14.10
Gnome 3.14
VNC 4.1.1

Important Notes: This procedure is only applicable to a new installed Ubuntu Linux OS, if you have existing running Ubuntu Linux with a different version where you like to install a desktop and vnc, i suggest you make a backup of your system and after that, you may proceed with this procedure. All commands below assume that you are logged in as root user, so please run “sudo -” to become root if you are logged in as a different user.

WARNING: The VNC protocol does not encrypt the transmitted data or login details, use a VPN tunnel if you plan to use it over a insecure or public network.

Read the rest of this entry »

 
No Comments

Posted in LINUX

 

How to install LXDE desktop on Arch Linux

09 May

The “Lightweight X11 Desktop Environment” is quite fast and energy saving desktop manager. It has a of of features beautiful interface, multi-language support, standard keyboard short cuts and additional features like tabbed file browsing. LXDE consumes the least resources when compared to other desktop managers. In this tutorial I will show you how to install LXDE on arch Linux and get started using it.

Installation.

Most of the latest LXDE packages are already in extra repo of Arch Linux. So, let’s just start with it:

pacman -S gamin LXDE

Over here gamin is a daemon needed, for the filemanagers to work.

Out of all the packages you need to install lxde-commmon to run LXDE desktop environment. You can go ahead and install all at once if you want, but atleast you will need lxde-common.

Read the rest of this entry »

 
No Comments

Posted in LINUX

 

How to setup a LAMP development environment in Vagrant

09 May

In the previous tutorial, we have learned about the basics of Vagrant. In this tutorial, we will move to next level and will learn more about Vagrant and setting up LAMP development environment in Vagrant.

To start with, LAMP stands for: Linux (OS/Kernel), Apache (Web Server), MySQL (Database), PHP (Scripting Language). It is an open-source Web development environment which lets you create web applications. It is generally also referred as Web Stack.

Let us now setup LAMP development environment in Vagrant with below steps:

#1- Create a directory where we would be creating the instance:

mkdir -p ~/Vagrant/lamp

cd  ~/Vagrant/lamp

#2- Now we are required to initialize the Vagrant box. Here we are left with two options.

Read the rest of this entry »

 
No Comments

Posted in Cpanel

 

How to monitor server log files with Logwatch on Debian and Ubuntu

09 May

Logwatch is a system log analyzer and reporter. This tutorial covers the installation of Logwtach and explains various config options incl. reporting of notable log events by email.

 Installing Logwatch.

The following command will install Logwatch n your server.

Ubuntu

sudo apt-get install logwatch

Debian

apt-get install logwatch

 

Configuring Logwatch.

Read the rest of this entry »

 
No Comments

Posted in LINUX

 
 
buy generic ambien online order valium online buy phentermine online without prescription xanax buy online