Monday 31 March 2014

Tools For System And Network Admin


Are you a system administrator? If yes, then these tools will come in handy for you

System and Network Analysis: As an administrator, it is your job to monitor the system and network that you are presiding over. Analysis is an important part of being in the know of what's happening and when a particular action is required. That is where system and network analysis tools come in handy.

1. NTFS Permissions Explorer
2. Xirrus Wi-Fi Inspector
3. Whois
4. ShareEnum
5. PipeList
6. TcpView
7. The Dude
8. Microsoft Baseline Security Analyzer
9. WireShark
10. Look@LAN
11. RogueScanner
12. Capsa Free Network Analyzer
13. SuperScan
14. Blast
15. UDPFlood
16. IPplan
17. NetStumbler
18. PingPlotter
19. SolarWinds Free Permissions Analyzer for AD
20. Angry IP Scanner
21. FreePortMonitor
22. WirelessNetView
23. BluetoothView
24. Vision
25. Attacker
26. Total Network Monitor
27. IIS Logfile Analyser
28. ntop

System testing and troubleshooting: What's the next logical step after analysis your network? Of course, testing whether your analysis was right or wrong. To put it more clearly, as a system or network admin, it is one of your jobs to perform tests on your domain. These are the tools that let you do that.
29. Pinkie
30. VMWare Player
31. Oracle VirtualBox
32. ADInsight
33. Process Monitor
34. SpiceWorks Network Troubleshooting
35. RAMMap
36. Autoruns
37. LogFusion
38. Microsoft Log Parser
39. AppCrashView
40. RootKitRevealer

System and network management: These are tools that allow you to manage the network or system. In a way, they comprise of various tools that help an IT professional to manage a bunch of tasks or certain specific tasks.
41. Bitcricket IP Subnet Calculator
42. EMCO Remote Installer Starter
43. ManagePC
44. Pandora FMS
45. SNARE Audit and EventLog Management
46. OCS Inventory
47. Zenoss Core – Enterprise IT Monitoring
48. Unipress Free Help Desk
49. SysAidIT Free Help Desk
50. Cyberx Password Generator Pro

System and Network Management: These are tools that allow you to manage the network or system. In a way, they comprise of various tools that help an IT professional to manage a bunch of tasks or certain specific tasks.
51. KeePass Password Safe
52. TweakUAC
53. Microsoft Application Compatibility Toolkit
54. ExtraSpy Employee Monitor
55. NetWrix USB Blocker Freeware
56. FileZilla
57. Wake On Lan 2 .NET
58. Speccy
59. Active Directory Explorer (ADExplorer)
60. ADRestore

File and disk management: These are tools that allow you to perform various operations on your files. These include operations like de-duplication, copying, file comparison, merging, encryption, syncing, searching and renaming of files. These files can be invaluable additions to your arsenal as a system administrator.
61. Disk2vhd
62. Defraggler
63. PageDefrag
64. PsPad
65. MD5Summer
66. Universal Viewer
67. FreeCommander
68. Recuva
69. Steganos LockNote
70. Microsoft SyncToy
71. 7-Zip
72. PeaZip
73. Bacula
74. Areca Backup
75. DirSync Pro
76. Amanda Network Backup
77. WebSynchronizer
78. KGB Archiver
79. Iometer
80. Notepad++

Performance and availability monitoring: These tools allow you to monitor your system and network performance and monitor them for possible errors etc. They provide functions such as monitoring of memory utilisation, network utilisation, disk utilisation, CPU utilisation etc. In addition, you can also use the network monitoring tools in order to ensure that your network is performing at its optimal levels and is stable.
81. ManageEngine Free HyperV Performance Monitor
82. Nagios
83. ManageEngine Free Exchange Health Monitor
84. Kratos Exchange Monitor
85. ManageEngine Free Windows Health Monitor
86. ManageEngine Free Ping Tool
87. ManageEngine Free SQL Health Monitor Tool
88. ManageEngine Free VM Configuration Tool
89. Kratos Network Device Monitor
90. IxChariot QCheck
91. EasyNetMonitor

Remote management: As a system or network admin, you will be dealing with a lot of remote connections and clients. In order to manage this task efficiently, you need tools like the ones mentioned below. You can use them to remotely administer clients and servers, manage remote desktop sessions and various other functions.
92. Remote Desktop Manager
93. TightVNC
94. Microsoft RDCMan
95. Terminals
96. PsFile

