Monday, May 11, 2015

Some Common command line command windows

There are some very common command line command we need to install apache,php,mysql

Change directory  to back like
c:\user\Administrator

c:\user\Administrator>cd\
Result
c:\>

Change Drive  to  E write drive letter and hit enter
c:\>E:
Result
e:\>

Enter folder write cd folderName hit enter
c:\>cd apache24
Result
c:\apache24>

Testing your installation For apache
c:\apache24>cd bin
c:\apache24\bin\httpd -t

Install  For apache
c:\apache24\bin\httpd -k install
Uninstall  For apache
c:\apache24\bin\httpd -k uninstall
Start / stop /shutdown / restart  For apache
c:\apache24\bin\httpd -k start
c:\apache24\bin\httpd -k stop
c:\apache24\bin\httpd -k shutdown
c:\apache24\bin\httpd -k restart




asdfsadf

No comments:

Post a Comment

Total Pageviews