feed-image  Delivered by FeedBurner  ISSN 1836-5930





Poll

Is your Linux desktop ( NOT server ! ) secured with anti-virus software ?
 
Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
Jam's Ubuntu Blog
Androidtux
All For Linux

Linux News

Could Microsoft switch to Linux?

You'd expect, as my friend Preston Gralla did, that when someone says "proprietary software is eventually going to be doomed," and that Microsoft's future might best be served in releasing ...

Sunday, 8 November 2009

Read more ...

Windows 7 or Ubuntu 9.10 – battle of the operating systems

Operating systems have become like buses: you wait ages for an OS update, and then three turn up at once. Apple let Snow Leopard out of its cage in August, ...

Wednesday, 4 November 2009

Read more ...

Skype for Linux to go open source... eventually

Skype has been providing cheap and free VoIP, chat, and video conferencing features for Windows, Mac, and Linux for years. But just because a program works on Linux doesn't mean ...

Monday, 2 November 2009

Read more ...

Canonical Matures Linux-based Netbook OS

Canonical on Thursday updated its Linux distribution for netbooks, simplifying the interface and adding new programs that the company says will make it easier for users to access and use ...

Friday, 30 October 2009

Read more ...

Ubuntu Linux 9.10 'Karmic Koala' Starts Its Climb

In February, Ubuntu Linux founder Mark Shuttleworth announced that Ubuntu 9.10 would be codenamed the "Karmic Koala". Today, after months of development and buzz, the Karmic Koala is being officially ...

Thursday, 29 October 2009

Read more ...

Linux on Netbooks - Hope for the Future

The massive Hoopla surrounding the release of Windows 7 (aka Vista with Lipstick) got me wondering about the netbook market. As I see it, the first netbooks came along shortly ...

Tuesday, 27 October 2009

Read more ...

SCO thrashes on

Shame on me. I was sure that when SCO fired anti-Linux zealot and CEO Darl McBride, that Edward Cahn, the Chapter 11 Bankruptcy Court Trustee, would kill off SCO's IBM ...

Sunday, 25 October 2009

Read more ...

Microsoft Windows 7: The best Windows operating system yet

PC World opened the doors to its flagship London store at midnight for customers wishing to be first in the country to get their hands on Microsoft’s new operating system, ...

Thursday, 22 October 2009

Read more ...

Apple and Linux Forces Rain on Windows 7 Parade

Apple and Linux advocate IBM both tried hard to cramp Microsoft's style this week before the Windows 7 rollout even got under way. On Tuesday, Apple launched a new iMac, ...

Thursday, 22 October 2009

Read more ...

IBM and Canonical Launch Linux- and Cloud-based Desktop Software in the U.S.

Today IBM (NYSE: IBM) and Canonical are introducing a cloud- and Linux-based desktop package in the U.S. designed for use on a company's existing fleet of personal computers (PCs) or even low-cost netbooks. LINUX ...

Tuesday, 20 October 2009

Read more ...

Dell refunds PC user for rejecting Windows

An enterprising PC user has been refunded on his copy of Windows, after he rejected Microsoft's operating system and license Reg Reader Graeme Cobbett was paid $115 by Dell after he ...

Monday, 19 October 2009

Read more ...

Linux-Windows gap to remain for five years

The Linux desktop experience is now closer to the Windows environment than before, but the gap in mainstream adoption for the open source OS will not close anytime soon, says ...

Wednesday, 14 October 2009

Read more ...

Convert any computer to a virtual machine with Linux and Clonezilla

Last week Microsoft released Disk2VHD, a utility produced by its Sysinternals acquisition to convert a physical Windows hard disk into a Virtual PC disk image. While handy, Microsoft is treading ...

Tuesday, 13 October 2009

Read more ...

Cisco becomes a major Linux server vendor overnight

In the battle for supremacy among the software industry's Big Four, Cisco may be placing the biggest bets and angling for the biggest returns. Some still think of Cisco as ...

Sunday, 11 October 2009

Read more ...

Nokia ports Qt to Maemo 5

NOKIA has created a port for the Qt cross-platform framework to Maemo 5 in a bid to help developers create applications for the N900. Qt is designed to enable programmers to ...

Sunday, 11 October 2009

Read more ...

More in: Linux News

