Skip to main content

Posts

Showing posts from 2017

Install4J ERROR: The installation/removal of a previoius program was not completed.

Error that may stop new installation: The installation/removal of a previoius program was not completed. You will need to restart your computer to complete that installation. After restarting your computer, run Setup again to complete the installation of Program name. How to solve the issue without restarting: Remove following keys: HKEY_CURRENT_USER\SOFTWARE\ej-technologies\install4j\RebootCheckFile HKEY_LOCAL_MACHINE\SOFTWARE\ej-technologies\install4j\RebootCheckFile HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations 

elasticsearch installation cheatsheet

SystemD cheatsheet: systemd is a system and service manager for Linux, compatible with SysV.  Overview of systemd for RHEL 7  Understanding and administering Systemd What Command service foobar start systemctl start foobar sservice foobar stop systemctl stop foobar service foobar status systemctl status foobar.service Listing dependencies: To see dependencies of a service systemctl list-dependencies nfs-server.service

docker cheatsheet

Short docker commands list (in table view): Images What How List local images docker images Delete local image docker rmi NAME Download image docker image pull NAME Create container from image (detached) docker run –d … Display information on image docker image inspect hpsoftware/almoctane Containers What How List of running docker containers docker ps List all docker containers (running and stopped) docker ps -a Start existing container docker start ID Stop contianer docker stop ID Create container, start it and get a shell inside of it docker run -it IMAGE bash Run a command inside of an already running container docker exec -it ID bash Delete container docker rm ID Get log docker logs ID Other What How Create virtual network docker create network octane_nw Start docker service systemctl start docker Define proxy mkdir -p /etc/systemd/system/docker.service.d vi /etc/systemd/system/docke

RPM cheatsheet

RPM is the Linux deployment tool. But how to use it? What How Files in RPM package rpm -qpl XX.rpm List scripts rpm -qp --scripts XX.rpm Install rpm rpm -ivh XX.rpm Update rpm rpm -Uvh XX.rpm Installed packages rpm -qa Information on specific installation rpm -qi PACKAGE Uninstall package rpm -e XX sd

What is linear programming (hebrew)

"תכנות לינארי" או "תכן לינארי" אינו מדבר על שיטת קידוד של תוכנה אלא על שיטה למציאת דרך אופטימלית להתנהגות במציאות.  הבעיות שהשיטה הזו פותרת מדברת על בעיות אופטימיזציה שבהן יש שימוש במשאבים אשר השימוש בהם הוא לינארי, כלומר המחיר שלהם הוא קבוע כפול כמות המשאב. הכי קל להבין מה זה "תכנות לינארי" הוא לבחון דוגמא פשוטה. הדוגמא חקלאי מגדל לאורך שנים מלפפונים ועגבניות בשדה ששטחו 30 דונם.  השנה, לקראת הסתיו, עליו להחליט כמה דונם יקצה לעגבניות וכמה יקצה למלפפונים. עקב הבצורת בשנים האחרונות, הוקצבה לחקלאי, לתקופת הגידול הנוכחית, מכסת מים של 450 קוב. האחראי על השיווק במושב, דורש שיוקצה לפחות 1 דונם לגידול מלפפונים על כל 3 דונם לגידול עגבניות. החקלאי גם בדק ומצא כמה עלה לו לגדל כל גידול וכמה הרוויח ממנו: החקלאי שואל - בכמה דונם לגדל עגבניות וכמה מלפפונים? שלב ראשון - המרה למודל מתמטי יש שתי פרמטרים שצריך למצוא אותם: X1 (מספר הדונמים שיוקצו לגידול עגבניות) ו X2 (מספר הדונמים שיוקצו לגידול מלפפונים). מה שצריך הוא

What is dynamic programming (hebrew)?