All-in-one toolkits: Sometimes you do not want to use different tools for different purposes. You want tools that can manage multiple functionalities by themselves so that you don't have to switch over to a new one whenever your attention is needed in a new direction. These are all-in-one kits that fill up some of the gaps that exist in this respect.
97. Net Tools 5.0
98. ManageEngine Free Windows Tools 2
99. Axence NetTools Pro
100. Free IP Tools
101. PsTools

Open Source Backup Tools For Linux


There are different kinds of backup tools, which perform the same operating but in different ways and for different systems.
Experts have for a long time laid emphasis on backing up your system or network's data. The best way to ensure that you don't lose data is to use tools for creating backups.

Graphical User Interface (GUI): A graphical user interface always makes any task much easier than it would be otherwise. The same is applicable for tools that are used to backup your data in Linux.
1. Areca Backup
2. BackupPC
3. Bacula
4. fwbackups
5. Keep
6. Simple Backup Solution

Command-line: While GUIs do make the job easier, many Linux users still prefer to use the Command Line for as many tasks as possible. If you're such an user then these are the tools for you.
7. afbackup
8. AMANDA
9. Cedar Backup
10. Duplicity
11. Dump/restore
12. tar

Snapshot backups: In order to save time, some software create backups on a snapshot. This is a read-only copy of the data that can be used in order to restore lost information.
13. FlyBack
14. Time Vault

Thursday 20 March 2014

How To Find IP Conflicts In Linux

This tool sends ARP (Address Resolution Protocol) packets on local network to collect the addresses. If there is multiple MAC addresses claiming the same IP address, then there is conflict.
To install arp-scan on Ubuntu or Debian type:

To install arp-scan on Ubuntu or Debian type:
$ sudo apt-get install arp-scan
For Fedora, CentOS or Redhat:
$ sudo yum install arp-scan
To detect IP conflicts, run the following:
$ sudo arp-scan –I eth0 -l
An output example:
192.168.1.10   00:1b:a9:63:a2:4c       BROTHER INDUSTRIES, LTD.
192.168.1.30   00:1e:8f:58:ec:49       CANON INC.
192.168.1.33   00:25:4b:1b:10:20       Apple, Inc
192.168.1.37   10:9a:dd:55:d7:95       Apple Inc
192.168.1.38   20:c9:d0:27:8d:56       (Unknown)
192.168.1.39   d4:85:64:4d:35:be       Hewlett Packard
192.168.1.39   00:0b:46:e4:8e:6d       Cisco (DUP: 2)
192.168.1.40   90:2b:34:18:59:c0       (Unknown)
In this instance, the 19.168.1.39 IP is in conflict since it appears twice.

Friday 14 March 2014

Install Zabbix 2.2 (Network Monitoring Tool) on CentOS Redhat and Fedora

Zabbix is an open source software for networks and application monitoring. Zabbix provides agents to monitor remote hosts as well as Zabbix includes support for monitoring via SNMP, TCP and ICMP checks. Click here http://en.wikipedia.org/wiki/File:Zabbix.png to know more about zabbix.

Zabbix-Monitoring

This article will help you to step by step install Zabbix 2.2 Server on CentOS/RHEL 6/5 and Fedora Systems. Before starting installation read below basic requirements to run Zabbix 2.2.
  • Apache: 1.3.12 or later.
  • PHP: 5.3.0 or later.
  • MySQL: 5.03 or later.
  • OpenIPMI: Required for IPMI support.
  • libssh2: Required for SSH support. Version 1.0 or higher.
  • fping: Required for ICMP ping items.
  • libcurl: Required for web monitoring.
  • libiksemel: Required for Jabber support.
  • net-snmp: Required for SNMP support.

Step 1: Set Up Apache, MySQL and PHP

In order to use Zabbix we required a Web Server, database server and PHP to work. In this steps we are going to setup these services, You many skip this step if you have already configured it.
Install All Services
# yum install httpd httpd-devel 
# yum install mysql mysql-server 
# yum install php php-cli php-common php-devel php-pear php-gd php-mbstring php-mysql php-xml
Start All Services
# service httpd start
# service mysqld start
MySQL Initial Setup
Run following command to setup mysql initially and secure it
# mysql_secure_installation

Step 2: Configure Yum Repository

Before installing Zabbix first configure zabbixzone rpm repository in our system using following commands.
CentOS/RHEL 6:
# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm

CentOS/RHEL 5:
# rpm -Uvh http://repo.zabbix.com/zabbix/2.2/rhel/5/x86_64/zabbix-release-2.2-1.el5.noarch.rpm

