User Tools

Site Tools


opus:fall2012:mwitter3:unixpart1

unix Keyword 1

local host

Definition

Local host is the name given to your computer. Its ip address is 127.0.0.1 to the local network but for the outside network or internet it would have a different ip address. The ip address 127.0.0.1 is used for loopback. If you send out packets and get the same packets back using 127.0.0.1 it is loopback. People use it for setting up servers and finding a database.

References

Unix/Linux Keyword 1 Phase 2

Version Control

Definition

Version control refers to managing the changes in a document, source code, or other collection of information. The changes are usually documented by a revision number, timestamp, and who made the change. Revisions can then be compared with or restored to a previous revision. Version control uses a repository, which stores both the current and previous data of the files being version controlled. Version control repositories can either be local only, client-server, or distributed.

Local only repositories are outdated and obsolete. In a local only system, all users must share the same computer system. In a client-server version control system, users share a single repository. While not as outdated or obsolete as a local only repository, it is still not the optimal choice. A distributed revision control system (DRCS) creates a peer-to-peer network, where each user has their own local repository. Changes are then shared between repositories. One of the biggest upsides to a DRCS is that it does not rely on a central node, and therefore is more durable. Two of the most popular DRCS's are Mercurial and Git.

References

Demonstration

Demonstration of the indicated keyword.

Alternatively (or additionally), if you want to demonstrate something on the command-line, you can do so as follows:

lab46:~$ cd src
lab46:~/src$ hg push
http authorization required
realm: Lab46/LAIR Mercurial Repository (Authorization Required)
user: mwitter3
password: 
pushing to http://lab46.corning-cc.edu/hg/user/mwitter3
searching for changes
no changes found
lab46:~/src$ hg pull
http authorization required
realm: Lab46/LAIR Mercurial Repository (Authorization Required)
user: mwitter3
password: 
pulling from http://lab46.corning-cc.edu/hg/user/mwitter3
searching for changes
no changes found
lab46:~/src$ hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
lab46:~/src$ 
opus/fall2012/mwitter3/unixpart1.txt · Last modified: 2012/09/30 11:51 by mwitter3