Posts

Showing posts from 2020

Install and configure SonarQube on CentOS 7

Introduction S onarQube is an open-source platform for continuous inspection of code quality. It is used to perform automatic reviews with static analysis of code to detect bugs, code smells, and security vulnerabilities on more than 20 programming languages. Platform notes If you're running on Linux, you must ensure that: vm.max_map_count is greater or equals to 262144   fs.file-max is greater or equals to 65536   the user running SonarQube can open at least 65536 file descriptors   the user running SonarQube can open at least 4096 threads vim /etc/sysctl.d/90-sonarqube.conf vm.max_map_count=262144 fs.file-max=65536 vim /etc/security/limits.conf sonarqube - nofile 65536 sonarqube - nproc 4096 Install OpenJDK yum install -y java-11-openjdk Set Default JDK update-alternatives --config java There is 1 program that provides 'java'. Selection Command ----------------------------------------------- *+ 1 java-11-

Convert install.esd to install.wim at Windows 10

Image
1.  From the Windows installation media,  copy  the  install.esd  file from the "sources" folder (e.g. X:\sources\install.esd) to the  root  folder of  drive C:  * * Note:   If you are using an ISO Image file, first  mount  it to Windows. If you are using Windows 8/8.1, then read this article:  How to mount ISO files. 2.   Right click at  Start  menu   and select  Command Prompt (Admin). 3.  Type  cd\  to go to the root folder of drive C:\ 4.  Then type the following command and press  Enter , in order to find which images are in the "install.esd" file: dism /Get-WimInfo /WimFile:install.esd 5.  According to your Windows 10 installed version take note of the index number. * * e.g.: If you have installed the Windows 10 Home N edition on your system, then the Index number is "2". 6.  Then give the command below to extract the corresponding to your Windows version "install.wim" file (Index number): * dism /export