I to tatou mua
I timata te ratonga tautoko ki te whiwhi tono me pehea te mahi me te Server 2019 Core kaore he anga whakairoiro o mua. I whakatau matou ki te whakaatu me pehea te mahi me te Windows Server 2019 Core me pehea te whakauru i te GUI ki runga.
Kaua e tuaruatia tenei i runga i nga miihini mahi, kaua e whakamahi i te Server Core hei papamahi, whakakorehia te RDP, tiakina to punaha korero, ko te haumaru te waahanga matua o te whakaurunga "Core".
I roto i tetahi o a maatau tuhinga e whai ake nei ka titiro tatou ki te ripanga hototahitanga hotaka me te Windows Server Core. I roto i tenei tuhinga ka korerohia me pehea te whakauru i te anga.
Anga ma te hunga tuatoru
1. Matatini, engari ko te huarahi tino pai
Ko te Server Core karekau he explorer.exe o mua mai i te pouaka. Kia ngawari ake ai to maatau oranga, ka tangohia e matou a explorer++. Ka whakakapi i nga mea katoa ka taea e te kaihōpara taketake. Ko te kaihōpara++ anake i whakaarohia, engari tata ki nga kaiwhakahaere konae ka mahi, tae atu ki te Kaihautu Tapeke, Kaiwhakahaere FAR me etahi atu.
Tikiake kōnae.
Tuatahi me tango te konae ki te tūmau. Ka taea tenei ma te SMB (kōpaki tiritahi), Windows Admin Center me Tonoa-Tukutuku, ka mahi me te tawhā -UseBasicParsing.
Invoke-WebRequest -UseBasicParsing -Uri 'https://website.com/file.exe' -OutFile C:UsersAdministratorDownloadsfile.exe
Kei hea -uri koinei te URL o te konae, a ko te -OutFile te huarahi katoa ki te tiki ake, e tohu ana i te toronga o te konae me
Ma te Powershell:
Waihangahia he kōpaki hōu ki te tūmau:
New-Item -Path 'C:OurCoolFiles' -ItemType Directory
Tiri kōpaki tiritahi:
New-SmbShare -Path 'C:OurCoolFiles' -FullAccess Administrator
-Name OurCoolShare
I to PC, kua mapi te kōpaki hei puku whatunga.
Na roto i te Pokapū Whakahaere Windows, hangaia he kōpaki hōu mā te kōwhiri i tētahi tūemi i te tahua.
Haere ki te kōpaki tiritahi ka paato i te paatene tuku, tohua te konae.
Tāpirihia he anga ki te kaihōtaka.
Ki te kore koe e hiahia ki te whakarewa a ringa i te anga i ia wa ka uru koe, me taapiri atu ki te kaihōtaka mahi.
$A = New-ScheduledTaskAction -Execute "C:OurCoolFilesexplorer++.exe"
$T = New-ScheduledTaskTrigger -AtLogon
$P = New-ScheduledTaskPrincipal "localAdministrator"
$S = New-ScheduledTaskSettingsSet
$D = New-ScheduledTask -Action $A -Principal $P -Trigger $T -Settings $S
Register-ScheduledTask StartExplorer -InputObject $D
Ki te kore he mahere, ka taea e koe te whakahaere ma te CMD:
CD C:OurCoolFilesExplorer++.exe
Tikanga 2. Whakarewahia te Maori Explorer
Kia mahara, kaore he GUI
Server Core App Compatibility Feature on Demand (FOD), ka hoki ki te punaha: MMC, Eventvwr, PerfMon, Resmon, Explorer.exe me Powershell ISE.
Whakarewa Powershell ka tomo i te whakahau e whai ake nei:
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
Na ka whakaara ano i te tūmau:
Restart-Computer
I muri i tenei, ka taea e koe te whakahaere ahakoa Microsoft Office, engari ka ngaro koe tata ki te 200 megabytes o te RAM mo ake tonu atu, ahakoa kaore he kaiwhakamahi kaha i runga i te punaha.
Windows Server 2019 me nga waahanga i runga i te tono kua whakauruhia
Windows Server 2019 CORE
Heoi ano. I roto i te tuhinga e whai ake nei ka titiro tatou ki te ripanga hototahitanga hotaka me Windows Server Core.
Source: will.com