Skip to content

Recent Articles

30
Jan

Sample Java Path Setting in Windows

Sample eg:

System variables

Variable Name: Path
Variable value:  ;C:\Program Files\Java\jdk1.6.0_14\bin

User Variables For Admin

Variable Name:  CLASSPATH
Variable value:  .;C:\Program Files\Java\jdk1.6.0_14\lib\tools.jar

Download Java :

If you are using torrent client, you can also download .torrent file

19
Sep

Learn PHP Framework ,CodeIgniter..

CodeIgniter is an open source web application framework for use in building dynamic web sites with PHP. “Its goal is to enable developers to develop projects much faster than…writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries.” The first public version of CodeIgniter was released on February 28, 2006. The latest stable version 2.0.3 was released August 20, 2011.

CodeIgniter is loosely based on the popular Model-View-Controller development pattern. While view and controller classes are a necessary part of development under CodeIgniter, models are optional.

CodeIgniter is most often noted for its speed when compared to other PHP frameworks.In a critical take on PHP frameworks in general, PHP creator Rasmus Lerdorf spoke at frOSCon in August 2008, noting that he liked CodeIgniter “because it is faster, lighter and the least like a framework.”

A notable feature of the license is the requirement to “indemnify … the authors of the Software … for any … third-party claims, actions or suits … arising from your use of the Software”.

Let us start Learning…

1) CodeIgniter User Guide

2) Everything You Need to Get Started With CodeIgniter

3) CodeIgniter From Scratch: Day 1

4) How to Build a Shopping Cart using CodeIgniter and jQuery

5) Building a basic PHP E-Commerce Application using CodeIgniter Framework

6) Creating a Portofolio CMS with Codeigniter
7) Codeigniter shopping cart v1.1 Part 1

8) 40+ CodeIgniter Framework Tutorials for Kick-Ass PHP Application

9)  CODEIGNITER RESOURCES Tutorials & help

 

 

15
Sep

Client Server Networking/Domain Network

Before start

1) Install Windows 2003 or latest server os in your server machine.

2) Install any client OS in your client machines. eg. Windows 7 Home basic.

Our Requirements are

1) We want to access internet in server machine and also share it to client machines.

2) We want to set authentication of login from the client machine from the server machine, thus the server admin can control the client machines. Also  set separate permission to the each user accounts.

First of all we want to setup simple LAN networking using switch by setting manual IP’s for each machine.IP are used to identify each machines in the network.

A)Settings in Server Machine

We need two LAN Cards in server ,one for the internet access,and another for connecting to local network.

See the settings in server machine LAN card(cart that connect to internet) Properties.Use Obtain IP address automatically,and DNS server address automatically.

Next step is that the first lan card internet is to be shared to other lan card that connected to local network.thus all local network machines can access internet through the  second LAN card,that means it ip became the gateway of the client machine.

For sharing the internet from first lan  card to second we have to check the option in the LAN card properties”Allow other network users to connect through this computer’s Internet Connection”

“Please check the screen shot below”

After doing this  an IP will generate at the second LAN card and change manually the IP address,For eg. you can change the ip address in LAN card 2 ad below.

IP address: 192.168.0.1
Subnet Mask:225.225.225.0

Please check the screen short of LAN card 2 in the server machine.

Now we finish the simple LAN networking  settings in server machine,Now we have to move to client machine,

B)Settings in Client Machine

IP Address – 192.168.0.2
Subnet Mask – 255.255.255.0
Default Gateway – 192.168.0.1

f you not set DNS server in your server machine put DNS server info of your internet provider ,just ask to the internet provider of your area.

eg. BSNL users in India u can find the DNS Server something like this.

(For BSNL users in India u can find the DNS Server Info by opening the modem ip 192.168.1.1 in browser then put the user name and password as “admin”.After logged in , note down the DNS Server info from the Home page.)

Primary DNS Server: 218.248.245.1
Secondary DNS Server: 218.248.255.141

check out

Our Requirements are

1) We want to access internet in server machine and also share it to client machines.

2) We want to set authentication of login from the client machine from the server machine, thus the server admin can control the client machines. So web want to set separate permission to the each user accounts.

We completed the first requrement

1) We want to access internet in server machine and also share it to client machines.

Next we have to install Active Directory and setup DNS server on  Windows Server 2003(Server Machine).

Before  Start formate the drives in the server as NTFS.To create Domain Controller you must format as NTFS.

To create Domain Controller(Client Controlling Server)

Step 1: Go to Run ->put cmd ok.

Step 2: Command Prompt will open type dcpromo there.Then a Active Directory   wizard will open then click Next.Select Domain Controller for a New Domain,then click Next.Select Domain tree in a New forest then click Next.Then Type  FQDN Name (Domain name some thing like yourcompany.com),name must be contain any one of extention such as.com,.edu,.org.Then click Next.Then the wizard show an option to install DNSServer,select the option and click Next.Thus the system will configure as Domain controller,thus the server get the power to control the clients connected to domain.

Step 3: Next is that you have to connect the clients to the domain controller.For that,you have to configure the clients.

If you already do the below step ,then no need to change the setting.I alredy metion this at(If you already do this step ,then no need to change the setting.I alredy metion this setting above ( ” B)Settings in Client Machine”)

Go to My network places-then LAN Properties.Double click TCP/IP from the list.Here you have to provide the IP address and subnet mask.In Prefered DNS Server provide the IP address of Server.

Step 4: Next go to My Computer->Properties->Change,Select Domain from Member of.and provide domain name of the server.

Then click More  , Provide “Primary DNS suffix of this computer” as the domain name itself.

 

Then click Ok.Then a window appers to provide Username password.Username is the domain controller username and password is domain controller password.

Then system need to restart.

Then do these steps to all client machines.

You can create client users  and also restrict the user permition from the domain controller .

Afrer creating users ,then you can login user accounts from client machines.