public marks

PUBLIC MARKS from alamat with tag unix

18 May 2006

FreeBSD 5.5-RC1 Available

FreeBSD 5.5-RC1 is now available for testing. Things had been going well with the 5.5 BETAs up to the point we suspended making them so we could focus on the balance of the 6.1 release so we think 5.5 is pretty much ready to go. Unless big problems are reported with this RC we will start the 5.5 release builds this coming weekend and do the release early next week.

Adding Additional Hard drive on your Linux Machine

Normally one would ask? how do i add additional harddrive to my linux box.. well we could make use of utilities like fdisk, cfdisk or QtParted but it is fdisk that is im going to discuss below.

Some Unix Tips

These are some unix tips that might be helpful someday down the road. Feel free to contribute more unix tips by commenting on this article.

Monolithic kernel vs Microkernel - Which is the better OS architecture?

Anybody who reads the tech related news online would by now be aware of the fierce debate that is raging regarding the most suitable design of an operating system. On the one side are those who favor monolithic kernels - that is a kernel which take care of almost all the system tasks like interfacing between the sound card and the audio software, the graphics card drivers and so on. Linux is a perfect example of a monolithic kernel where most of these functions take place in the kernel space. And not surprisingly, Linus Torvalds is a strong proponent of monolithic kernels.

17 May 2006

Virtual Hosting With Proftpd And MySQL (Incl. Quota)

This document describes how to install a Proftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota with this setup.

Writing Linux firewall rules w/ IPTables

The Linux kernel, since version 2.0, has included the capabilities to act as a firewall. In those days, the kernel module was called ipfwadm and was very simple. With the 2.2 kernel, the firewall module became called ipchains and had greater capabilities than its predecessor. Today, we have IPTables, the firewall module in the kernel since the 2.4 days. IPTables was built to take over ipchains, and includes improvements that now allow it to compete against some of the best commercial products available in the market. This guide will give you some background on IPTables and how to use it to secure your network.

Take control of your bash_history

I spend most of my time working in front of a black and white terminal of remote SSH connections to various servers. This means that I use bash (as my preferred shell) most of the day. And bash history is a very important feature of bash that saves me much time by recalling previous commands I have typed. Here are some tricks on how you can optimize with some simple configurations settings the usage your bash history.

Bash Shell Shortcuts

Bash, which is the default shell in Linux contains a whole lot of key bindings which makes it really easy to use . The most commonly used shortcuts are listed below :

Building a Linux supercomputer using SSH and PVM

If you have a couple of old Linux boxes sitting around, then you've got the makings of a supercomputer. Dust them off, install Secure Shell (SSH) and Parallel Virtual Machine (PVM), and start your complex algorithms.

Secure Copy with SCP

Some of you may be familiar with ftp (File Transfer Protocol). It is not a good idea to use ftp over the Internet because it is a relatively insecure method of transfering files between computers. As most of you know, this protocol sends the user's password and data in the clear over the network, which leaves the user information and data susceptible to password sniffing and other network traffic interception. To transfer files between machines, you need to use scp. scp works very similarly to cp, except that the files you are copying reside on different machines.

11 May 2006

IRIX: CHECK FOR NEW CONFIGS

SGI loves to try and simplify your life with chkconfig switches to toggle various services on and off. After each upgrade, DOUBLE check the chkconfig switches. If something doesn't work all of the sudden check here.

10 May 2006

Kernel Panic: Defining System Inconsistencies

(Review) - Kernel panic is a web comic started and maintained by Christopher Wright. The main characters of this comic are a group of UNIX and Linux server administrators ordered to change the server farm over Nifty Doorways. It’s a humorous way of looking at otherwise complicated, mundane and dry topics, especially for those of you who deal with such scenarios constantly.

05 May 2006

REBOOTING BECAUSE OF FORK BOMBS

There is nothing more frustrating for an Administrator who has to reboot system due to fork bomb

GREP TEXT NOT BINARY

In some directories such as /etc you have a mix of file types.

KILLING MORE USERS

To kill all processes of a particular user from root at unix prompt type:

CLEANING DIRECTORIES

The creation of many temporary files in Unix during compilations, occupies a lot of memory space. This can be got rid of by using a simple script.

02 May 2006

Will Open Source Come to the Rescue?

Over the past months we have heard about how free and open source software (FOSS) is becoming more and more acceptable in the business community.

If Linus snubs new GPL, is that it for 'open source'?

Analysis Linus Torvalds doesn't want to change the Linux kernel's software license, and he said so again last week. For good measure this time, he threw in some inflammatory remarks.

01 May 2006

Some Unix Tips

These are some unix tips that might be helpful someday down the road. Feel free to contribute more unix tips by commenting on this article.

alamat's TAGS related to tag unix

based +   blog +   bombs +   boot +   computer +   crontab +   database +   distro +   download +   expect +   fast +   file +   files +   firewall +   fork +   freebsd +   help +   howto +   kill +   linux +   logins +   logout +   monitor +   mysql +   netbook +   news +   nfs +   os +   password +   places +   PVM +   reboot +   replication +   root +   rootkit +   running +   sample +   script +   security +   shell +   solaris +   ssh +   supercomputer +   system +   tech +   techy +   tips +   tracking +   trick +   tricks +   trojan +   tutorial +   ubuntu +   update +   value +   version +   worm +   x +