Windows Localization Strategy
The standard "Locale" plugin frequently fails to provide a complete translation for recent Jenkins releases on Windows. Reliable Chinese language support is best achieved using the "Localization: Chinese (Simplified)" plugin. However, this specific plugin is only compatible with Jenkins versions prior to 2.173. To utilize it, one must download and install an older stable release, such as version 2.164.3, via the native Windows installer.
Ubuntu Installation and Setup
Downloading the Specific Release
For Ubuntu environments, avoid the latest bleeding-edge releases if full localization is required. It is recommended to download version 2.164.3, as the 2.164.2 release contains known incompatibilities with several essential plugins. You can retrieve the package directly using wget.
wget https://updates.jenkins.io/latest-stable/jenkins_2.164.3_all.deb
Package Installation
Use the Debian package manager for a streamlined installation. If dependency errors occur, resolve them automatically before proceeding.
sudo dpkg -i jenkins_2.164.3_all.deb
sudo apt-get install -f
Port Configuration
By default, Jenkins binds to port 8080. To prevent conflicts with other services, modify the configuration file to use an alternative port, such as 8081.
sudo nano /etc/default/jenkins
Locate the HTTP_PORT entry and update it:
HTTP_PORT=8081
Apply the changes by restarting the service:
sudo systemctl restart jenkins
Initial Access and Configuration
Navigate to the server via a web browser using the IP address and the configured port. To unlock the instance, retrieve the initial administrator password from the default log location.
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
Proceed with the setup wizard by installing the suggested plugins. Finally, create an administrative user account to secure the instance, replacing the default admin user and its auto-generated password.