Posts Tagged ‘root’

Windows Regedit

The windows regedit is an Windows administrative application giving you control over low-level core Windows Registry settings and components. The regedit gives you the means to control windows pretty much in every way you wish. With such level of control however it is also very easy to messy your operating system and make it unusable. So be careful of what you will change and if possible create backups of the initial values of the keys that you will change.

Windows regedit execution file resides in the root windows directory of your system. Usually this is C:\\Windows
The quickest way to access windows regedit is by going to Start -> Run and then type regedit Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (10 votes cast)

SSH tips and tricks. Dead or unresponsive ssh session

Even that I\”m a long experienced Linux user and administrator I have never used the ssh escape sequences that Linux provides. That, however, has changed in the last few weeks and I find it very useful for my everyday activities under ssh terminal.

In one of our previous tutorials I have demonstrated you how to make your ssh client send keep alive signals to the remote system. Even that this is a great tutorial and of course a great technique to avoid the moment when your ssh session becomes unresponsive just because it was opened a long time ago, ssh session keeps dying from time to time. In the past the way i was handling such cases was to kill the pid of my ssh session Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 9.0/10 (4 votes cast)

Setup MySQL cross replication

In this tutorial I will give you example configuration to setup cross-server replication in MySQL. The normal replication concept is pretty much explained in the term so I will not focus much on it. I will explain it just with a sentence so that you get familiar with the terminology.

Replication enables data from one MySQL database server (called the master) to be replicated to one or more MySQL database servers (slaves).

Cross-server replication is some small upgrade to the same concept. What it means is that the master and the slave change roles. Replication goes in something like a loop as shown in the picture below. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.2/10 (11 votes cast)

Configure better and rich command history log

In this tutorial i will guide you how to make more detailed log than what default bash history provides.

First of all I want to explain that the purpose of such log is generally to used in multi-user and multi access environments. There is generally no need to configure this on your home Linux system that is used only by you, nor you need that on your laptop. I have personally use this method on client servers where the client has full root access. By client i mean a company and that usually means a dozen of people with access to the server. I just want to keep track of who did what and at what time from which IP and in which directory.

That is pretty much all you need to know. Here is an example of how the log file looks like Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

Setup a new Mysql database through command line

In this tutorial I will demonstrate how you can quickly create a new MySQL database using the command line interface. Most of the dedicated servers that you can buy will come with a nice web interface to manage you mysql server. Something like phpmyadmin. But in case you are building a dedicated databases server you most definitely will need to know how to set your first database from the command line.

First thing you need to do is to login into your database server. For the purposes of this tutorial I have installed mysql on a Linux server but the approach is pretty much the same even if you operate on a server with Windows operating system.

On Linux the command to enter in Mysql Command Line Interfate (CLI) is pretty intuitive. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 1.0/10 (2 votes cast)

Buffalo WHR-G54S Admin Config

In this tutorial I will show you how to set all administrative options for Buffalo WHR-G54S Wireless Router. When logon to administration page go to: Admin Config >> Name/Password.

Here you can set AirStation Name up tp 32 symbols and root password. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.5/10 (10 votes cast)

Exclude columns from text files using awk scanning and processing language

Today I have faced a problem that in its root is very basic but i have never ever thought of it. It was kind of hard to find the solution on the Internet on the first page of Google so I hope this article will be useful for some of you. And of course I hope it gets to first page on your search ;)

Ok lets tell you what I wanted to do. Every one one of us(here by ”us” i mean Linux/*nix users) knows knows about the console history. Just cause i do not know how to explain something like that I would rather show you. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)

Configure/Set default gateway under FreeBSD

In this tutorial I will give answers on a couple of fundamental questions about FreeBSD . First sections will explain how to modify or set a default gateway in FreeBSD operating system and second is how to make the route persistent .
First I will introduce to you the route command. It is a native utility that every FreeBSD user uses. Here is a short output from the man pages.
For full manual check FreeBSD man pages
Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 10.0/10 (1 vote cast)

Simple IPTABLES configuration

What Is iptables?

At first place the most popular firewall / NAT package running on Linux systems was ipchains. Unfortunately it had a number of limitation and the primary one of which was that it ran as a separate program, not as part of the kernel. The Netfilter organization decided to develop a new product called iptables in order to provide more flexibility. As a result of this, iptables is considered a much more faster and secure alternative. iptables has now become the default firewall package installed under most Linux distributions. Read the rest of this entry »

VN:F [1.9.18_1163]
Rating: 0.0/10 (0 votes cast)