Step 3: Install Zabbix Server with MySQL

Use following command to install Zabbix using mysql database.
# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

Step 4: Setup Zabbix Apache Configuration

Zabbix creates its own apache configuration file /etc/httpd/conf.d/zabbix.conf. Edit this file and just update timezone. More timezone’s
    php_value date.timezone Asia/Kolkata
After changing value restart Apache service.
# service httpd restart

Step 4: Create Zabbix MySQL Database

This installation is using mysql as backend of zabbix, So we need to create MySQL database and User for zabbixinstallation.
# mysql -u root -p

mysql> CREATE DATABASE zabbix CHARACTER SET UTF8;
mysql> GRANT ALL PRIVILEGES on zabbix.* to 'zabbix'@'localhost' IDENTIFIED BY 'SECRET_PASSWORD';
mysql> FLUSH PRIVILEGES;
mysql> quit
After creating database restore the default mysql database provided by zabbix. These files can be found at/usr/share/doc/zabbix-server-mysql-2.2.2/create/ directory.
# mysql -u zabbix -p zabbix < /usr/share/doc/zabbix-server-mysql-2.2.2/create/schema.sql
# mysql -u zabbix -p zabbix < /usr/share/doc/zabbix-server-mysql-2.2.2/create/images.sql
# mysql -u zabbix -p zabbix < /usr/share/doc/zabbix-server-mysql-2.2.2/create/data.sql

Step 5: Start Zabbix Server

After completing above setup, let’s start Zabbix server using following command.
# service zabbix-server start
After starting zabbix service, lets go to Zabbix web installer and finish the installation.

Step 5: Start Zabbix Web Installer

Zabbix web installer can be access using following url, Change FQDN as per you setup.
http://svr1.tecadmin.net/zabbix/setup.php

and follow the steps as per given screen shots below.
Zabbix Setup Welcome Screen
This is welcome screen of zabbix web installer. Go forward by click on next button.
zabbix-install-1
Check for pre-requisities
Check if your system have all required packages, if everything is ok click next.
zabbix-setup-2
Configure DB Connection
Enter database details created in Step #4 and click Test Connection. If database connection is correct, it will show ok message. After that click next.
zabbix-setup-3
Zabbix Server Details
zabbix-install-4
Pre-Installation Summary
This step will show the summary you have entered previous steps, so simply click next.
zabbix-install-5
Install Zabbix
zabbix-install-6
Zabbix Login Screen
Login to Zabbix using below default credentials.
   Username: admin
   Password: zabbix
zabbix-install-7






How Set Static IP Address In Ubuntu



root@vik:~# vi /etc/network/interfaces

#This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
auto eth0

# make it comment
# iface eth0 inet dhcp

# add these lines
iface eth0 inet static
address 192.168.1.30                                              # define IP address
network 192.168.1.1                                               # define network address
netmask 255.255.255.0                                           # define subnet mask
network 192.168.1.1                                               # define network address
gateway 192.168.1.1                                               # define default gateway
dns-nameservers 192.1.168.10                                # define name server

Now Save and Exit file with press Esc. wq!

root@vik:~# ifdown eth0 && ifup eth0 


Disable IPv6 if not needed.



root@vik:~# echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf 
root@vik:~# reboot
root@vik:~# ifconfig 




Koha Live DVD



Koha Live DVD is based on Ubuntu Linux and Koha 3.x. Live DVD customised for ready to use. Highlights are: 


  • Easy installation steps
  • Koha customised for ready to use
  • Zebra server enabled
  • Customised MARC fields in cataloguing
  • Webmin included for scheduling database backup
  • Build on Ubuntu 10.04 LTS
  • Detailed installation manual and Read Me file
  • Sample reports
Read installation manual and Read me file before try to install the DVD.

https://sourceforge.net/projects/kohalivedvd/files/

Easy to upgrade to new version of Koha.

Following commands will upgrade Koha to new version.

  • sudo apt-get update
  • sudo apt-get upgrade
  • apt-get install koha-common

No need to execute lot of commands.

Mist Server Installation on Ubuntu 12.04