-
+
4
Linuxconfig.org
Howto CREATE BUNDLE UPLOAD and ACCESS custom Debian AMI using ubuntu

Author: Lubos Rendek


Introduction

This guide will provide all necessary steps on how to create, bundle, upload, run and connect Debian ETCH AMI on Amazon Elastic Compute Cloud (Amazon EC2). For this guide we have used a Ubuntu 9.04. However, any other Linux distribution can also be used as long as it contains java and ruby packages. For more information about Amazon EC2 read  here.

This page is not in any way an affiliate to Amazon Web Services. !

Prerequisites

  • Internet connection
  • registered user account for S3 and EC2 services with Amazon Web Services (AWS) 
  • Amazaon Access Key ID
  • Amazon Secret Access Key
  • Amazon Account Number
  • Amazon X.509 Certificate
  • at least 1GB free hard drive space
  • following packages need to be installed:
apt-get install ssh debootstrap ruby 
sun-java6-bin libopenssl-ruby curl

Before we start



 As you will see in the next sections of this guide many different files are required to successfully use Amazon's EC2 Web Services. For the sake of simplicity, we will create a directory "aws" in ~/ and store all necessary files there for a quick access. There will be three exceptions:

Read more...
 
C++ : Understanding pointers

Author: Lubos Rendek


Introduction

This article is intended to all programing enthusiasts on all levels who do wish to understand pointers in C++ language.  All code presented here is not a compiler specific and all examples will be written in plain ANSI C++. Debate about pointers can stretch for miles, and you would need to go really far to master it all. If you really want to run that far, this article gives you a clear understanding of fundamental concepts about pointers and prepares you for that journey. However, those who are new to C++ programming make sure that  you are able to write and run your own C++ “hello world” program, and also it is recommended that you have a basic understanding of C++ functions and classes. If you need to refresh your knowledge about how to compile and run C++ program, use functions and classes, please read an appendix at the end of this document before you continue reading this article.

What is a Pointer?

Pointer is a variable that stores a memory address. OK, that is simple ! But, what is a memory address then? Every variable is located under unique location within a computer's memory and this unique location has its own unique address, the memory address. Normally, variables hold values such as 5 or “hello” and these values are stored under specific location within computer memory. However, pointer is a different beast, because it holds the memory address as its value and has an ability to “point” ( hence pointer ) to certain value within a memory, by use of its associated memory address.

Retrieving a Variable's Memory Address

OK, enough talking and let's get down to the pointer business. To retrieve a variable's memory address, we need to use address-of operator &.

#include <iostream>
int main()
{
using namespace std;
// Declare an integer variable and initialize it with 99
unsigned short int myInt = 99;
// Print out value of myInt
cout << myInt << endl;
// Use address-of operator & to print out a memory address of myInt
cout << &myInt << endl;

return 0;
}

OUTPUT:

99
0xbff26312

The first line of the output contains an integer value 99 and on the second line, there is a memory address of myInt printed out. Please note that your output will be different.


Assigning a Variable's Memory Address to a Pointer

Before we can assign a memory address to a pointer, we need to declare one. Declaring a pointer in C++ is as simple as to declare any other variable with one single difference. Asterix symbol " * " needs to be add and located after variable type and before a variable name. One rule has to be followed when assigning memory address to a pointer: pointer type has to match with variable type it will point to. One exception is a pointer to void, which can handle different types of variables it will point to. To declare a pointer pMark of type unsigned short int a following syntax is to be used:

#include <iostream>

int main()
{
using namespace std;

// Declare and initialize a pointer.
unsigned short int * pPointer = 0;
// Declare an integer variable and initialize it with 35698
unsigned short int twoInt = 35698;
// Declare an integer variable and initialize it with 77
unsigned short int oneInt = 77;
// Use address-of operator & to assign a memory address of twoInt to a pointer
pPointer = &twoInt;
// Pointer pPointer now holds a memory address of twoInt

// Print out associated memory addresses and its values
cout << "pPointer's memory address:\t\t" << &pPointer << endl;
cout << "Integer's oneInt memory address:\t" << &oneInt << "\tInteger value:\t" << oneInt << endl;
cout << "Integer's twoInt memory address:\t" << &twoInt << "\tInteger value:\t" << twoInt << endl;
cout << "pPointer is pointing to memory address:\t" << pPointer << "\tInteger value:\t" << *pPointer << endl;

return 0;
}

