Friday, April 1, 2011

Preview Of O P Agarwal Iit Chemistry

SVN Service

bring as a note of color, is the link to a Microsoft Active Directory 2003 to validate the identity of users using the same security infrastructure that can exist in any business. To support the SVN service use as a Linux operating system business class called "CentOS", which can be downloaded from the Internet at no cost ...

Hello friends this time bloggers show you how you can install an SVN service, a version control system which, although mainly used to coordinate the work to share source code can also be very useful in documenting the administrative sector, taking great importance when mobile workforce.
What we bring as a note of color, is the link to a Microsoft Active Directory 2003 to validate the identity of users using the same infrastructure security that can exist in any business. To support the SVN service use as a Linux operating system business class called "CentOS", which can be downloaded from the Internet free of charge
While the sizing of the hardware goes hand in hand with the project's size, there are certain basic rules to follow. Today, given the advances in technology and declining prices of processors, no longer makes sense to continue using 32-bit systems, so one should think the whole 64bit. And to take advantage of the processor we accompany it with at least 4GB of RAM settings, we must also take into account the principles of designing a Row server (File Server), which recommends having several small hard and fast as opposed to one large and slow, you have to give much importance to the internal cache size of each disk and if possible acquire disk SCSI or SAS, and appropriate controllers, the most desirable which allow raid (disk arrays). We must also bear in mind that all information in the records pass through the network, which network cards should be very good. To have two interfaces they could be put in a bond or arrangement so as to have higher availability and bandwidth. In view
described here have minimally the following list:
  • CPUs: 1 (AMD or Intel, 4 cores)
  • RAM: 4GbGB
  • Storage: 72GB = SDA SDB SDC = = 300GB 300GB 300GB SDD =
  • Network: Two plates Giga Ethernet in the LAN-connected bond

Software used

As is our custom and as far as possible we try to encourage the use of open source technologies, using Linux, Apache web server and subversion, which configured to validate users against an ADS2003.

OS will follow the basic installation procedures such as youtube . What we do is install the OS on the first disc of 72GB and make a RAID 5 array with the other records, possibly for software or hardware if the controller function and also incorporate es compatible con linux, en este arreglo de discos pondremos los datos del svn. Al finalizar la actualización, agregamos el repositorio de rpmforge, para obtener una versión más nueva a la provista por CentOS.

Para instalar este nuevo repositorio bajamos:

http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

a continuación instalamos la clave GPG de DAG

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

ahora instalamos el paquete

rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

Al tener disponible the repository we can proceed to install the necessary module for apache svn:

# yum install mod_dav_svn-1.6.1912-0.1.el5.rf

Web Server

web service is based on Apache, which has more than ten years of leadership in the OpenSource world. This web server offers the possibility of adding modules to expand their basic characteristics. Centos following criteria for configuration, create the directory / etc / httpd / conf.d / a file to our own virtual server settings by name for the site. Also add a web interface called websvn svn ( http://websvn.tigris.org/ ), for ease of use when you have a local client on the notebook. Also create a user in ADS 2003 to be used by the apache user is validated. respect to the svn itself, create the directory containing the repository / var / www / svn /

# cd / var / www

# mkdir svn

# cd svn

#

svnadmin create

Administration

Sales # svnadmin create

# svnadmin create

Hr

and svnweb directory in / var / www / svnweb. Here we install the package downloaded from the internet and directory ". / Include /" in the config.php file to verify there following

$ config-> useAuthenticationFile ('/ etc / httpd / svn.access');

$ config-> parentPath ('/ var / www / svn /');

Below will mark in bold the relevant parties respect the security settings of the ADS2003.

------ Contents / etc/httpd/conf.d/00-svn.metalex.conf ---------

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

LimitXMLRequestBody 2000000

NameVirtualHost *:80

ServerName svn.metalex.com.ar

DocumentRoot /var/www/svnweb

ErrorLog /var/log/httpd/svn_error_log

LogLevel warn

CustomLog /var/log/httpd/svn_access_log combined

ServerSignature On

AuthType Basic

AuthName "Metalex SVN - Principal"

AuthBasicProvider ldap

AuthLDAPURL ldap://domsrv.metalex.com.ar:389/cn=Users,dc=metalex,dc=com,dc=ar?sAMAccountName?sub?(objectClass=person)

AuthLDAPBindDN "svn@metalex.com.ar"

AuthLDAPBindPassword Uno2345sies

Require valid-user

AuthzLDAPAuthoritative off

# Direct access to the repositories.

DAV svn

SVNParentPath / var / www / svn

SVNListParentPath Wed

control policy AuthzSVNAccessFile / etc / httpd / svn.access

AuthType Basic

AuthName "SVN Metalex - Principal"

AuthBasicProvider ldap

AuthLDAPURL ldap: / / domsrv.metalex.com.ar: 389/cn = Users, dc = metalex , dc = com, dc = ar? sAMAccountName? sub "(objectClass = person)

AuthLDAPBindDN "svn@metalex.com.ar"

AuthLDAPBindPassword Uno2345seis

require valid-user

SetOutputFilter

DEFLATE Create a file / etc / httpd / svn.access svn to handle security, create user groups here (also might be taken ADS groups is more complicated!) and types of access to the repos.

[groups]
Administration = user1, user4
hr = user2, user3, usuario5
sales = usuario6, usuario8, usuario9

[Directors: /] @

Administration = rw * =

[Sales: /] @ sales = rw


user4 = r * =

[Hr: /]
@ hr = rw * =


Well friends I hope they can use to make up their own services and comment me as I was. Good luck

0 comments:

Post a Comment