Skip to main content

SSH command line tool How To

Opening a SSH session to a remote machine

The SSH command line to open a session to a remote machine is called ssh.
The syntax is:

ssh remote_machine_ip/hostname
In this case, you will open a SSH session using your currently logged in user as a user for the remote machine,

the SSH command will interpret the command to:

ssh your_current_logged_in_user@hostname
Example:

[root@geek-kb ~]# whoami

How To: Set up Apache Virtual Hosts

In this article I will teach you the options available to create Apache Virtual Hosts in order to serve more than one site on the same machine. These scenarios are those involving multiple web sites running on a single server, via name-based or IP-based virtual hosts. Some info from wikipedia: Virtual hosting is a method for hosting multiple domain names (with separate […]

LVM Tutorial: Logical Volume Manager

In this tutorial, I will teach you how to use LVM. Some info from wikipedia: LVM is a logical volume manager for the Linux kernel; it manages disk drives and similar mass-storage devices. The term “volume” refers to a disk drive or partition thereof. It was originally written in 1998 by Heinz Mauelshagen, who based its design on that […]

Metasploit Framework installation

Metasploit Framework installation - Geek-KB.com

1. The articles contained on the website are for educational purposes only encouraging users and Admins to better understand the environmental security measurement and enable safer digital environment.
Geek-KB.com does not encourage, condone, or orchestrate attempts of hacking into other servers or any other illegal activities. All actions taken by users are strictly independent of Geek-KB.com. We are not responsible for any misuse of the techniques listed on this website.
2. Geek-KB.com has the sole discretion to remove/edit users, articles, external resources, or any other user-submitted content to protect itself from legal harm. This legal disclaimer may be modified at any time without notice.
3. Any damage caused by using any of the techniques taken from https://www.geek-kb.com is at your own risk and responsibility;

How To: MySQL replication – Master / Sla

MySQL replication enables one database server (we’ll call it the Master server) to be replicated to one or more database servers (we’ll call those the Slave servers). With MySQL, replication is asynchronous. This means your Slave servers do not need to be connected permanently to receive updates from the Master – for example, you could […]

Memcache Linux installation

Memcache

Memcache Linux installation process:   This post is more like a note to me, so that in future I can look up for steps involved in installing memcache on Linux servers like Centos or RHEL. If you have tried YUM and APT-GET and still could not install the memcache then read on, to find the alternate( read […]