public marks

PUBLIC MARKS from alamat with tags blog & unix

2010

How Do I Scan My Linux System For Rootkits, Worms, Trojans, Etc.?

(via)
Either install the package that comes with your distribution (on Debian you would run apt-get install chkrootkit

2009

How To Set Up Database Replication In MySQL

(via)
This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync.

2008

Linux Tip of the Day - Reset MYSQL password

If you forgot your mysql password and you have root access, just follow this steps.

Linux Tip of the Day - Transferring mulibyte files

Do you find trouble in transferring multibyte binary data files to Windows and then read through HexEditor ?

Linux Tip of the Day - Find and edit strings

Ever found a need to find for a particular string across the file system and edit all those files which contains that particular string?? Here is a simple way.

Linux Tip of the Day - Removing files with bad filenames

If a file has a special character, Unix will try to interpret the character. Renaming these type of files cannot be done with a simple “mv”…..it will have to be done using the file’s inode.

Linux Tip of the Day - tail with color

(via)
Here is how to monitor a growing file and have it highlight a KEYWORD:

2006

Adding disk on Linux

Linux hard disk device names follow a specific standard. SCSI disks all start with sd and IDE disks with hd. After this comes a letter that identifies the unit number of the disk, so for example, the first disk would be a, the second would be b, the third would be c, and so on.

Protecting content with .htaccess files

.htaccess files are very versatile, and can easily become very complex. This document contains enough information to set simple access restrictions/limits on a directory in your web space. Remember to upload .htaccess files, and .htpasswd files using ASCII mode. This is an option is available in most FTP clients.

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.

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.

alamat's TAGS related to tag blog

3d +   addict +   aliens +   anito +   apache +   apple +   cinema +   comedy +   computer +   cult +   database +   distro +   dralnux +   email +   entertainment +   explorer +   files +   firewall +   freebsd +   from +   fun +   gadget +   game +   games +   google +   hacking +   hacks +   hardware +   Hatton +   help +   image +   improve +   inspirational +   ip +   ipod +   java +   lg +   linux +   mac +   maker +   malware +   manny +   marvel +   mass +   microsoft +   mobile +   monster +   more +   movie +   movies +   mysql +   myths +   network +   networking +   news +   pacman +   pacquiao +   passwords +   photo +   photography +   picture +   pinoy +   post +   pro +   religion +   replication +   review +   reviews +   roach +   rootkit +   scenery +   security +   shell +   shop +   signs +   software +   spam +   spammers +   spyware +   stories +   sun +   tech +   techy +   theater +   tips +   traffic +   tricks +   tutorial +   tv +   tweET +   tweeter +   unix +   update +   video +   want +   watch +   windows +   wireless +   wordpress +   yahoo +