-
Windows 7 Prof. jako SERVER?
Ahoj,
zvažuju použít W7 Prof. jako "server" na NAS, místo původně plánovaného Win SRV 2008.
- nepotřebuju doménu
- přístup přes RDP stačí pro jednoho uživatele
- hlavní použití SMB, FTP
Hlavní důvody proč o tom uvažuju:
- jádro OS je IMHO stejné, takže na hlavní využití, tj. rychlost sdílení by to nemělo mít vliv
- cena za licenci, Win7 prof. už je koupený
- plánuju přes RDP používat konkrétní programy a stolní PC mít jen jako terminál, hodně programů v server verzi nefunguje, nebo s problémy
PS: Prosím Linux neřešit ;)
Napadá někoho konkrétní důvod, proč nepoužít raději serverový Win ?
-
Re: Windows 7 Prof. jako SERVER?
Ja mel nejakou dobu prave jako NAS/server Windows 2008 R2, ale asi po pul roce jsem se odhodlal preinstalovat to na Win7.
Jak pises pro domaci vyuziti to vyjde nastejno, ale s nekterejma aplikacema je potiz. Nefunguji bud vubec, nebo casteji ano, ale co to da (zbytecne) prace je zprovoznit (napriklad mediaportal backend).
Zatim jsem nenarazil na nic, v cem by me ne-serverovy system omezil.
-
Re: Windows 7 Prof. jako SERVER?
Pokud te nepalej licence ... ono totiz u M$ sice muzes sdilet (pres tu sambu) ale bez licence se k tomu nikdo nemuze pripojit (nemluvim o technicky, ale "pravni" moznosti). ;D
A kdyby sis v tucnakovi pustil virtualne Xpcka, tak to myslim ucel splni a fungovat to bude lip.
-
Re: Windows 7 Prof. jako SERVER?
kdybys kupoval pro tyto ucely novou licenci windows serveru, pak by ti mohla stacit i windows server 2008 foundation, ale pokud mas volnou w7, tak opravdu neni asi co resit
-
Re: Windows 7 Prof. jako SERVER?
OK, takže tam půjdou sedmičky.
Díky pánové - když bude problém, ozvu se ;)
-
Re: Windows 7 Prof. jako SERVER?
2Jezevec: Jo na domaci server (a tedy patrne nejaky nizkospotrebovy atom -> bez podpory virtualizace) mit system jeste pres dalsi vrstvu virtualizace nepochybne vse urychli :D Nehlede na pristup k diskum. Wake up
-
Re: Windows 7 Prof. jako SERVER?
Osobně to tak mám - můj NAS s atomem jistě všichni viděli; mám na tom debian a pokud z nějakého důvodu potřebuju něco na windows, mám tam Win 2003 R2 (testuju na tom nějaké aplikace na SQL serveru).
Ale na nějaké sdílení a milion dalších účelů používám výhradně linux (ty win jsou jen na to SQL).
Jaké jsou přesně důvody pro to mít tam Windows a ne linux? Osobně mi to přijde fakt jako Superb pro lesníka... ano, je to pohodlné, dá se s tím do toho lesa dojet, občas to bude drhnout, ale nebude to tak nějak ono :) Ta Lada Niva by odvedla lepší práci.
-
Re: Windows 7 Prof. jako SERVER?
Tak tady bude asi naprosto jasne vysvetleni. Umim jezdit se Superbem. Doma se mi jeden prebytecny Superb vali. Proc bych si porizoval Nivu?
Jinak ja bych tam osobne taky strcil linux .......
-
Re: Windows 7 Prof. jako SERVER?
OT: Linux zběžně znám, něco málo v něm umím, ale už nikdy ho nebudu nasazovat jako server. Zkoušel jsem freenas, openfiler, ale tohle jsou specializované distra s jinak hodně ořezanou funkčností. Když sem nasadil Debian jako relativně spolehlivý a konzervativní Linux, půl roku všechno šlapalo jak mělo. Pak začaly problémy na které jsem nestačil a všechny diskuse končily radami "přeinstaluj to", nebo "a fakt to potřebuješ, proč?". Myslete si klidně, že jsem prostě blbej, ale tohle mi jako zkušenost stačilo. Netvrdím, že Linux je špatný, ale hodlám provozovat to co spolehlivě umím.
Jako hlavni důvod tady už padl - pojede to jako aplikační server, takže Win jsou jako OS celkem přirozená volba. Stávající desktop bude jen v roli tenkého klienta. Virtualizaci předpokládám taky, ale nárazově pro konkrétní účely, abych si nezaplavelil samotný server.
-
Re: Windows 7 Prof. jako SERVER?
OK, mlčím :)
OT: (ale nejsi zas tak starej, aby na tebe platilo "starýho psa..." ;) )
-
Re: Windows 7 Prof. jako SERVER?
2Aigor: Mam aktualizovane reseni pro tvou otazku jake Windows si nainstalovat. Kup si Mac :mweheh:
-
Re: Windows 7 Prof. jako SERVER?
Citace:
Původně odeslal
Marty
OT: (ale nejsi zas tak starej, aby na tebe platilo "starýho psa..." ;) )
V tom souhlasím, však snaha byla. Navíc sem kdysi s Linuxem (na škole) dost dělal. Jenže když nemáš nikoho kam se obrátit v případě problémů, tak je ti veškerá teorie z knížek i dokumentace na dvě věci.
A M$ i když ho nemám rád, tak mě aspoň každej rok proškolí s certifikátem, takže si můžu zanadávat, ale vím kam hrábnout.
Citace:
Původně odeslal
HollyG
2Aigor: Mam aktualizovane reseni pro tvou otazku jake Windows si nainstalovat. Kup si Mac :mweheh:
Ten mám doma už skoro rok a chrochtám si spokojeností - když přijdu z práce, konečně bezúdržbovej systém :mweheh:
-
Re: Windows 7 Prof. jako SERVER?
nebyl by opravdu na NAS lepsi Linux? A pokud se s tim clovek nechce babrat pres konzoli, tak nedavno vysel "predelany" FreeNAS jmenem OpenMediaVault...
-
Re: Windows 7 Prof. jako SERVER?
Tak pokud na tom chce spoustet i win aplikace tak bude win7 lepsi. Protoze jinak by se to muselo resit vyse uvedenou virtualizaci .....
-
Re: Windows 7 Prof. jako SERVER?
Přesně tak - ono to nakonec vypadá, že využití fcí jako sdílení vs. aplikační serveru bude tak 50:50, takže o ničem jiném než Win už neuvažuju.
Ostatně mě už občas štve zažitá představa, že server == Linux. Nemám nic proti Linuxu, ale dneska už i widle mají použitelný jádro od dob NT. Hlavně "server" už není jen sdílení dat, kdy bych nasazení nízkoúrovňového distra celkem chápal.
Jedna z věcí, která mě např. na Win štve je pořád nedotažená správa disků a mizerný RAID, to obejdu jednoduše tím, že se pravidelně bude zálohovat na externí úložiště, takže při výpadku se dají data snadno obnovit (nepotřebuju doma 24/365 online systém). Ohledně bezpečnosti to bude řešeno externím firewallem, kdy server se dostane pouze na aktualizace a vybrané adresy. Přístup z venku zatím není a později jen přes VPN.
Pokud někoho napadá další slabé místo, sem s tím.
-
Re: Windows 7 Prof. jako SERVER?
u Win7 narazis na jeden problem - max. 20 soucasnych pripojeni, ale to by v domacich podminkach melo byt dostacujici :)
-
Re: Windows 7 Prof. jako SERVER?
Presneji 20 uzivatelskych uctu, takze by to problem byt skutecne nemel.
-
Re: Windows 7 Prof. jako SERVER?
ses si jistej tema uctama - tzn pokud budu mit 100 kompu a na kazdym ucet user se stejnym heslem, tak nemam problem? ja myslim ze jde o connections
-
Re: Windows 7 Prof. jako SERVER?
-
Re: Windows 7 Prof. jako SERVER?
Pravda pouziti na vice kompech stejnym uctem me nevim proc nenapadlo :)
Jde skutecne o connections a pokud se z jednoho kompu prihlasis pod dalsim uctem, vytvori se rovnez pripojeni dalsi.
Pripadne pozor na divnou implementaci v nekterych klientech, kdy muzou zbytecne vytvaret pripojeni dalsi (overis na serveru cmd "net session").
-
Re: Windows 7 Prof. jako SERVER?
Tak vzhledem k tomu, že se tam budu připojovat jen z kompu a občas z NB, tak víc jak 2 spojení nebudou.
-
Re: Windows 7 Prof. jako SERVER?
-
Re: Windows 7 Prof. jako SERVER?
Vůbec tu nepadlo nic o Windows Home Serveru - za tu cenu je to dost zajímavé, nemyslíte?
-
Re: Windows 7 Prof. jako SERVER?
Tady to docela dobre popisovali. Nevim tedy kdo z beznych uzivatelu si bude doma instalovat WSUS, WDS, Certifikacni autoritu, nedej boze FTP na IIS.
http://pctuning.tyden.cz/software/la...tisic-korun-ii
Nicmene pokud tam neni dalsi omezeni krome tech 10 uzivatelu, tak i do mini-firmicky by to mohlo byt zajimave.
-
Re: Windows 7 Prof. jako SERVER?
Citace:
Původně odeslal
HollyG
Tady to docela dobre popisovali. Nevim tedy kdo z beznych uzivatelu si bude doma instalovat WSUS, WDS, Certifikacni autoritu, nedej boze FTP na IIS.
http://pctuning.tyden.cz/software/la...tisic-korun-ii
Nicmene pokud tam neni dalsi omezeni krome tech 10 uzivatelu, tak i do mini-firmicky by to mohlo byt zajimave.
Já klidně - WSUS super! ;D
Do firmy IMHO ne, bude to omezený licenčně - ale to jen odhaduju.
Jako 1000 kč za takovejhle systém - dokonce s CALy, to je mazec.
To bych možná uvažoval i o variantě nahodit na server WHS a virtualizovat linux pro případ potřeby...
-
Re: Windows 7 Prof. jako SERVER?
Taky do toho jdu...
akorát si to koupím až po vánocích a budu si s tím hrát až do slivestra. pak už to snad vše poběží jak má :)
-
Re: Windows Home Server 2011
tak WHS2011 zakoupen... Pro člověka, který nikdy neviděl serverový OS je to docela hukot :) Nějak nevím kde co a jak...
čili rád bych kdyby jste mi poradili.... (pokud budete vědět)
Spuštění programu po startu, aneb v serverové řeči - spuštění služby:
Snažil jsem se čerpat z tohoto článku, ale som z toho voalaký zmetěný.
http://pctuning.tyden.cz/software/la.../22545?start=5
Citace:
Pro instalaci vlastních služeb ve Windows slouží command line příkaz sc.exe. Parametry naleznete na stránce Microsoftu. Příkaz sc.exe ovšem nestačí pro spouštění běžných uživatelských programů jako služeb. K tomu je ještě zapotřebí program srvany.exe, který je součástí Windows Server 2003 Resource Kit Tools. Zde musím upozornit, že toto jsou nástroje primárně určené pro starší Windows Server 2003 a pro Windows Server 2008 R2 nejsou podporované.
- Z tohoto odstavce bych pochopil že mám šlužbu zadat pomocí sc.exe.
- Jenže pak je tu věta, že samotné sc.exe nestačí.
- Že je ještě zapotřebí srvany.exe - ovšem tato utilita je pro WS 2003 a pro WS2008 R2 už není podporovaná - jenže WHS2011 jede na bázy WS 2008 R2 tak a babo raď ?
Můj dotaz tedy zní - jak přidat službu ? - konkrétně mi jde o program "murmur.exe" což je serverová služba pro VOIP program Mumble.
-
Re: Windows Home Server 2011
pokud vim, tak srvany.exe funguje i ve windows server 2008
Citace:
At the time of this posting, there is no Windows Server 2008 Resource Kit Tools, so get the "srvany.exe " from the "Windows Server 2003 Resource Kit Tools " and copy it to a suitable location on your Win2008 server (e.g. C:\Windows\System32\ ).
Use "sc " to create a new service that launches "srvany " (e.g. sc create MyService binPath= C:\Windows\System32\srvany.exe DisplayName= "My Custom Service" )
Using RegEdit : create a "Parameters " key for your service (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\MyService\Paramaters\ )
Using RegEdit : within the newly created "Parameters " key , create a string value called "Application " and enter the full path to the application you are wanting to run as a service. (No quotes required.)
-
Re: Windows Home Server 2011
Citace:
Původně odeslal
pajkus
pokud vim, tak srvany.exe funguje i ve windows server 2008
OK jinak tedy - chcete mi říct, že ve woknech samotných bez takových to utilit NEJDE přidat novou službu ? Tomi přijde jako mít koně, ale jezdit na něm můžeš jen dokola v ohradě kolem kůlu.
Samozřejmě stáhnu ten Res.KitTools, ale udivuje mne že by to bez toho jinak nešlo ??? ?
-
Re: Windows Home Server 2011
Pokud se program umí sám zaregistrovat jako služba, nic takovýho nepotřebuješ, tohle harakiri je jen pro programy, u který to samy od sebe neuměj a ty je k tomu potřebuješ donutit.
-
Re: Windows Home Server 2011
Citace:
Původně odeslal
Peca-on-line
Pokud se program umí sám zaregistrovat jako služba, nic takovýho nepotřebuješ, tohle harakiri je jen pro programy, u který to samy od sebe neuměj a ty je k tomu potřebuješ donutit.
Aha, takže formuluju svůj dotaz jinak (a opravdu se omlouvám, serverový OS vidím prvně), Jak poznám, zdali se program umí sám zaregistrovat ?
Protože krom Mumble toho bude startovat více, nicméně zasekl jsem se u mumblu a tak jsem raději nepokračoval dále.
-
Re: Windows Home Server 2011
no bud jako sluzba bezi, nebo ne :-) je to otazka kazdeho konkretniho softu
mumble as service resili zde
-
Re: Windows Home Server 2011
To poznas jednoduse, pobezi ti na pozadi i kdyz nebudes prihlasen (coz by clovek ocekaval) a hlavne uvidis sluzbu toho programu v seznamu sluzeb.
Sveho casu jsem si programy predelaval aby bezely jako sluzby, snad to jeste nekde najdu. Jinak na Win2k8R2 uz neni podporovano aby bezny program mohl bezet pod systemem, ale to neznamena ze to nejde, s pomoci utilit obsazenych v systemu.
-
Re: Windows 7 Prof. jako SERVER?
Vida nasel jsem to, jak je to dobry zvyk delat si vlastni knowledgebase :)
sc create testsvc binpath= "cmd /c C:\Program Files (x86)\Winamp\winamp.exe" type= own type= interact
dale upravit pres registry na --cmd /c start "" "C:\Program Files (x86)\Winamp\winamp.exe"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services
sc create WinampService binpath= "cmd /c C:\Program Files (x86)\Winamp\winamp.exe" type= own type= interact
cmd /c start "" "C:\Program Files (x86)\Winamp\winamp.exe"
sc create zobrazitkonzoli binpath= "cmd /K start" type= own type= interact
net start zobrazitkonzoli
Prvni je "navod", druhe uz konkretni "vyrobeni", treti je pro moznost zobrazeni servisni konzoly (bezne ji nemas moznost zapnout, jak jsem psal, spousteni programu pod uctem system uz neni podporovano).
Jeste dodam ze to ze je to serverovy OS na veci nic nemeni, jen tam mas vic ficurek, jinak jsou to prevlecene Win7.
EDIT:// Uz to same psal vlastne pajkus, ta utilita je soucasti systemu, takze nic nebrani s konikem vyrazit hura do lesa :D
-
Re: Windows 7 Prof. jako SERVER?
K+ rozdána (komu to tedy šlo)...
Tak jo, odpoutám koníka a hurá do lesa :) díky
-
Re: Windows 7 Prof. jako SERVER?
Jo jinak ja uz se na podobny vychytavky po case vykaslal a po spusteni Win7 na "serveru" se proste prihlasi ucet pod kterym vsechno bezi a ktery neodhlasuju. Funkcni, bez prace ;-)
Dokonce jsem tam i rozjel RemoteApp, kdy muzu mit vzdalene spustene aplikace na serveru a na klientu se tvari jako lokalni (pod jinym uctem, kdyz neni ten "porad bezici" zrovna aktivni v RDP, tak tam stale bez problemu bezi, na serveru muzes mit samozrejme aktivni 2)
A do tretice vseho dobreho pro inspiraci, disky klasicky windows sdilenim (SMB) namapovane z internetu tunelem zkrz SSH :)
-
Re: Windows 7 Prof. jako SERVER?
Citace:
Původně odeslal
HollyG
A do tretice vseho dobreho pro inspiraci, disky klasicky windows sdilenim (SMB) namapovane z internetu tunelem zkrz SSH :)
Můžu potvrdit, že jsem toto viděl v praxi a je to hodně hustej úlet! ;D
-
Re: Windows 7 Prof. jako SERVER?
Mno tohle jsem vytvořil VPNkem na serveru (doma), a když se v práci připojím na VPN tak onen disk se mi jeví jako "Y:"
Ale musím se manuálně připojit k serveru. Nikoliv automaticky (nicméně to bych ani nechtěl, páč mi v práci může lézt na comp kdokoli).
-
Re: Windows 7 Prof. jako SERVER?
Ja byl od chvile co mi odesla konfigurace na routeru linej nastavovat znovu OpenVPN, tak zatim vse resim tim SSH, minimalne je to pekne efektni :D
-
Re: Windows Home Server 2011
Tak ohledně přidání programu pomocí sc.exe a srvany.exe je hotovo. Díky ještě jednou.
A teď dále.
IIS
- ftp jsem si doinstaloval a spustil tam problém nemám, vše šlape..
- ohledně www je to poněkud složitější..
Na klasickém IIS (we Win7 nebo XP), si po instalaci vyberete ROOT adresář, kam si budete dávat www stránky. Zde na WHS je situace krapet odlišná a to z toho důvodu, že tu je Web Remote Client. Tzn napíšete-li
http://home.atreid.cz do webu objeví se Vám adresa home.atreid.cz/remote (prostě to automaticky přeskočí sem) - jo teda po schválení neznámého certifikátu (což vypadá sice divně, ale je to logický - každý server si vytvoří vlastní certifikát a protože jej nemáte podepsaný tak proto není "důvěryhodný".).
- V IIS v kolonce web je sice "Default web site". Kde bych předpokládal, že si budu moct změnit onen root adresář, ale to tam nikde nejde
- Když si pod "Weby" vytvořím nový web a tomu již konkrétní adresář přidělím, tak se zase nerozje "web remote client" a kýžený adresář taky ne.
někde dělám chybu, ale nevidím ji, bo nevím kde co změnit...
Prostě ale chci aby když si zadám home.atreid.cz, tak aby se mi zobrazil "index.html" z konkrétního adresáře na localním disku onoho serveru. A zároveň, aby fungovalo home.atreid.cz/remote kde se objeví stávající přihlašovací stránka na Web remote client.
Snad to píšu srozumitelně....
-
Re: Windows Home Server 2011
Tak vyřešeno...
Pro ty co by Vás to zajímalo napíšu pár poznatků.
1) default web site má cestu nasměrovanou sem: C:\Program Files\Windows Server\Bin\WebApps\Site
(jenže pokud plánujete přidávat další weby je dobré si celý adresář nasdílet - jenže sdílet adresář, který obsahuje podadresáře ohledně aspnet, configu atd., je volovina ukazovat veřejnosti. Čili je zapotřebí si v IIS vytvořit další web.
2) napřed si ale musíme v dashboardu vytvořit adresář (např "www"), kterému nastavíte sdílení určitých osob
3) pak teprve v IIS založíte další web a tomu přiřadíte správnou cestu (D:\ServerFolders\www)
4) ve vazbách nového webu v IIS nastavíte "všechny nepřiřazené IP" port 80 a dále zadáte uživatele který do tohoto adresáře má práva
5) systém Vás seřve, že port 80 je už využíván v default web site webu, tam musíte vlézt do vazeb a tento port odeberete.
Výsledek - pokud do internetu napíšete home.atreid.cz (vše pojede pod portem 80 a tudíž se požadavek dostane do adresáře D:\serverfolders\www, ovšem pokud rovnou zadáte https://home.atreid.cz/remote, pak se objeví přihlašovací stránka Web remote clienta serveru.
Instalace PHP
dále jsem měl problém s instalací php.
Dle asi 2 návodů z webu (http://www.wegotserved.com/2008/03/0...s-home-server/), které byly skoro shodné pouze jeden měl obrázky navíc, jsem se pokoušel php přidat, ovšem vše selhalo na bodu č.15
Měl jsem přidat do webu "Web Service Extensions" v IIS, odkaz na spouštění PHP C:\php\php5isapi.dll. Jenže problém byl v tom že tento web servis extension v IIS vůbec nebyl...
Vyřešeno instalací souboru, který je přímo pro wokna jako instalátor:
php-5.3.8-nts-Win32-VC9-x86.msi