blogspot visit counter

Friday, 22 February 2013

Internet Information Services

Categorie:-    how to install and configure the tomcat server
1->  Restart IIS Using Command Prompt 
2-Resetting Internet Information Service
3->  IIS Configuration
4-> Restart Mysql Server From cmd Prompt 
5 ->MySQL Server is Gone Away

How to reset IIS with the  command Prompt

1 )    From the Start menu, click Run.
2 )   In the Open box, type cmd, and click OK.
3 )  At the command prompt, type iisreset /stop. IIS will attempt to stop all services and will return confirmation once all services have been stopped.

4 ) At the command prompt, type iisreset /start.

5 ) That’s it! IIS has been restarted.

  • Typing iisreset directly from the run command window will reset IIS.
  • iisreset /status will show the current status of IIS
  • iisreset /noforce will prevent the server from forcing close applications and process. This can cause IIS to reset slower but is more graceful.


Resetting Internet Information Service (IIS)

Occasionally, Internet Information Services (IIS) will need to be reset for such reasons such as resetting the web server, clearing all current connections, and applying web site changes. This can be done either directly through IIS, or from the Command Prompt. This article will outline both methods. We will start with executing the command directly through IIS.
Performing an IIS reset will not cause the loss of any of your site data, but merely refresh the Windows Service which enables it to be viewed over the Internet.
Navigate to Start -> Administrative Tools -> Internet Information Services (IIS) Manager.

Once open, click on the Local Computer, then from the menu bar at the top click on Actions -> All Tasks -> Restart IIS.

By default, the option will be set to Restart Internet Services on (Computer Name). Leave this option as-is, and click OK.

You should now see dialog box confirming that IIS is restarting. All sites hosted on the server will be non-functional during the time IIS is restarting. Depending on the number of sites hosted on the server, it can take anywhere from 60 seconds (for 5-10 sites) to 30 minutes (50-100 sites).

Now we will examine how to perform an IIS reset from the Command Prompt.

Navigate to Start -> Run. Next to the field which says Run, type in CMD and click OK.

Once open, type 'iisreset', and press Enter.

You should receive a message that IIS has successfully stopped and started.


  3..                              IIS Configuration

Installing IIS

1.) Go to Start > Control Panel > Add/Remove Programs > Add/Remove Windows Components.
2.) Double-click Application Server.

 3.) You will see that Internet Information Services (IIS) is not checked. Check the box. Press “OK”.

You may need your Windows CD in the server drive before you can do this.
Once completed, IIS is installed. You will now need to refer to IIS documentation to start configuring it to your requirements. 


 4                            Restart Mysql Server From cmd Prompt 

1-> Click Start and type cmd  [Open Command Prompt]
2- > write the line as shown below in command prompt

3-> Press Enter  and show MySql is Restated now  as show below screen



5.                              MySQL Server is Gone Away 

Step 1-> Go To     C:\Program Files\MySQL\MySQL Server 5.5 
  Change in  my.ini file  and save

Check our database type and replace then

MyISAM specifications


port = 3306
socket = /tmp/mysql.sock
key_buffer = 384M
max_allowed_packet = 64M
table_cache = 4096
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 64M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M

InnoDB specifications

innodb_buffer_pool_size = 384M
innodb_additional_mem_pool_size = 20M
innodb_log_file_size = 10M
innodb_log_buffer_size = 64M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 180

  and restart the mysql  server as shown abo


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...