We may start some services only when we needed.
I have mysql and apache installed as services in my windows machine.
for simplfying to start and to stop.
1-) i set their startup type as “manual” in services window.
2-) i put 2 of .bat files in my desktop
lamp-start.bat dosyası :
net start “Apache2.2″
net start “MySQL”
and
lamp-stop.bat dosyası :
net stop “Apache2.2″
net stop “MySQL”
now its simple to start and stop group of services.
their name may be different in your machine.
look up them in “control panel/administrative tools/services ,
double click and check “display name”…
also its important
if you want to start or stop services which depend each other
be careful about the order, both in start and stop.
this method is specialy usefull for vmware services ( it has 5 services)
in my machine.
—————————————————————-
Bazı servislerin kullanılacağı zaman başlatılması gerekli.
bunları “manual” olarak ayarlayabiliriz.
başlatılması ve durdurulmalarını .bat dosyaları aracılığı ile kolaylaştırabiliriz.
Örneğin, Apache web server ve mySQL veri tabanı ,
makinemde servis olarak kurulu.
Sadece ihtiyaç duyduğumda çalıştırmak için
1-)servisleri manula olarak ayarladım.
2-)iki .bat dosyasını masaüstüne ekledim.
lamp-start.bat dosyası :
net start “Apache2.2″
net start “MySQL”
lamp-stop.bat dosyası :
net stop “Apache2.2″
net stop “MySQL”
servislerin isimleri sizin makinanızda farklı olabilir.
bu işlemi yaparken servisler arasında bağımlılık var ise,
başlatma ve durdurma sırasına dikkat etmek gerekiyor.
January 28, 2007 at 11:59 pm |
Hi,
I found your blog via google by accident and have to admit that youve a really interesting blog
Just saved your feed in my reader, have a nice day
September 10, 2009 at 7:15 pm |
hi,
my blog needs frequent updates and more visitors.
i hope i can find more time to put more interesting stories.
thank you Florian.