תכנון דינמי, תכנות דינמי או באנגלית Dynamic Programming הם שמות לדרך ליצירת אלגוריתמים. המילה "תכנות" בשם כוונות יצירת תוכנית פעולה ולא קידוד בשפת תכנות. הבסיס של השיטה שני הרעיונות שעומדים מאחורי השם המרשים הם: 1.      האלגוריתם יפתור את הבעייה בצורה רקורסיבית ע"י חלוקתה לתתי בעיות שגם הן נפתרות ע"י חלוקתן לתתי בעיות וכו עד שמגיעים לבעיה פשוטה. זה בעצם סוג של רקורסיה עם כמה תוספות. 2.      החזקה בצד את כל התוצאות שכבר נמצאו לתתי בעיות כך שאם נגיע שוב לאותה תת בעייה, לא נחשב אותה שוב. יותר קל להבין את הרעיון הזה ע"י שתי דוגמאות. דוגמא אחת היא בעיית "תרמיל הגב" ובעייה שנייה היא חישוב מספר פיבונצ'י. בעיית "תרמיל הגב"   בעיית "תרמיל הגב" או  Knapsack problem היא בעייה כללית שיש לה שימושים שונים.  דוגמא לבעיה הזו: גנב נכנס למחסן. יש לו תרמיל שיכול לסחוב עד 7 ק"ג. במחסן יש 30 מוצרים. כל מוצר שוקל משקל מסויים ויש לו ערך כספי מסויים. הגנב צריך דרך (אלגוריתם) לדעת איזה מוצגים לקחת כך שיהיה להם

KM02707977: ALM Octane Secure Configuration

Link:  https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM02707977 Digital signature verification of RPM package This procedure is necessary for the digital signature verification of RPM package to make sure the file has not been tampered with and the code was indeed signed by the trusted entity (Hewlett Packard Enterprise). If this is not done, you may see NOKEY warning during the installation of the ALM Octane application: warning: octane-onprem-12.53.xx.xx.rpm: Header V3 RSA/SHA1 Signature, key ID b564a643: NOKEY Solution :  If user sees NOKEY warning during the RPM package installation, they need to follow procedure on  this page   for the missing key. In the example above, key ID is  b564a643. Here is the summary of steps: Download the keys (or use  attached ) Extract the missing key  (or use  attached ) Import the missing key rpm --import /path_to_the_key/B564a643.pub Validate signature is OK: rpm --checksig filenam

ALM Octane resources

Videos -  Octane YouTube playlist Documentation -  HPE ALM Octane Help Center (12.55.3) Forum -  ALM Octane Practitioners Forum . In this forum you can find information, submit questions and collaborate with others regarding the Next Generation HPE ALM Octane product.

ALM Octane - KM02494295 - Installing Elastic Search server - VERSION 2.4

https://softwaresupport.hpe.com/km/KM02494295 Content of KM from Jun 20, 2017: Title Installing Elasticsearch server Summary Elasticsearch is a required component of ALM Octane.  This document is provided as a service on how to install and configure Elasticsearch on a Red Hat Enterprise Linux / Centos or Windows platforms. Topic This article provides the steps for installing an Elasticsearch database. Elasticsearch is a required database component for ALM Octane. Response   Elasticsearch is quite memory intensive and requires disk space to maintain indexes. Therefore, we recommend you have a dedicated machine. The size of the customer environment (standalone or clustered, number of workspaces, amount of data, and so on) may affect whether you need a mid-level machine or an Elasticsearch cluster. Therefore, the decision to use an existing server depends on the type of operations anticipated. For example, for testing purposes by a small pilot team,

ALM Octane - KM02703217 - installation troubleshooting document

If installation of ALM Octane fails. it is good idea to see troubleshooting guide KM02703217. To access this document, open  https://softwaresupport.hpe.com/km/KM02703217 Content of document (Jun 20, 2017): Title This document contains troubleshooting suggestions for issues relating to the ALM Octane installation. Summary Known troubleshooting scenarios and possible solutions. Check this document often for more updated information. Topic These the known scenarios and solutions for ALM Octane installation troubles. Response I rebooted the ALM Octane server machine. The HPALM service did not start up automatically. When you reboot the machine, you need to manually restart the ALM Octane server: service HPALM restart The service runs in the background. ALM Octane does not open in Internet Explorer. If you encounter problems opening ALM Octane in Internet Explorer, check that the domain is configured correctly: 1.      Edit the octane.yml file an