Give write permission to your app for application folder with command line.
ICACLS "myapp folder" /grant "IIS AppPool\myapp":M /t
Function | Description |
---|---|
POPUP_TO_SELECT_MONTH | Select month and year. |
GUI_RUN | Run command on client side. |
DAYS_BETWEEN_TWO_DATES | Total days between dates. |
HRVE_CONVERT_TIME | Convert time between 24h and 12h |
SEO_CLASS_GET_METHOD_INCLUDES | Find includes which are created by class |
TH_POPUP | Send message to user |
RP_CALC_DATE_IN_INTERVAL | Add or remove days, months and years to date |
HR_EFI_CONVERT_STRING_TO_TABLE | Convert string to itab with given row length |
MCS_BIW_DROP_CREATE_TABLE | Drop and re-create database table |
CONVERT_DATE_TO_INTERNAL | Convert string to date with check |
A lot of SAP product such as NetWeaver using sapcrypto / commoncrypto library (sapcryptolib.dll or sapcryptolib.so) for SSL / TLS and encryption.
ssl/client_ciphersuites = 150:PFS:HIGH::EC_P256:EC_HIGH
ssl/ciphersuites = 135:PFS:HIGH::EC_P256:EC_HIGH
You need at least 8.4.40 sapcrpytolib for SNI (Server Name Indication) support. Before SNI protocol client request certificate with domain IP instead of domain name. SNI used for hosting multiple site on same port with encryption.
ssl/client_sni_enabled = TRUE
We need updated kernel for using this parameter, details are in this note.
Also you can set these parameters as OS environment variable.
SAPSSL_CLIENT_CIPHERSUITES = 135:PFS:HIGH::EC_P256:EC_HIGH
SAPSSL_CLIENT_SNI_ENABLED = TRUE
In below table you can find minumum sapcryptolib version for protocols.
Protocol | Version |
TLS 1.0 | 5.5.5 PL 28 |
TLS 1.2 | 8.4.31 |
SNI | 8.4.40 |
DATA: lv_content TYPE string, lv_pos TYPE i, lv_len TYPE i. lv_content = 'dummy string'. lv_pos = 1. WHILE lv_pos LE strlen( lv_content ). lv_len = 80. IF lv_pos + lv_len GT strlen( lv_content ). lv_len = strlen( lv_content ) - lv_pos. ENDIF. WRITE lv_content+lv_pos(lv_len). lv_pos = lv_pos + 80. ENDWHILE.
Install tools for operation.
yum install nano wget epel-release
If you update some packages, your config files override with new ones. You can find old files with rpm extension in same directory.
Some linux distributions update their package with delay. IUS is good option for using latest package. You can get IUS package list here and install them with below command.
Install ius rpm package first:
yum install https://centos7.iuscommunity.org/ius-release.rpm
Use u suffix for Installing package from ius repo. For example use below for installing git 2.x:
yum install git2u
Download rpm package, check this list for other versions.
wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
Install package.
rpm -i pgdg-centos96-9.6-3.noarch.rpm
yum install postgresql96-server postgresql96-contrib
/usr/pgsql-9.6/bin/postgresql96-setup initdb
Create db and user.
su postgres
createuser --interactive
createdb -O myuser mydb
Run psql for setting password to new user.
psql
ALTER USER mydbuser WITH PASSWORD 'mynewpass';
\q
If you need proxy you can use nginx. You need give permission to nginx for accessing http resources.
setsebool httpd_can_network_connect true -P
Check nginx.log with
tail -10f /var/log/nginx/error.log
Use IUS for latest release, php72u.
Permissions overwritten after update, check /var/lib/php/fpm permissions.
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-linux-x64.rpm"
yum localinstall jre-8u181-linux-x64.rpm
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.rpm"
firewalld
When connect to centos machine with ssh, you can get below warning.
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
You need to set environment variable for encoding. Add below lines to /etc/environment file.
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Source: https://gist.github.com/ibrahimlawal/bfec7092cb64d46d8f9d1fd2c0c3d9c8
I am using my company mac pro 2015 for a lot of thing. So I need different environment look like C#, hybris, ABAP, etc. These environment needs service look like db. These service using my ram always. So I am using VM for environment which are not used often. I created VM for new hybris versions for testing (docker cannot pause / resume systems yet). I try some scenarios for my best hybris development environment.
VM: OS version Centos 7, Java 8 u162, MySQL 5.7.21 and hybris version 6.6.
Enviroment | Compile time (ant clean all) |
Hybris files in host shared with guest vm | 21 minutes 9 seconds |
Hybris files in guest vm | 3 minutes 8 seconds 2 minutes 29 seconds |
Hybris files in guest vm and shared with host (without nfs optimization) | 5 minutes 44 seconds |
If you want create history for item look like backoffice, you can use below example.
public void updateConsignmentStatus(String userUid, ConsignmentModel consignment, ConsignmentStatus status) { Map<string, object=""> originals = new HashMap(); originals.put(ConsignmentModel.STATUS, consignment.getStatus()); consignment.setStatus(status); Map<string, object> news = new HashMap(); news.put(ConsignmentModel.STATUS, consignment.getStatus()); final SavedValues savedValues = JaloConnection.getInstance().logItemModification(consignment.getPk(), news, originals, false); savedValues.setUser(UserManager.getInstance().getUserByLogin(userUid)); modelService.saveAll(); }