Thursday, January 26, 2012

HOW TO INSTALL SUBVERSION WITH APACHE ON LINUX (svn server)


  • Log as root user in to your system
[root@pasindu ~]# yum search subversion


  • We need to install following packages .
subversion-devel.i686
subversion.i686
subversion-libs.i686


[root@pasindu ~]# yum install subversion-devel subversion-libs subversion

Your subversion installation done. Now we have to configure subversion Apache compatibility using mod_dav_svn. we assume  Apache server already installed .
if not  ...  [root@pasindu svn]# yum insatll http


After that we need to install mod_dav_svn package to our Apache server 

[root@pasindu ~]#yum install mod_dav_svn


  • configuring Apache Server
[root@pasindu ~]# vim /etc/httpd/conf/httpd.conf
add following two lines
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
 

Make sure you will add these lines after LoadModule dav_module


[root@pasindu ~]# /etc/init.d/httpd configtest
[root@pasindu ~]# /etc/init.d/httpd restart


  • Creating svn repos using  svnadmin command 
[root@pasindu var]# svnadmin create repos
[root@pasindu var]# ls -aslt | grep repos
4 drwxr-xr-x   6 root root  4096 Jan 26 12:02 repos
 
[root@pasindu var]# ls repos/
conf  db  format  hooks  locks  README.txt

[root@pasindu var]# chown apache:apache /var/repos



  • Then at the end of the httpd.conf file you have to add
[root@pasindu var]# vim /etc/httpd/conf/httpd.conf
#for svn path
<Location /svn/repos>
DAV svn
SVNPath /var/repos

<Location>

[root@pasindu ~]# /etc/init.d/httpd configtest
[root@pasindu ~]# /etc/init.d/httpd restart


  • configuring  Authentication 

[root@pasindu var]# htpasswd -cm /var/svn/svnuser pasindu
htpasswd: cannot create file /var/svn/svnuser
[root@pasindu var]# mkdir /var/svn
[root@pasindu var]# htpasswd -cm /var/svn/svnuser pasindu
New password:
Re-type new password:
Adding password for user pasindu



  • Configuring svn policy files 


[root@pasindu var]# vim svn/svnpolicy


[/]
* = rw



You can specify this inside httpd.conf file as,
<Location /svn/repos>
DAV svn
SVNPath /var/repos
AuthzSVNAccessFile /var/svn/svnpolicy
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /var/svn/svnuser
Require user user_name

</Location>



[root@pasindu ~]# /etc/init.d/httpd configtest
[root@pasindu svn]# /etc/init.d/httpd restart  


  • Accessing svn over web


http://localhost/svn/repos
if you want configure web svn request over https, you need add above http.conf changes in to ssh.cof or virtualhost.cof file.























 

Friday, July 29, 2011

mail hosting

Get your professional email address.

Our professional email hosting service is ideal for businesses or individuals looking for a reliable email solution featuring webmail, IMAP, POP3 and SMTP. We offer spam & virus protection, archiving and a host of other features. Our email hosting service is compatible with Outlook and other third party email clients

01) Plenty of storage for emails and files, 1GB per emailbox
02) Spam and virus protection
03) Access from any internet connection
04) Outlook® compatible

Price :- Domain name 2000\=
monthly maintenance charges per domain 2000\=
(with 20 mailboxes)

contact:- 0719817480 (madubashana)
mail :- mpasindu@gmail.com

Wednesday, July 27, 2011

SYSTEMS / NETWORK ADMINISTRATION

Network Administration

01)Planning, Creating and Maintaining User and Group Accounts to ensure that each user can Log on to the Network and Access Resources .

02)Smooth functioning of Network Printers and advice on common printing problems. This ensures users can use the printer resources easily and efficiently.

03)Troubleshooting and maintenance of existing Networks (LANS/WANS).

04)Providing a comprehensive report on the exiting status of the network with the weaknesses and the possible remedies, after a thorough study.

05)Structured cabling (Data, voice and power)

06)Troubleshooting, configuring workgroup networks (using Windows 98/2000/XP/Vista and Win 7)

07)Troubleshooting, domain configurations (using Windows NT 4.5/Win 2000 Server/Win 2003 Server and Win 2008 Server)

08)Monitoring and troubleshooting on mail and proxy servers.

09)Monitoring internet traffic on IP addresses.

10)Domain security policy.

Network Security

01)Planning and enforcing Security Policies for protecting data and shared Network resources, including Folders, Files and Printers.

02)Data and Network Security Solutions.

Virus Protection

01)Introducing, advising and troubleshooting on most effective and reliable virus protection solutions, etc (single user, 3 users and corporate version).

02)Free updates could be provided if the virus guard is purchased from us.

Systems Administration

01)Troubleshooting on Active Directory (Domain) infrastructure planning and implementations.

01)Escalation to the management of the outstanding calls to ensure the maintenance of acceptable service levels.

02)Contacting the user to verify the successful completion of the call.

03)Maintenance of standard software on the systems including mail servers, proxy servers.

04)Communicate, clarify and solve possible problems related to internet connections/service provider.

05)Troubleshooting, service and repair of system hardware (replacement components excluded)

06)Installation and setting-up of possible equipment, replacement (replacement equipment excluded)

07)Training staff on IT Services.

08)Providing IT Consultancy Services as and when the need arises.

09)Troubleshooting and diagnosing issues on hubs, switches, routers and data cabling.

Data backup procedure

01)Advice and training to be given on a proper and an effective data backup procedure.

02)Advice on most latest, safe and suitable method of daily, weekly, monthly data backing up of the Company.

