21.12.10

"Input not Supported" in Linux GUI

Edit the File
/etc/X11/xorg.conf
-----------------------------------
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
DisplaySize 800  600
HorizSync 30-71
VertRefresh 50-160
EndSection

------------------------------------
# startx




8.12.10

How to Enable or Disable Save Desktop Configuration on Exit

Would you like to change your save desktop configuration upon exiting?  If you have a Windows XP based PC, a quick registry tweak will allow you to do this.  This tweak will allow you to enable or disable your current desktop configuration upon exit.
Always create a back-up prior to editing your registry.  This will provide you with a means to reinstall should any issues arise.
To perform the procedure:
1. Click Start.  Click run and enter regedit.  Your registry will come up.
2.  Look for HKEY_CURRENT_USER on the left side of the box.  Expand the folder by clicking on the cross on the folder’s left side.
3. Once you’ve done that, go to the Software folder and expand.
4.  You should see the Microsoft folder.
5. Go to Windows.
6. Expand CurrentVersion to get to the Policies folder.
7. Expand the Policies folder to go to the Explorer folder.
8. On the right side pane of the box, look for NoSaveSettings.  If you don’t have this value, you will have to create it.
8a.
  • Right click on the right side pane of your registry.
  • Select New and then DWORD as illustrated.
  • New Value #1 should come up.  Change the name to NoSaveSettings by right clicking on New Value #1 and selecting Rename.
Now that you have the NoSaveSettings folder, you can now enable or disable your Save the Desktop Configuration on exit.
9. Double click NoSaveSettings.  A smaller box will pop up.
10. Type in 0 to disable.  Type in 1 to enable.
11. Exit the registry.  Reboot your PC.

Z:\ Drive checking in Program installation..

 Change the Common Directory Location.
 [ Regedit - HKLM - Software - Microsoft - Windows - Current Version ]
      ComminFiles








USB Disabling

Step 1.
Edit the permission of the file,
[c:\windows\inf\usbstor.pnf]  and  [c:\windows\inf\usbstor.inf]
Deny for All users


Step 2.
Start - Run - Regedit - HKLM - System - Current Contrl Set - services - usbstor
Edit the value START-4 ( For disabling)



How to start or stop Windows Services??

To START
    SC start <Servicename>
To STOP
    SC start <Servicename>
To DELETE
    SC start <Servicename>


DSpace Installationin Windows - Screen shots

DSpace Installation on Windows


S/W requirements

We have tested the software on Windows XP, Windows 2000 Professional and Windows 2003 server
  • Windows OS (Windows XP/Windows 2000 professional/Windows 2000 Server/Windows 2003 Server)
 
Following other packages to run on Windows platform
 
Installation of Java (JDK):
 
