Category Archives: Linux

Installing, Configuring Asterisk on Linux, Making Calls Between Extensions

Asterisk is an open source architecture which is sponsored by Digium for developing communications applications. Asterisk turns a standard PC into a communications server.Asterisk powers  conference servers, VoIP gateways, IP PBX systems etc. It is used by both small & large businesses, carriers, call centers and by companies worldwide. Downloading Asterisk Download asterisk gui from below link: File to be downloaded: asterisk- Installing Asterisk Install downloaded Asterisk GUI on your linux system. Below is a guide to install asterisk on [...]

Tags: , , , , , , , ,

How to open Port 22 at Firewall Level Linux?

Edit your firewall script and append the following rule to restrict access to /sbin/iptables -A INPUT -s -m state –state NEW -p cp –dport 22 -j ACCEPT Save and close the file. OR, you can type the command as follows and save it to your firewall config file: # /sbin/iptables -A INPUT -s -m state –state NEW -p tcp –dport 22 -j ACCEPT # iptables-save > /path/to/your.firewall.conf Source: Tweet

Tags: , , ,

Installing ssh under Ubuntu / Debian Linux

You need to use the apt-get or aptitude command to install OpenSSH server under Debian Linux. Open a terminal and type the following command to update package database as root user: # apt-get update Type the following command to intall: # apt-get install openssh-server Sample outputs: Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: ssh-askpass rssh molly-guard ufw The following NEW packages will be installed: openssh-server 0 upgraded, 1 newly installed, 0 to remove and [...]

Tags: , , , ,

Installing SSH server in Linux

Linux operation system comes packed with OpenSSH client and server as follows from OpenBSD project. ssh - SSH client act as remote login program. sshd - SSH server (Daemon) act as server which provide secure encrypted communications between two untrusted hosts over an insecure network. sshd listens for connections from clients (default ssh tcp port # 22). It is normally started at boot from /etc/init.d/ssh or /etc/init.d/sshd script. It forks a new daemon for each incoming connection. The forked daemons handle key exchange, [...]

Tags: , , , , , , ,

Linux Directory Structure

Linux Directory Structure

The Linux directory structure is a tree-like hierarchy hierarchy of directories and files. At the base of the filesystem is the “/” directory, otherwise known as the “root” (not to be confused with the root user). Unlike DOS or Windows filesystems that have multiple “roots”, one for each disk drive, the Linux filesystem mounts all disks somewhere underneath the / filesystem. The following table describes many of the most common Linux directories.   / - The nameless base of the filesystem. All other directories, files, [...]

Tags: , ,

Installing Apache,JDK, JRE and MySQL (Running JSP Application) on Linux

Installing Apache, JDK, JRE and MySQL on Linux 64 bit system Download all the required software and tools to run a web application on Linux. Below are the list of software and their download url: MySQL – (Download MySQL-bench-5.0.92-1.glibc23.ia64.rpm ) JDK – (Download jdk-7u1-linux-x64.rpm) JRE – (Download jre-7u1-linux-x64.rpm) APACHE TOMCAT – (Download Binary Distribution Core Package – tar.gz (pgp, md5) ) apache-tomcat-6.0.35.tar.gz MYSQL GUI TOOLS – (Download Generic x86/64 Linux TAR (bundled dependencies)) Install MySQL rpm package downloaded [...]

Tags: , ,

Basic Commands for Linux

Following are the basic commands used to operate linux: man <command>  ­-  shows all information about the command Tweet

Tags: , ,