MistServer is a highly versatile, lightweight, customizable open-source multi-standard multimedia server. MistServer configuration is easy to use for full CDN solutions applications.
Mistserver_pos
MistServer is Free, open and well-supported, Truly plug and play, Affordable, seamless and highly scalable control over your media servers. MistServer can be installed on any server to make multimedia server.
Download MistServer Binary here http://www.mistserver.org/index.php?title=Downloads
You can clone source from https://github.com/DDVTECH/
Check your server architecture Generic Linux 64-bit or Generic Linux 32-bit then download
# wget http://releases.ddvtech.com/download.php?pack=mistserver_64&ver=1.2.1
Now extract / copy files to /usr/local/bin/
Check quick start here http://www.mistserver.org/index.php?title=Quick_Start
# chmod a+x MistController
# MistController -a username:password -n
You need to point your browser to connect Mist Server Manager
http://server-ip:4242/#root@http://server-ip:4242/api
Mistserver Manager Login
Kill MistServer
# lsof -i:4242 (Find PID for MistServer)
# kill -9 PID
Find more info about MistServer from http://wiki.mistserver.org/
Compare MistServer with other Media Streaming Servers like Wowza or Red5 here http://www.mistserver.org/index.php?title=Compare
You can find Linux User Guide for MistServer from http://mistserver.org/index.php?title=User_Guide_(Linux)

How to Install Koha on Ubuntu 12.04 Server


Install Ubuntu /Xubuntu 12.04 LTS

Open a terminal and apply following commands,

sudo su
apt-get install leafpad

Add Koha package repository

wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
echo deb http://debian.koha-community.org/koha squeeze main | sudo tee /etc/apt/sources.list.d/koha.list

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install koha-common

Initial Configuration
Create a new file

leafpad /etc/koha/koha-sites.conf

Add the following lines and save.


DOMAIN=".yourdomain.org"  # Change this to be your domain. Any instance will be a subdomain of this string.
INTRAPORT="8000"  # TCP listening port for the administration interface
INTRAPREFIX=""  # For administration interface URL: Prefix to be added to the instance name.
INTRASUFFIX="-intra"  # For administration interface URL: Suffix to be added to the instance name.
DEFAULTSQL=""  # a value is generally not needed.
OPACPORT="8001"  # TCP listening port for the users' interface (if you skip this, the apache default of 80 will be used)
OPACPREFIX=""  # For users' interface URL: Prefix to be added to the instance name.
OPACSUFFIX=""  # For users' interface URL: Suffix to be added to the instance name.
ZEBRA_MARC_FORMAT="marc21"  # Specifies format of MARC records to be indexed by Zebra. Possible values are 'marc21', 'normarc' and 'unimarc'
ZEBRA_LANGUAGE="en"  # Primary language for Zebra indexing. Possible values are 'en', 'fr' and 'nb'

Adding ports
Open following file and add ports

sudo leafpad /etc/apache2/ports.conf

Add two ports for Koha

Listen 8000
Listen 8001

Apply following commands, 

sudo a2enmod rewrite

Configuration of  UTF-8 in MySQL and Apache 
Enable UTF-8 at MySQL 
Open a Terminal and type following command, 

sudo su 
leafpad /etc/mysql/my.cnf   

[Under the Basic settings section, add the following,] 

# UTF-8 Defaults for Koha 
init-connect='SET NAMES utf8' 
character-set-server=utf8 
collation-server=utf8_general_ci 

leafpad /etc/apache2/conf.d/charset 
[Add the following two lines in] 

AddCharset UTF-8 .utf8 
AddDefaultCharset UTF-8 

Save the file and close the editor.

Sax parser setup

leafpad /etc/perl/XML/SAX/ParserDetails.ini

Cut and paste the following command to the bottom of the file and save it.

[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces=1 



Instance creation
sudo apt-get install mysql-server

[Put a password for MySQL Root USER]

Apply following commands,

sudo apt-get clean
sudo koha-create --create-db library

Ubuntu MySQL security Tweak

sudo su
mysql -u root -p

[Enter the MySQL Root password when it ask]
Execute the following commands,

USE mysql;
SELECT host,user FROM user;
DELETE FROM user WHERE user=''; SELECT host,user FROM user;
FLUSH PRIVILEGES;
QUIT

Configuring Apache
Execute the following commands in a terminal. 

sudo a2dissite 000-default
sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2ensite library
sudo /etc/init.d/apache2 restart

Start web installation of Koha
The username to log in with will be koha_library and the password will be near the end of /etc/koha/sites/library/koha-conf.xml
Apply the following command to see the koha login password,

sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml 

Open following link,

http://127.0.1.1:8000  

Zebra rebuild command

sudo su
koha-rebuild-zebra -v -f library

Reference

http://wiki.koha-community.org/wiki/Koha_on_ubuntu_-packages#Enable_Modules_and_Site