Upload Cmder.txt
Browse files
Cmder.txt
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Powershell [ok]
|
| 2 |
+
|
| 3 |
+
# Install Cmder and configure Windows -- Install Cmder Download Cmder... Unzip Cmder in C:\Users\sganesan012323\bin\cmder-1.3.21... -- Set env var: HOME (C:\Users\sganesan012323)
|
| 4 |
+
-- Set env var: CMDER_HOME & CMDER_ROOT
|
| 5 |
+
-- Set path: cmder & git
|
| 6 |
+
-- Set bash as defaut Cmder terminal
|
| 7 |
+
-- Add Cmder icon
|
| 8 |
+
-- Add Git bash icon
|
| 9 |
+
-- Add context menu for Cmder
|
| 10 |
+
-- Create certificates bundle
|
| 11 |
+
-- Configure system: use Bundle AC
|
| 12 |
+
-- Configure curl: use Bundle AC
|
| 13 |
+
-- Configure git: use Bundle AC & unset proxy & set CRLF
|
| 14 |
+
-- Configure bash: call .bashrc
|
| 15 |
+
dos2unix: converting file C:\Users\sganesan012323/.bash_profile to Unix format...
|
| 16 |
+
dos2unix: converting file C:\Users\sganesan012323/.bashrc to Unix format...
|
| 17 |
+
-- Configure powershell: add alias envinstall
|
| 18 |
+
dos2unix: converting file C:\Users\sganesan012323\OneDrive - GROUP DIGITAL WORKPLACE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 to Unix format...
|
| 19 |
+
dos2unix: converting file C:\Users\sganesan012323\OneDrive - GROUP DIGITAL WORKPLACE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 to Unix format...
|
| 20 |
+
-- Configure cmd: add alias envinstall
|
| 21 |
+
dos2unix: converting file C:\Users\sganesan012323/.cmd_doskey to Unix format...
|
| 22 |
+
>> You can launch Cmder and Git bash from Windows Start Menu
|
| 23 |
+
|
| 24 |
+
# Install EnvInstall
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
-- Init installation path
|
| 28 |
+
Installation path is /c/Users/sganesan012323/bin/envinstall.
|
| 29 |
+
|
| 30 |
+
-- Your information
|
| 31 |
+
Your USER ID: sganesan012323
|
| 32 |
+
Your Entity: GTS
|
| 33 |
+
Your IT department: GTS
|
| 34 |
+
Your proxy Internet: proxy-nova.si.socgen:8080
|
| 35 |
+
Your proxy SG:
|
| 36 |
+
If these information are incorrects, you can modify them in /c/Users/sganesan012323/bin/envinstall/config.properties.
|
| 37 |
+
|
| 38 |
+
-- Installation in /c/Users/sganesan012323/bin/envinstall
|
| 39 |
+
Cloning into 'C:/Users/sganesan012323/bin/envinstall'...
|
| 40 |
+
remote: Enumerating objects: 8223, done.
|
| 41 |
+
remote: Counting objects: 100% (359/359), done.
|
| 42 |
+
remote: Compressing objects: 100% (199/199), done.
|
| 43 |
+
remote: Total 8223 (delta 230), reused 259 (delta 157), pack-reused 7864Receiving objects: 100% (8223/8223), 6.71 MiB | 485.00 KiB/s
|
| 44 |
+
Receiving objects: 100% (8223/8223), 6.80 MiB | 480.00 KiB/s, done.
|
| 45 |
+
Resolving deltas: 100% (5485/5485), done.
|
| 46 |
+
|
| 47 |
+
-- Configure bash: add alias envinstall
|
| 48 |
+
|
| 49 |
+
-- DONE!
|
| 50 |
+
The 'envinstall' alias has been added to '.bashrc' file. Please restart a NEW bash.
|
| 51 |
+
To have more help: envinstall help
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
# Install EnvInstall Tools and Service
|
| 55 |
+
|
| 56 |
+
## Install 7-Zip 22.00 in /c/Users/sganesan012323/bin/7z-22.00-x64-cli
|
| 57 |
+
> Install package from internal storage, origin: https://www.7-zip.org/a/7z2200-x64.msi
|
| 58 |
+
- Downloading...
|
| 59 |
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
| 60 |
+
Dload Upload Total Spent Left Speed
|
| 61 |
+
100 1860k 100 1860k 0 0 395k 0 0:00:04 0:00:04 --:--:-- 395k
|
| 62 |
+
- Extract MSI...
|
| 63 |
+
- Check Hash...
|
| 64 |
+
> done
|
| 65 |
+
> Add to path /c/Users/sganesan012323/bin/7z-22.00-x64-cli
|
| 66 |
+
## Install wix 3.11.2 in /c/Users/sganesan012323/bin/wix-3.11.2
|
| 67 |
+
> Install package from internal storage, origin: https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
|
| 68 |
+
- Downloading...
|
| 69 |
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
| 70 |
+
Dload Upload Total Spent Left Speed
|
| 71 |
+
100 33.0M 100 33.0M 0 0 494k 0 0:01:08 0:01:08 --:--:-- 509k
|
| 72 |
+
- Unzipping...
|
| 73 |
+
- Check Hash...
|
| 74 |
+
> done
|
| 75 |
+
> Add to path /c/Users/sganesan012323/bin/wix-3.11.2
|
| 76 |
+
> Info No version defined for 'envinstall-service', using latest version instead: 1.12.0
|
| 77 |
+
## Install EnvInstall service 1.12.0 in /c/Users/sganesan012323/bin/envinstall-service-v1.12.0
|
| 78 |
+
> Install package from internal storage, origin: https://prod.ice.socgen/nexus/service/local/artifact/maven/redirect?r=central-all&g=com.socgen.xbl.envinstall&a=envinstall-service&v=1.12.0&e=zip&c=windows
|
| 79 |
+
- Downloading...
|
| 80 |
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
| 81 |
+
Dload Upload Total Spent Left Speed
|
| 82 |
+
100 2253k 100 2253k 0 0 412k 0 0:00:05 0:00:05 --:--:-- 490k
|
| 83 |
+
- Unzipping...
|
| 84 |
+
- Check Hash...
|
| 85 |
+
> done
|
| 86 |
+
> Add to Windows 'start' menu EnvInstall service 1.12.0 > done
|
| 87 |
+
> Install specific start /c/Users/sganesan012323/bin/envinstall-service-v1.12.0/start.bat
|
| 88 |
+
> done
|
| 89 |
+
|
| 90 |
+
>> You can use EnvInstall in Cmder now (bash, cmd or powershell) or Git bash: envinstall <command>
|
| 91 |
+
|
| 92 |
+
Press any key to continue . . .
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|