Skip to main content

Posts

grunt error

In case you get below error: c:\>grunt module.js:340     throw err;           ^ Error: Cannot find module 'glob'     at Function.Module._resolveFilename (module.js:338:15)     at Function.Module._load (module.js:280:25)     at Module.require (module.js:364:17)     at require (module.js:380:17)     at Object. (C:\Users\birer\AppData\Roaming\npm\node_modules\grunt-cli\node_modules\findup-sync\lib\findup-sync.js:15:12)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:312:12)     at Module.require (module.js:364:17) Try below lines to fix it: npm uninstall -g grunt-cli npm install -g grunt-cli

CAC

CAC = Common Access Card מתוך הערך שהוספתי לויקיפדיה: CAC  הינו שם קוד לרגולציה של הממשל האמריקני. קיימות מספר משמעויות פרקטיות לרגולציה זו אך המשמעות השכיחה הינה הדרישה כי ביצוע הזדהות (authentication) למערכת \ ליישום \ למחשב תתבצע ע"י כרטיס חכם פיזי ולא על ידי שם משתמש וסיסמא. כ כל הנראה, כבר עד סוף השנה, כל יישום אשר נמצא בשימוש של חברה פדרלית, צריך לאפשר מצב עבודה בו כניסה למערכת תתבצע אך ורק ע"י כרטיס CAC. הממשל מעודד חברות תוכנה אשר מאפשרות מצב עבודה זה לקבל הסמכה בסיסית המאשרת כי התוכנה תומכת באופן בסיסי ב CAC. ההסמכה הזו ניתנת ע"י חברה פדרלית בשם JITC. קצת מידע טכני: על כרטיס CAC ישנם מספר certificates בפורמט X.509. רק חלק מתעודות אלה מורשות להיות בשימוש לזיהוי ה end user. הם יכולות להיות client certificates בעת הקמת ערוץ ה SSL מתחנת הקצה לשרת (או לפרוקסי שנמצא לפניו). זיהוי המשתמש עצמו נמצא בשדה subject ב client certificate. בדר"כ יהיה רשום זיהוי המשתמש ב attribute בשם CN או EMAIL.

Linux useful commands for Apache

When Apache run on linux, there are several usefull commands: Assumption: Apache is installed on /sw/pkg/apache. See server status /sw/pkg/apache/bin/apachectl Validate configuration files /sw/pkg/apache/bin/httpd -t Stop apache /sw/pkg/apache/bin/apachectl -k stop See server version /sw/pkg/apache/bin/httpd -v See who listen on port 80 netstat  | grep 80 netstat -ltnp | grep ':80'

Installing Apache on linux

Summary of page  Compiling and Installing - Apache HTTP Server Download files Download (1) apr (2) apr-util (3) pcre (4) httpd. apr and apr-utils from http://apr.apache.org/ .   pcre  from  http://www.pcre.org/ httpd  from  http://httpd.apache.org/download.cgi    Compile APR tar -xvzf apr-1.4.6.tar.gz cd apr-1.4.6/ ./configure make make install Compile APR-UTIL tar -xvzf apr-util-1.4.1.tar.gz cd apr-util-1.4.1 ./configure --with-apr=/usr/local/apr make make install Compile PCRE cd pcre-8.31 ./configure --with-apr=/usr/local/apr make make install Compile HTTPD tar -xvzf httpd-2.4.1.tar.gz cd httpd-2.4.1 ./configure --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-cgi --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr/ --prefix=/sw/pkg/apache make make in...

What is PKI

PKI = Public Key Infrastructure (Resource)  Method of asserting the identity and validity of a person (or entity) that you have not previously met or interacted. It use of certificates containing identifying information and public keys (these certificates are more properly called X.509 certificates). PKI accomplishes this by defining a central authority who is mutually trusted by all users of the system.