/var/net/sys/admin/blog

As posted on openSUSE website dated Oct.1 2009, their latest release of 11.2 M8 is now ready for download and you can be one to first to test for bugs or any issues.

There are some important updates and additional packages included on the release.

Changes between openSUSE 11.2 Milestone 7 and Milestone 8 are:
* Linux 2.6.31 final
* more 11.2 theming is in place
* -lang packages are built as noarch
* bluez 4.5.1, PulseAudio 0.9.17
* Samba 3.4.1, php 5.3.0, postresql 8.4.1
* Firefox/KDE integration

For complete article:

http://news.opensuse.org/2009/10/01/opensuse-11-2-milestone-8-released/

1. Wonder why you can’t send email from your linux server?

2. Is your mail server or 3rd party email hosting provider requires authentication for your outgoing server to send out emails successfully?

3. Are you using a default sendmail email client on your linux box and wonder why your getting maillog errors such as this:

——-sample sendmail maillog error from my nagios server—————
Oct  2 17:03:54 nms sendmail[25657]: n9293qiw025655: to=<nagios@freelinuxtutorials.com>,

ctladdr=<root@nms.freelinuxtutorials.com> (0/0), dela0928, relay=smtp.freelinuxtutorials.com.

[216.200.145.17], dsn=5.1.1, stat=User unknown
Oct  2 17:03:54 nms sendmail[25657]: n9293qiw025655: n9293siw025657: DSN: User unknown
Oct  2 17:03:54 nms sendmail[25657]: n9293siw025657: to=<root@nms.freelinuxtutorials.com>,

Assuming you already have mysql server installed on your machine, the reason you are
installing phpmyadmin is to ease  your administration of  your MySQL like database creation and deletion, create/alter/drop/view tables and execute any SQL statements, privilege and trigger management, stored procedures, and backup/ maintenance

phyMyAdmin is a tool built in PHP to manage and administer your MySQL servers via your browser.

Requirements:

1.PHP
2.MySQL
3.php-mysql
4.gd/gd-devel
5. Apache

There are ways to sync two MySQL tables in a non-GUI method such as mysql triggers or by Maatkit’s MySQL Table Sync, but it’s not that user-friendly.

Of course, if  you want the GUI-type, there’s always the ever dependable phpMyAdmin or the NaviCat program.

On this tutorial, I will be implementing the “TableSyncer” tool, a ruby gem built that was originally detailed on http://code.google.com/p/ruby-roger-useful-functions/wiki/TableSyncer

This was tested on CentOS 5.3 32-bit running in Pentium4@3.0GHz 1G machine.

Here are the step-by-step procedure:

1. Download rubygem by “yum” or by source. This is how I built the rubygem
#wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar zxvf rubygems-1.3.5.tgz

I had the chance to work as a systems administrator in an e-commerce company and they have Linux dedicated servers leased/purchase from a hosting provider.
Dedicated servers compared to a shared hosting is you have full control of the box. You can do whatever you want with the box, implement services and of course a full root access with the machine.

Step by Step Procedure

Step 1. Add 2 LAN cards to the Linux box. You need to have two(2) NICs, one for your private network and one for the public IP address

Step 2. Check if your networks cards are properly detected and installed. You can use the command “dmesg” to verify if it was recognized during the boot-up process

Sample output:
#dmesg |grep eth

e100: eth0: e100_probe: addr 0xfa061000, irq 177, MAC addr 00:10:DC:5E:A8:BF
e100: eth1: e100_probe: addr 0xfa060000, irq 185, MAC addr 00:10:DC:5E:A8:C0
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex

Setup VNC Server in Fedora

“Virtual Network Computing (VNC) is a desktop protocol to remotely control another computer. It transmits the keyboard presses and mouse clicks from one computer to another relaying the screen updates back in the other direction, over a network.” -WikiPedia-
This article describes in brief how to configure VNC server instances for one or multiple users on a remote machine, how to use VNC to start graphical applications on boot and finally how to enhance security by connecting to the server through encrypted SSH tunnels.

The DNS server was deployed in CentOS release 4.4, ,kernel ver. 2.6.9-42.0.3.Elsmp, Intel Xeon 3.2 GHz 2G RAM

Software Requirements
Any Linux/Unix flavors

Packages needed:

a.    Daemontools  (http://cr.yp.to/daemontools.html)
b.    UCSPI-TCP (http://cr.yp.to/ucspi-tcp.html)
c.    Djbdns (http://cr.yp.to/djbdns.html)
d.    Dnscache (http://cr.yp.to/dnscache.html)
e.    Tinydns (http://tinydns.org)
f.    Vegadns ( for web interface of tinydns, optional) (http://www.vegadns.org/)
g.    MySQL server (optional)
h.    Php, gcc, apache web server, perl, patch

Before installing djbdns , install daemontools and ucspi-tcp

1.DAEMONTOOLS

a. Create a /package directory:
mkdir -p /package
chmod 1755 /package
cd /package
b. Download the package daemontools-0.76.tar.gz into /package. Unpack the daemontools package:
tar zxvf daemontools-0.76.tar.gz

I.    Introduction

This document will discuss installation and configurations how-to on setting up POP3 using Dovecot (www.dovecot.org), SMTP using Sendmail (www.sendmail.org), Email Security System using MailScanner (www.mailscanner.info)  and a Web-based front-end to MailScanner using Mailwatch (mailwatch.sourceforge.net)

II.    Planning the Installation

System Requirements:

a.    Linux Operating System (Kernel 2.2 and later)
b.    Apache Web Server
c.    Perl and perl modules
d.    GCC
e.    MySQL
f.    Vi editor
g.    PHP (w/ MySQL & GD Support)
h.    DBD
i.    DBD-MySQL
j.    wget
k.    unzip/unrar
l.    Dovecot
m.    Sendmail
n.    MailScanner/ClamAV/SpamAssassin
o.    Mailwatch

In this tutorial, we will be cloning PC desktop machines using an opensource tool called “G4U”.

g4u (”ghosting for unix”) is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP. The floppy/CD offers two functions. more details on –>   http://www.feyrer.de/g4u/


 

About FLT

This site is dedicated to everyone who likes to learn and explore the beautiful world of Linux. If you have comments and suggestions, please feel free to email at comments@freelinuxtutorials.com. I am happy to serve and share things esp. that is free and enjoyable as Linux.