# Jenkins - Windows Installation ###### tags: `Jenkins` ![](https://i.imgur.com/0bD6oi1.png) [TOC] # Requisites Must have download **jenkins.msi file** from Jenkins website. [Click Here to download Jenkins](https://www.jenkins.io/download/) After obtaining the required file, double click to execute it. # 1. Double click [jenkins.msi file] >![](https://i.imgur.com/jhqYaGJ.png)[color=#f25d52] # 2. Service Logon Credentials >![](https://i.imgur.com/wQtMlaR.png)[color=#f25d52] ## How to get Service Logon Credentials? ### Service Logon Credentials Account/Password Steps 1. Login to the computer with administrative privileges. 1. Open the ‘Administrative Tools’ and open the ‘Local Security Policy’ 1. Expand ‘Local Policy’ and click on ‘User Rights Assignment’ 1. In the right pane, right-click ‘Log on as a service’ and select properties. 1. Click on the ‘Add User or Group…’ button to add the new user. 1. In the ‘Select Users or Groups’ dialogue, find the user you wish to enter and click ‘OK’. Note: Can click advance to further look for any user. 1. Click ‘OK’ in the ‘Log in as a service Properties’ to save changes. ### Translation EN > CH of words used in acc/pass acquirement's proccess **English to Chinese Translation:** >1. Administrative Tools: Windows系統管理工具 (控制台\系統及安全性\系統管理工具) >1. Local Security Policy: 本機安全性原則[color=#f25d52] >1. Local Policy: 本機原則 >1. User Rights Assignment: 使用者權限指派 >1. Log on as a service: 以服務方式登入 >1. Add User or Group: 新增使用者或群組 >1. Select Users or Groups: 選取使用者或群組 # 3. Jenkin's Port set up It is needed to use **Test Port** to check whether the port is not being used by other service. In my case, I used 25565 as port number. Therefore, Jenkins will later be available in http://localhost:25565/. **Note:** Prefer to leave those mostly used ports for other services. >![](https://i.imgur.com/0TC7mYo.png)[color=#f25d52] ## Error: Port Error When this kind of **Error** is shown, it means that the port is already used by another service. Therefore, you better use another. Better test before clicking next. >![](https://i.imgur.com/5f7HEVX.png)[color=#333333] # 4. Select Java home directory Select the path of JDK/JRE in your own computer. **Note:** Only ***Java 1.8 and 11*** can be used with Jenkins. >![](https://i.imgur.com/3XJGrdg.png)[color=#f25d52] # 5. Custom Setup: Features can be installed here I just used default set up and clicked next. >![](https://i.imgur.com/w2fxT2a.png)[color=#f25d52] # 6. Jenkins will start Setup on its own >![](https://i.imgur.com/yRA7GxS.png)[color=#f25d52] # 7. Unlock Jenkins Input password provided by Jenkins to unlock it. >![](https://i.imgur.com/34AMPhH.png)[color=#f25d52] ## Where can I get the password? Follow the folder's location and you will find the password being requested. You can open the file with text file or even sublime text. # 8. Customize Jenkins plugins We can either select **suggested plugins** or **select specific plugins**. >![](https://i.imgur.com/LhGboIU.png)[color=#f25d52] **Installation of Plugins:** >![](https://i.imgur.com/ZK9f3OM.png)[color=#f25d52] # 9. Create Admin User By creating this one, you will be able to enter Jenkins with this same account. **Note:** Better take note of this account before you forget it. >![](https://i.imgur.com/fhpfbKS.png)[color=#f25d52] # 10. Setup Jenkins' URL >![](https://i.imgur.com/oFwnVR1.png)[color=#f25d52] # Congrats you are done with Jenkins' Installation! >![](https://i.imgur.com/50eMqql.png)[color=#f25d52] # Reference [StackOverflow - Service Logon Credentials](https://stackoverflow.com/questions/63410442/jenkins-installation-windows-10-service-logon-credentials) [Microsoft - Jenkins port failed to bind](https://docs.microsoft.com/en-us/answers/questions/261207/failed-to-bind-port-error-in-bind-0x8007271d.html)