OUTPUT:

pPointer's memory address:              0xbff43314
Integer's oneInt memory address: 0xbff43318 Integer value: 77
Integer's twoInt memory address: 0xbff4331a Integer value: 35698
pPointer is pointing to memory address: 0xbff4331a Integer value: 35698

C++ pointer example diagram

The diagram above is a high level visual abstraction of how are variables stored within a computer memory. Pointer pPointer starts at memory address 0xbff43314 and takes 4 bytes. Pointer pPointer holds as a value a memory address of a short int twoInt ( 2 bytes ) which is 0xbff4331a. This address is stored as a binary data within a pointer's memory space allocation. Therefore, dereferencing a pointer with a memory address 0xbff4331a will indirectly access a value of twoInt which is in this case a positive integer 36698.

Read more...
 
APACHE web server and SSL authentication

Author: Jaroslav Imrich


apache mod SSLThis article describes configuration techniques of module mod_ssl, which extends a functionality of Apache HTTPD to support SSL protocol. The article will deal with authentication of server (One-way SSL authentication), as well as it will also include authentication of clients by using certificates (Two-way SSL authentication).

Introduction

If you have decided to enable a SSL ( Secure Sockets Layer ) protocol on your web server it may be because you would like to extend its functionality to achieve an integrity and confidentiality for a data transferred on unsecured networks. However, this protocol with the combination of PKI ( Public Key Infrastructure ) principles can also along the side of integrity and confidentiality provide authentication between both sides involved in the client-server communication.

One-way SSL authentication allows a SSL client to confirm an identity of SSL server. However, SSL server cannot confirm an identity of SSL client. This kind of SSL authentication is used by HTTPS protocol and many public servers around the world this way provides services such as webmail or Internet banking. The SSL client authentication is done on a “application layer” of OSI model by the client entering an authentication credentials such as username and password or by using a grid card.

Two-way SSL authentication also known as mutual SSL authentication allows SSL client to confirm an identity of SSL server and SSL server can also confirm an identity of the SSL client. This type of authentication is called client authentication because SSL client shows its identity to SSL server with a use of the client certificate. Client authentication with a certificate can add yet another layer of security or even completely replace authentication method such us user name and password.

In this document, we will discuss configuration of both types of SSL authentication one-way SSL authentication and two-way SSL authentication.

Read more...
 
Choosing the right Linux File System Layout using a Top-Bottom Process

 

Author: Pierre Vignéras
Contact: pierre@vigneras.name
Submited: 31.07.2009


Abstract:

As you may probably know, Linux supports various filesystems such as ext2, ext3, ext4, xfs, reiserfs, jfs among others. Few users really consider this part of a system, selecting default options of their distribution's installer. In this article, I will give some reasons for a better consideration of the file-system and of its layout. I will suggest a top-bottom process for the design of a ``smart'' layout that remains as stable as possible over time for a given computer usage.

Introduction

The first question that you may ask is why are there so many file-systems, and what are their differences if any? To make it short (see wikipedia for details):

  • ext2: it is THE Linux fs, I mean, the one that was specifically designed for linux (influenced by  ext and Berkeley FFS). Pro: fast; Cons: not journalized (long fsck).
  • ext3: the natural ext2 extension. Pro: compatible with ext2, journalized; Cons: slower than ext2, as many competitors, obsolete today.
  • ext4: the last extension of the ext family. Pro: ascending-compatibility with ext3, big size; good read performance; cons: a bit too recent to know?
  • jfs: IBM AIX FS ported to Linux. Pro: mature, fast, light and reliable, big size; Cons: still developed?
  • xfs: SGI IRIX FS ported to Linux. Pro: very mature and reliable, good average performance, big size, many tools (such as a defragmenter); Cons: none as far as I know.
  • reiserfs: alternative to ext2/3 file-system on linux. Pro: fast for small files; Cons: still developed?
There are other file-systems, in particular new ones such as btrfs, zfs and nilfs2 that may sound very interesting too. We will deal with them later on in this article (see 5).

So now the question is: which file-system is the most suitable for your particular situation? The answer is not simple. But if you don't really know, if you have any doubt, I would recommend XFS for various reasons:

Read more...
 
«StartPrev1234567NextEnd»

Page 1 of 7