03)Advice on contingency plans (Disaster Recovery) on Data and hardware and a remote site to work during a crisis situation.

04)Advice on Data Recovery Services.

Tuesday, July 26, 2011

mail me

Email me

HCLINUX PROVIDE OPEN SOURCE SOLUTIONS

Hclinux is a company in srilanka. It's main goal is provide business level open source solutions and services. Our solutions and services include email servers, application servers, file servers,data backup servers,vpn solutions,security and son .The promises of HCLINUX is better quality, higher reliability, more flexibility and lower cost.

Tuesday, August 24, 2010

IP Addresses

IP Addresses Explained

IP Address (Internet Protocol Address): This number is an exclusive number all information technology devices (printers, routers, modems, et al) use which identifies and allows them the ability to communicate with each other on a computer network. There is a standard of communication which is called an Internet Protocol standard (IP). In laymans terms it is the same as your home address. In order for you to receive snail mail at home the sending party must have your correct mailing address (IP address) in your town (network) or you do not receive bills, pizza coupons or your tax refund. The same is true for all equipment on the internet. Without this specific address, information cannot be received. IP addresses may either be assigned permanently for an Email server/Business server or a permanent home resident or temporarily, from a pool of available addresses (first come first serve) from your Internet Service Provider. A permanent number may not be available in all areas and may cost extra so be sure to ask your ISP.

Tuesday, December 23, 2008

How to Moving & Resizing Forms And Controls Through Code

How to Moving & Resizing Forms And Controls Through Code

Create a new Window Application. Here the name of the application is MovingAndResizingFormsAndControls

Set the text property of form1 as MovingAndResizingFormsAndControls

Drag and drop a Button control on your form and set it name BtnMoveAndResize

Set the Text property of the button to Move And Resize as shwn in the Fig.vb-3.36

Double click the BtnMoveAndResize button and add the following code in the code window.

Private Sub BtnMoveAndResize_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnMoveAndResize.Click
Size = New Size(300, 200)
Location = New Point(0, 0)
BtnMoveAndResize.Size = New Size(60, 80)
BtnMoveAndResize.Location = New Point(20, 20)
End Sub

Dementions can also be set by using the setbounds Method. The argument passed to setBounds Method are as follows

Let us lean how we can resize forms and controls by continuing with the folowing steps:

Drag and drop a Button control and rename BtnsetDimention Then set the Text property Set Dimention

Double click the button control that you have just added to your form and add the following codes in the code window

Private Sub BtnSetDimentions_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSetDimentions.Click
SetBounds(10, 10, 400, 300)
BtnSetDimentions.SetBounds(0, 0, 50, 50)
End Sub
End Class

Run the appication by pressing th F5 key.

How to print Dialog

How to print Dialog

Create a new Windows application Form Here the name of the application is (Print Dialog )
Set the Text property of form1 as Print Dialog

Drag & Drop One Button Control, one PrinterDialog Control.and PrintDocument object from the Toolbox
Set the Name property of the button as BtnPrint the Text property as Print

Now, after setting the control property, Double Click on the print button and add the following code

Private Sub BtnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnPrint.Click
PrintDialog1.Document = PrintDocument1
PrintDialog1.PrinterSettings = PrintDocument1.PrinterSettings
PrintDialog1.AllowSomePages = True

If PrintDialog1.ShowDialog =Windows.Forms.DialogResult.OK Then
PrintDocument1.PrinterSettings = _PrintDocument1.PrinterSettings
PrintDocument1.Print()
End If
End Sub

Private Sub docprinting(ByVal sender As Object, _
ByVal e As System.Drawing.Printing.PrintPageEventArgs) _
Handles PrintDocument1.PrintPage
Dim str As String = "The quick brown dog Jumped over the lazy Fox."
Dim prnfont As New System.Drawing.Font _
("Arialr", 25, System.Drawing.FontStyle.Regular)
e.Graphics.DrawString(str, prnfont, System.Drawing.Brushes.Black, 20, 7)

End Sub
End Class


Press F5 key from the keyboad to run the applicatin
Click the print Button to print the Document

Friday, September 12, 2008

Registry edit Registry ඵක edit කරන්න පුරුදු වෙමු.

Registry ඵක edit කරන්න පුරුදු වෙමු.

කොහොමද Task Manager disable වෙලා තියෙනකොට Enable කරන්නනේ.
( For windows xp, NT,2003)


යන්න start ඵකට. Run click කරන්න. (regedit) ‍ටඊප් කරල Enter කරන්න.
යන්න
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System
Name: DisableTaskMgr
Type: REG_DWORD
Value: 1=Enable Task Manager ඔනෙ නම් Disable කරන්න.
Value: 0=Disable Task Manager Enable කරන්න ඔනේ නම්.

Friday, August 29, 2008

Firefox


My choice for the windows is
FireFox.you all so can try it out.



How to fast FireFox

fist You type on FireFox address bar (about:config)
Then follow this setup

Network.http.max-connections ( change val into 50 )
Network.http.max-connections-per-server (16)
Network.http.max-persistent-connections-per-proxy (val into 9 or 8)
Network.http.max-persistent-connections-per-server ( val into 4 or 2)
Network.http.pipelining (true)
Network.http.pipelining.maxrequests (100)
Network.http.proxy.pipelining (true)

you use (firefox 2)


Network.http.request time out (300)

Browser.tab.showsingalwindofrfer (True)

Now you can Brows Net.
Enjoy!!!!!!!!!!!!!!
Good luck