Wednesday, December 12, 2012

Configure Cyberoam


user:admin
password:admin

Port A

IP configure
Network:Interface-Port A<------click A--------{For LAN}

Port B
IP:static
IP:202.166.198.100
Netmask: /24 (255.255.255.0)
Primary DNS:202.79.32.4
Gateway:202.166.198.1                   {fiber IP}

click ok


Port C

Netwotk Zone: WAN
IP:static
IP:202.79.44.100
Netmask:/24

Wireless
Network:wireless:wireless-gw------------->gateway
Weight: 2 for failover
DNS: 202.79.32.4

DHCP
Name:dhcp
Interface:PortA
lease IP range:172.16.16.20 -     172.16.16.25
netmask:/24
Domain name:wlink
lease:1140


Tuesday, December 11, 2012

Configure Raisecom Switch

Raisecom switch.

Used as a replace of media converter.


Configuration

user:raisecom
password:raisecom


>en
password:raisecom

#sh run

#interface port1
(config-port)#description Internet mgmt vlan
#switchport access vlan 8                                          {port 8 }

#end
#sh run

Data

#interface port 2
description DATA
#switch access vlan 1234                                            {client own vlan no.}
#end
#sh run


IP
# interface ip 0
(config-ip)# ip address 172.16.198.100 255.255.255.0 198  {fiber IP }
#end
#sh run

Gateway
#config
#ip-default-gateway 172.16.198.1                      {fiber gateway}


Access

#interface port 3
(config-port)#description Local_Access
(port)#switchport access vlan 198

Trunk
(port)#interface port 10
#description TRUNK
#switchport  trunk



Configure Mikrotik Router.


Tuesday, December 4, 2012

Instllation of Oracle 10g on Redhat Enterprise Linux 5.5

Installation of Linux.

Install linux as same process except choose /u01 as the file system of about 10GB

Installation of Oracle on RedHat Linux 5.5


Monday, September 5, 2011

Domain Name Server (DNS)

Features of DNS
1. Standard naming system manager
2. Name to IP resolution
3. IP to Name Resolution
4. Client-utilities are auto-installed 'bind-utils* ' RPM
5. Caching only server
6. Primary server
7. Secondary server
8. Reverse zone
9.IPV6 zone
10.Operates as non previledged user: 'named'
11.Default configuration binds to UDP: 53 on IPV4/ IPV6 loopback ( remote query will fail)
12. Load-balancing is provided in a proper configuration of :2 or more authoritative server

Daemon:  named
Script:     named
Port:       53
Log File: /var/log/messages

Packages
# rpm  -q  bind bind-chroot caching-nameserver---------------------->Server
# rpm  -q  bind-utils


Tasks



Saturday, August 27, 2011

Step by Step Installation of BSD.

OS:FreeBsd 8.2
HDD:15 GB
Memory: 1024
 Installation process………
1.Nepal
2.US
3.Standard
4. Message ---ok
5. Fdisk partition editor…..c…ok…ok…Q
6.Boot Manager-------standard
7. Free BSD Disklabel Editor------c------2048 M--------Swap partition
c------okj—FS-------ok-------/
adosal---1--------press  S
Custom base, [x]man, [x]catman, [x]proflibs,[x]ports, [x]kernel
[x]Generic
[x]src----All-----exit
[x]minimal
8.Cd/dvd Installation
Yes
9.Congress message---ok
Ethernet—emo===IPV6-NO—CONFIGURE DHCP server—yes ---
Host……poudel.net ……………..Domain poudel.net
9.N/w gateway------No
10.Netwosk service---No
11.SSH login--------No
12. FTP---No
13. NFS----No
14. FS Client-------No
15. Console-------Yes------font—swiss
16. Timezone------yes
17.CMOS---NO…ASIA..NEPAL--------NTP
18.Mouse-----No
19. User configure—package  ------No
20.user account----yes—user
Login ID---santosh  Group—whell
Full name---santosh Poudel
Password……….ur password
Root  password-------ur root password
Last Configuration---No……Exit Installation---Ok
21…..reboot
Login………….santosh……password………..ur password
22. check the net….ping yahoo.com
23.  #su –
bsd
cd/usr/ports--------if not found
sysinstall---configure….Distriibution…ports..CD/ROM…exit….Enter
press…..X

Saturday, August 20, 2011

Step by Step Installation of LAMP on CentOS 5.6

1. Minimum Hardware Requirements.
OS:- CentOS 5.6
Memory:- 1 GB
Harddisk:- 15 GB


First change the hostname as server.domain.com
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=server.domain.com
Change IP as
[root@client ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=08:00:27:E2:E4:CB
ONBOOT=yes
IPADDR=192.168.1.13
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
NM_CONTROLLED=yes

2.Installing MySQL 5.0
yum install mysql mysql-server mysql-devel

 MySQL starts automatically whenever the system boots
chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

Set passwords for the MySQL root account:
mysql_secure_installation

[root@server ~]# mysql_secure_installation


First time password (leave blank)

Set root password? [Y/n] y

New password: <-- yourrootsqlpassword
Re-enter new password: 
<-- yourrootsqlpassword
Remove anonymous users? [Y/n] <-- ENTER
 ... Success!
Disallow root login remotely? [Y/n] <-- ENTER
 ... Success!
Remove test database and access to it? [Y/n] ßENTER
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!
Reload privilege tables now? [Y/n] <-- ENTER
 ... Success!

3 Installing Apache2                                            
yum install httpd
chkconfig --levels 235 httpd on
/etc/init.d/httpd start
 browser  http://192.168.0.100, and we should see the Apache2 placeholder page:
Apache's default document root is /var/www/html
 configuration file is /etc/httpd/conf/httpd.conf.
Additional configurations are stored in the /etc/httpd/conf.d/ directory.

4.Installing PHP5
yum install php
etc/init.d/httpd restart
To confirm/testing PHP5

Document root of the default web site is /var/www/html.

We will now create a small PHP file (info.php) in that directory
[root@server ~]# vi /var/www/html/info.php
<?php
phpinfo();
?>
 we will call that file in a browser (e.g. http://192.168.1.13/info.php):

5Getting MySQL Support In PHP5
yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
 http://192.168.0.100/info.php in your browser and scroll down to the modules section again. You should now find lots of new modules there, including the MySQL module:

phpMyAdmin

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.i386.rpm

yum install phpMyadmin
We change the Apache configuration so that phpMyAdmin allows connections not just from localhost (by commenting out the<Directory "/usr/share/phpmyadmin"> 
vi /etc/httpd/conf.d/phpmyadmin.conf
#
#  Web application to manage MySQL
#

#<Directory "/usr/share/phpmyadmin">
#  Order Deny,Allow
#  Deny from all
#  Allow from 127.0.0.1
#</Directory>

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin


We will  change the authentication in phpMyAdmin from cookie to http:
vi /usr/share/phpmyadmin/config.inc.php
[...]
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
[...]

/etc/init.d/httpd restart---àTo restart apache
In the browser: http://192.168.1.13/phpmyadmin/: