Archive for the ‘Microsoft’ Category

How to change XAMPP server port?

April 9th, 2013, posted in Microsoft, PHP
Share

How to change XAMPP server port?,port,xampp,xamp,wamp,windows,php,html,website making,website desiginning,ServerName

To Change The XAMPP Server Port Number

  1. Stop the XAMPP server, if it is running already.
  2. Open the file [XAMPP Installation Folder]/apache/conf/httpd.conf.
  3. Now search for the string *Listen 80 *(I’m assuming that your XAMPP was using the port 80. Otherwise, just search for the string ‘Listen’). This is the port number which XAMPP uses. Change this 80 to any other number which you prefer.
  4. Then search for the string ‘ServerName‘ and update the port number there also.
  5. Now save and re-start XAMPP server and you are done.

Why do we need to change the port number? Because, these days, it is very common that a web developer needs to have multiple web servers running, all at the same time. For example, an XAMPP server can be used to run the local WordPress blog, while a JBoss server also needs to be up for testing a java web applications. In such scenarios, if two or more servers are trying to use the same port number, then the late comer will fail to get the port. So, it becomes necessary to change any one server’s port number to avoid the conflict.

How to change XAMPP server port?,port,xampp,xamp,wamp,windows,php,html,website making,website desiginning,ServerName,port number

Share

Oracle : Install Oracle Developer Suite 10g on Windows 7

January 2nd, 2013, posted in Microsoft, Oracle
Share

Install Oracle Developer Suite 10g

When you try to install Oracle Developer Suite on your windows Vista or Windows 7 PC but it’s failing giving an error message

Checking Operating system version must be 5.0, 5.1 or 5.2….. Actual 6.0 or 6.1 – Failed

What will you do ??

Don’t worry, simply follow the following steps, and it will works.
Before installation, right click on setup.exe then click properties, from the tab select compatibility and select windows xp service pac3/pac2 from compatibility mode settings.

Click okay !

And now try to install… it works

Oracle Developer 10g on windows 7

Share

File/Folder named CON or LPT1 on WINDOWS

December 26th, 2012, posted in Microsoft
Share

File/Folder named CON or LPT1 on WINDOWS

G:>mkdir CON
The directory name is invalid.

G:>mkdir LPT1
The directory name is invalid.

G:>mkdir LPT2
The directory name is invalid.

G:>mkdir LPT9
The directory name is invalid.

Have you ever tried to make a folder or file named CON or LPT1 (in general LPTX X takes 1,2,3,…9)? If not try now and see that you cannot make a folder or file with those names. Have u already done? Read on …

Why is this so?

Inorder to find out why this doesn’t work we have to go back to the age of MS-DOS. Microsoft Disk Operating System (MS-DOS) is a command-line operating system that existed before the advent of GUI OS (Graphical User Interface). Everything from making ,renaming, deleting etc was done using commands. Some of the commands are

COPY     Copies one or more files to another location.
DEL      Deletes one or more files.
DIR      Displays a list of files and subdirectories in a directory.
FIND     Searches for a text string in a file or files.
.
.

Let us look more closely to the COPY command. The COPY command usage is as follows:

COPY [options] <source> [options] <destination>

In DOS everything is considered as files, even keyboard and printers. The filename for keyboard is given as “CON” and the printer names are given as “LPT1”, “LPT2” etc.. So inorder to copy something from keyboard (our input) the following command is used.

G:>COPY CON mydata.txt
These lines come in mydata.txt and inorder to stop input press Ctrl+Z
^Z

G:>COPY mydata.txt LPT1

So now you suppose that a folder or file named “con” could be created and you give a COPY CON command. What is DOS supposed to do? copy the CON file or use the keyboard console as input? Thus an ambiguity arises. So Microsoft has purposely disabled making of files or folders named CON / LPT1 / LPT2 etc. in order to remove this ambiguity.

Could you make a CON or LPT1 .. file on WINDOWS?

Found more invalid names? Let me know …..
Invalid Name List

+ CON
+ LPT1, LPT2, LPT3, LPT4 ... LPT9
+ PRN
+ NUL
+ COM1, COM2, COM3 .... COM9
Share

Make an Undeletable Folder

December 23rd, 2012, posted in Microsoft
Share

undelateable folder
1. Open cmd ( Type in Run option, the command ‘cmd’ or navigate to All Programs->Accessories-> Command Prompt)


2. In cmd change to the directory that you want ( you can use the commands ” cd…” to exit the curent folder and “E:” for example to change from your current drive to E drive.

3. Type md lpt1\ and press enter, the folder now will be in your E:

4. If you try to delete or rename it, it will appear error message

5. If you want to delete it just go to ‘cmd’, navigate to the directory and type rd lpt1\ and press Enter.

Share

How to Enable Telnet Client in Windows 7

October 14th, 2012, posted in Microsoft
Share

Telnet Client is used to connect to remote machine by using the Telnet protocol. For example, I’m an old fashion IT guy, and I still like to configure Cisco Switches/Routers using telnet. If you started to use Windows 7, you will notice that telnet is not enabled by default !! Don’t panic, it is just a matter of few clicks and telnet will be enabled again.

Telnet Client allows a computer to connect to a remote Telnet server and run applications on that server. Once logged on, a user is given a command prompt that can be used as if it had been opened locally on the Telnet server’s console. Commands that you type at the Telnet client command prompt are sent to the Telnet Server and executed there, as though you were locally logged on to a command prompt session at the server. Output from the commands that you run are sent back to the Telnet client where they are displayed for you to view.

When you first try to run a telnet command, Windows will informs you that telnet is not recognized as a command

telnet not enabled

To enable Telnet Client on Windows 7, follow these steps :

  1. Click on Start start button,windows7 then right click on Control Panel
    control panel,windows 7,telnet
  2. From Control Panel, click on Programs :
    programs,telnet,windows 7
  3. Under Programs and Features, click on Turn Windows Features on or off
    windows features,windwos7,telnet,Under Programs and Features, click on Turn Windows Features on or off
  4. From the Windows Features window, using the slider, scroll down till you reach Telnet Client, select the check-box beside it, then click on OK
    select telnet client,telnet,windows 7,From the Windows Features window, using the slider, scroll down till you reach Telnet Client, select the checkbox beside it, then click on OK

    The selected feature will be installed.
    install feature,windows7,microsoft
  5. To confirm that Telnet is installed, open command prompt and type telnet /?telnet enabled

Summary

By default, Telnet Client is not enabled in Windows 7. To enable it, you have to add the Telnet Client Windows Feature.


Another Method :

  • Open a command prompt window.
  • Click Start,type cmd in start search box, and then press Enter.
  • Type the following command

pkgmgr /iu:”TelnetClient

  • If the User Account Control(UAC) dialog box appears, confirm that the action it displays is want you want, and then click continue.
  • When the command prompt appears again, the installation is complete
[ This article is posted at http://social.technet.microsoft.com website : http://social.technet.microsoft.com/wiki/contents/articles/910.how to-enable-telnet-client-in-windows-7.aspx ]
Share