1.    Download Java 1.4 or later (standard SDK is fine, you don't need J2EE).
 
Note: Apache-tomcat-5.5.17 works with jdk-1_5.x+
 
2.    Double click the file jdk-1_5_0_06-windows-i586-p.exe and follow the instructions
 
 
Select the folder to install jdk
 
3.    Put the java program into system path by setting PATH environment variable.
���� Right click My Computer->Properties->Advance->Environment Variables->System Variables->path->Edit
 
 
Add the text �Program Files\java\jdk1.5.0_06\bin and press Ok.
 
 
4.    Define JAVA_HOME environment variable.
Right click My Computer->Properties->Advance->Environment Variables->System Variables->path->New
 
 
Set the environment variable as above. Click Ok to save it.
 

Installation of apache-ant

 
This package is needed to compile Dspace source
1.    Download the zip file of the windows version of Apache-Ant (apache-ant-1.6.2-bin.zip)
2.    Extract into a folder like C drive.
3.    It creates a folder apache-ant-1.6.2. Rename it as ant
4.    Add C:\ant\bin into PATH environment variable.
5.    Right click My Computer->Properties->Advance->Environment Variables->System Variables->path->Edit
 
 
��������������� Click Ok to save it
 

Installation of Postgres database server

 
Note: Make sure your C or any other drive where Postgres is to be installed is formatted as NTFS file system.
If not use the command below to convert it to NTFS. At command prompt type the command:
convertc: /FS:NTFS
and press enter. It will ask to schedule it at next booting time. Enter yes and reboot the system.
When you boot the system it will convert the FAT32 file system to NTFS.
It takes some time to do it. Now system is ready to install Postgres database server.
 
Steps
  1. Download the file postgresql-8.1.3-1.zip or any other version of Postgres database software for Windows.
  2. Extract it to any directory like C:\pgsql.
  3. Double click the file postgresql-8.1.exe from the extracted folder (C:\pgsql) (Windows installer package)
and follow the instructions.
 
 
Click Start
 
 
Click Next
 
 
Click Next
 
 
Select the location (select default location) and click Next
 
 
Set the password for a account postgres to run PostgreSQL database server.
If this account does not exist in the Windows, then will be prompted to create it. Say yes to create account.
 
 
Select the default option and click Next
 
 
Select default option and click Next
 
 
 
Complete the installation by clicking Finish.
 

Create dspace user and dspace database in PostgreSQL database server

 
  1. Start->Run and type the command cmd to go to command prompt
  2. Type the following commands
  3. cd C:\Program Files\PostgreSQL\8.1\bin
  4. createuser -U postgres -d -A -P dspace
Enter password for new role:���������������� (Enter dspace database user password)
Enter it again:����������������������������������� (confirm it)
Shall the new role be allowed to create more new roles? (y/n): ( Enter yes)
  1. createdb -U dspace -E UNICODE dspace 
Password: ���������������� (Enter dspace password)
 

Installation of Jakarta Tomcat

 
  1. Download the file apache-tomcat-5.5.17.exe (or apache-tomcat-5.5.17+)
  2. Double click the file apache-tomcat-5.5.17.exe and follow the instructions
 
 
Choose the port 8080 and admin password
 
 
Locate the JRE path if not detected by default
 

Installation of Dspace

 
  1. Download Dspace source and extract into a directory like C:\Dspace (Rename to Dspace)
  2. Copy the PostgreSQL JDBC driver C:\Program Files\PostgreSQL\8.1\jdbc\postgresql-8.1-404.jdbc3.jar
to C:\Dspace\lib folder
  1. Open the file C:\Dspace\config\dspace.cfg and make changes
 
dspace.dir = C:/dspace
dspace.url = http://IP_No_of_Machine or hostname/:8080/dspace
dspace.hostname =hostname or IP No of M/C
dspace.name = DSpace repository name (like IR@youruniversity)
config.template.log4j.properties = c:/dspace/config/log4j.properties
config.template.log4j-handle-plugin.properties = c:/dspace/config/log4j-handle-plugin.properties
config.template.oaicat.properties = c:/dspace/config/oaicat.properties
mail.server=host or IP no of your server
mail.from.address = dspace-noreply@your_email_ID
 
  1. Go to command prompt (Start->Run then type cmd)
  2. antfresh_install
  3. Create Initial Administrator Account
  4. You need to downloadtwo files (dsrun.bat, buildpath.bat) from the sites http://wiki.dspace.org/DSpaceOnWindows?action=AttachFile&amp;do=get&amp;target=dsrun.bat and http://wiki.dspace.org/DSpaceOnWindows?action=AttachFile&amp;do=get&amp;target=buildpath.bat
  5. Copy these two files in C:\Dspace\bin and run the command
  6. dsrun org.dspace.administer.CreateAdministrator
  7. Supply the password
  8. Copy the files dspace.war and dspace-oai.war from the folder C:\Dspace\build to
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps folder
  1. Restart tomcat (Start->Programs->Apache Tomcat 5.5->Monitor Tomcat->Restart)
  2. Open browser and browse the URL http://IP_No_of_Machine:8080/dspace
 
The default home page of Dspace looks like below:
 

Reboot during the Installation of SQL Express

Method 1
It seems that the PendingFileRenameOperations registry value indicates an installation need to reboot. To resolve the issue, you could modify the Wondws Registry.
1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager
3. In the right pane, backup PendingFileRenameOperations, and then delete it.
4. Exit Registry Editor. Then, try to install SQL Server again.

Method 2
Download and install the Hotfix.
http://hotfixv4.microsoft.com/Windows%20XP/sp3/Fix204652/2600/free/337228_ENU_i386_zip.exe

Location - http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=943232&kbln=en-us

Methiod 3
Try to install SQL setup after extracting the files manually.
       setup32.exe /x:d:\sql

30.11.10

Configuring SSL VPN for secure web-based access to the internal network


Description
Setting up FortiGate SSL VPN to provide secure web-based access to an internal network.
Components
·       All FortiGate units
·       FortiOS 3.0
Steps or Commands
SSL VPN is a secure remote access solution that requires very little configuration on the client end. There are two modes for SSL VPN.
·       Web Mode provides remote users with a secure web portal, through which they can access only specific resources on the internal network behind the FortiGate unit. These resources can be network shares, http or https web servers, ftp servers or even Remote Desktop and VNC applications.
·       Tunnel Mode goes a step further and assigns remote users a private IP. With this private IP, remote users have direct access to resources on the internal network behind the FortiGate unit, instead of through the portal provided by Web Mode.
Remote users (also called clients) are required to have the following configuration:
·       Windows 2000, XP, 2003 or Vista (currently, Vista supports Web Mode only)
·       Internet Explorer 6.0 (or later), or Mozilla Foundation/ Firefox 1.2 (or later).
To configure the SSL VPN service using the web-based manager
1.   Go to VPN > SSL.
2.   Select Enable SSL-VPN.
3.   Configure Tunnel IP Range with a range of IP addresses that can be used for Tunnel Mode connections. Select a range of private IP addresses that are reserved for SSL VPN users and are not in use on your internal network.
4.   Under Advanced, define any internal DNS or WINS servers present in your network, so that your remotely connected users can resolve internal DNS addresses.
5.   Select OK.
To configure an SSL VPN user group
1.   Go to User > Local.
2.   Select Create New.
3.   Add a user name and password for this new local user account.
4.   Select OK.
5.   Go to User > Group.
6.   Select Create New.
7.   Add a name for the new user group (for example, SSL_VPN_Access).
8.   Set Type to SSL VPN.
9.   Select the local user that you just added in the list on the left and select the right arrow to add that user to this group.
Repeat this process to add more local users to the SSL_VPN_Access user group.
10. Select the blue arrow next to SSL-VPN User Group Options.
11. Select Enable SSL VPN Tunnel Service, Enable Web Application, HTTP/HTTPS Proxy, Telnet, VNC, FTP, SMB/CIFS and RDP.
These options control the services that SSL VPN users have access to. Depending on your requirements, you might want to disable access to some of these services.
12. Leave Host check disabled for now. For a description of this feature and how to use it, see the FortiGate SSL VPN User Guide.
13. Select OK.
Note: To control access to your SSL VPN network, your users must log in with a username and password as defined in your FortiGate unit User configuration. This example shows how to add local users to your FortiGate unit configuration. You can also configure SSL VPN to work with your LDAP or RADIUS servers.
To add an SSL VPN firewall policy
1.   Go to Firewall > Policy.
2.   Select Create New.
3.   Set the Source Interface to the interface that connects your FortiGate unit to the Internet (usually external or WAN1).
4.   Set the Source Address to all.
5.   Set the Destination Interface to the interface connected to your internal network.
6.   Set the Destination Address to all.
7.   Set the action to SSL-VPN.
8.   Select the user group that you just added in the list on the left and select the right arrow to add that user group to this policy.
9.   Select OK.
With this configuration, users can access your FortiGate unit SSL VPN page from outside of your internal network (from the Internet). To access the SSL VPN page users start a web browser and browse to your FortiGate unit public IP address. They must also specify a unique port number in their browser address field. For example, if the public IP address of your FortiGate unit is 210.55.55.1 your users would browse to https://210.55.55.1:10443.
Once connected, the user must login. The user information provided must match a user in the group defined above.
After a successful login, the FortiGate Web mode access portal appears.Users can define a new bookmark for access to an internal FTP server, web server or remotely control a PC on the network using the Remote Desktop Protocol or VNC if available.
Note: As of Maintenance Release 5 (MR5), a new option in the GUI allows administrators to configure predefined bookmarks for SSL VPN web mode access. Go to VPN > SSL > Bookmarks.
To initiate tunnel mode, the user selects the activate SSL VPN tunnel mode link at the top of the web page. On first viewing, the user may be required to install either an ActiveX, (Internet Explorer) or Java, (Firefox) component. This process installs a new dialup network connection on the user's PC to secure this user’s connection to your internal network.
Once tunnel mode is established, the status window on this page shows duration of the connection. The user can minimize this browser window and work as though they were connected directly to the internal network.
Note: Access at this point requires either that users know the IP addresses of internal servers, or that your DNS server is configured to resolve internal machine names, also called netbios names, of those servers.
To close this connection, the user can either select Disconnect in the open web browser, or close the browser.