Convention for Configure an OS

From Chorke Wiki
Revision as of 21:53, 22 October 2020 by Shahed (talk | contribs) (→‎Windows)
Jump to navigation Jump to search
Windows
───────────────────────────────────
C:\Users\
   ├─ academia_1000\ (Standard)
   └─ academia\ (Administrator)
───────────────────────────────────
C:\Users\
   ├─ software_1000\ (Standard)
   └─ software\ (Administrator)
Linux
───────────────────────────────────
/home
   ├─ academia_1000\ (Standard)
   └─ academia\ (Administrator)
───────────────────────────────────
/home
   ├─ software_1000\ (Standard)
   └─ software\ (Administrator)
MacOS
───────────────────────────────────
/Users
   ├─ academia_1000\ (Standard)
   └─ academia\ (Administrator)
───────────────────────────────────
/Users
   ├─ software_1000\ (Standard)
   └─ software\ (Administrator)

Structure

Windows

sys(c:)
───────────────────────
  ├─ bkp     [optional]
  ├─ dev     [optional]
  ├─ etc     [optional]
  ├─ lib     [optional]
  ├─ opt
  ├─ pro     [optional]
  ├─ usr     [optional]
  └─ var     [optional]
opt(d:)
───────────────────────
  ├─ bkp     [optional]
  ├─ dev     [optional]
  ├─ etc     [optional]
  ├─ lib
  ├─ opt
  ├─ pro
  ├─ usr     [optional]
  └─ var
dev(e:)
───────────────────────
  ├─ dev
  └─ usr     [optional]
var(f:)
───────────────────────
  ├─ bkp
  ├─ tmp
  ├─ usr
  └─ var
sys(c:)\opt
───────────────────────
  ├─ apache-ant-1.9.15
  ├─ apache-karaf-4.2.0
  ├─ apache-maven-3.3.9
  ├─ gradle
  ├─ Python39
  ├─ Ruby27
  ├─ Sencha
  └─ Xampp

Linux

/opt
───────────────────────
  ├─ cli
  ├─ dev
  ├─ ide
  ├─ lib
  ├─ pro
  ├─ sdk
  └─ var
/opt/cli
────────────────────────────────────
  ├─ apache-ant-1.9.15
  ├─ apache-karaf-4.2.0
  ├─ apache-maven-3.3.9
  ├─ asp.netcore-runtime-3.0.0
  ├─ flutter_macos_v1.9.1
  ├─ oracle
  └─ sencha
/opt/ide
────────────────────────────────────
  ├─ eclipse-cpp-neon-2
  ├─ eclipse-jee-neon-2
  ├─ eclipse-php-neon-3
  ├─ eclipse-reporting-neon-2
  ├─ eclipse-testing-neon-2
  ├─
  └─

Environment

Windows

NPP_HOME=C:\Program Files\Notepad++
GRAILS_HOME=C:\opt\cli\grails-2.4.3
GRADLE_HOME=C:\opt\cli\gradle-2.0
SENCHA_CMD=c:\opt\Sencha\Cmd
NODEJS_HOME=C:\opt\cli\npm
RUBY_HOME=C:\opt\Ruby27
PY_HOME=C:\opt\Python39
PHP_HOME=C:\xampp\php
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_261
JRE_HOME=C:\Program Files\Java\jre1.8.0_261
JBOSS_HOME=C:\opt\wildfly-21.0.0.Final
M2_HOME=C:\opt\cli\apache-maven-3.3.3
ANT_HOME=C:\opt\cli\apache-ant-1.9.4
ACADEMIA_HOME=C:\opt\pro\academia
COMPOSER_HOME=C:\opt\cli\composer
MYSQL_HOME=C:\xampp\mysql
CHORKE_END_PATH=%PY_HOME%;%NPP_HOME%;%ANT_HOME%\bin;%M2_HOME%\bin;%GRADLE_HOME%\bin;%GRAILS_HOME%\bin;%NODEJS_HOME%;%PHP_HOME%;%COMPOSER_HOME%\bin
CHORKE_PRE_PATH=%SENCHA_CMD%;%RUBY_HOME%\bin;%JAVA_HOME%\bin;%JRE_HOME%\bin;%JBOSS_HOME%\bin;%MYSQL_HOME%\bin;%ACADEMIA_HOME%\bin
JAVA_OPTS=-Xmx1024M -XX:MaxPermSize=1024M -XX:+CMSClassUnloadingEnabled
PATH=%CHORKE_PRE_PATH%;%PATH%;%CHORKE_END_PATH%;