Jenkins + Linux + xvfb + chrome web UI

  The original webui automation tests were run in chrome headless mode in a Linux environment, but downloading the relevant case is currently not well supported (see bug: https://bug)S.chromium.org/p/chromium/issues/detail?Id=696481), so choose to run the download-related case in non-headless mode, using the xvfb tool. When you install xvfb and start it, you need to add the following when manually adjusting the code. 1. When setting up xvfb, set screen size: nohup /usr/bin/Xvfb: 7 -ac -screen 0 1280x900x8 & 2. Set temporary environment variables: export DISPLAY=: 7 3. Add chrome optio...

too many open files

This problem is encountered every time. There are too few files in the system. ulimit -n 2048 Permanent configuration: vim /etc/security/limits.conf Bottom configuration: # End of file * soft nofile 100000 * hard nofile 100000 * soft memlock unlimited * hard memlock unlimited * hard nproc 100000 * soft nproc 100000 The first configuration user, * represents all users, both soft and hard are configured, and if the number is the same, the second is assigned “-“ by the way If you want to vi...

Establishment of Apache virtual host on 12.linux and establishment of HTTPS protocol website

The establishment of a.Apache virtual host   Virtual web host Build multiple web sites on the same server. Each site does not monopolize a real server.       1.Build DNS to resolve two domains with the same IP              vim /etc/name.conf              zone “simplexue.com” IN {             type master ;             file “simplexue.com.zone“;         };           zone “simpleware.com” IN {             type master ;             file “simpleware.com.zone̶...

How to jump the profit center report KE5Z

The code comes from the profit center accounting document for tracking FB03 accounting voucher. First stick to the code DATA: lw_awtyp TYPE acchd-awtyp, lw_awref TYPE acchd-awref, lw_aworg TYPE acchd-aworg, lt_documents TYPE STANDARD TABLE OF acc_doc. lw_awtyp = 'BKPFF'. lw_awref = ls_alv-belnr. CONCATENATE ls_alv-rbukrs ls_alv-ryear INTO lw_aworg. CALL FUNCTION 'AC_DOCUMENT_RECORD' EXPORTING i_awtyp = lw_awtyp i_awref = lw_awref i_aworg = lw_a...

The unknown rules and tricky things in Baidu bidding

First of all, as long as you can make good use of Baidu bidding is a good thing, it can be said that all these years, I have been eating this meal Baidu, so I am very grateful to Baidu. This article is not to say that Baidu is not good. It is just a matter of fact. Only by understanding it can we make good use of it.           Here refers to the operation of the account, the other does not say, Baidu bidding in those unknown rules and cat greasy, many, give a few examples to illustrate briefly:         First, click the price formula. Many people know the formula, but who dare...

How to build high availability redis architecture?

How to build high availability redis architecture? Wen GuobingArchitect’s Secret circleYesterday Author:Wen Guobing, who worked in cool dog music, is now 37 mutual entertainment DBA. Current major areas of concern: database automation operations and maintenance, high availability architecture design, database security, mass data solutions, and open source technology in the Internet applications 1 notes preceding the text of a book or following the title of an article   Redis It is an open source, network-enabled, memory-based and persistent log-based, Key-Value database written in A...