Stick with Ubuntu

Remember the excitement of the scene in 2008 received abroad sent Ubuntu 8.04 installation CD. But things only go so far, although playing for some time, but eventually because of their level of bad, bad patience (domestic network too unfriendly) and give up. While so many years and every time windwos are installed ubuntu dual operating systems. But just quietly on the hard disk, and not really used, sometimes I wonder if I can stick with Ubuntu that nice ah.

Finally I decided to use it, I intend to work environment from windows to ubuntu, which is the thing earlier this year. And I really persevered. Adhere to two or three months, and now I had to give up. Simply because I changed jobs, and the job environment more dependent windows. Companies use a domain account to log computer, control over the computer for staff use only, it is not possible to install ubuntu, even if you want to install the software in the windows are to apply, not necessarily to install.

But I do not want to give up! Next, I will still stick with ubuntu, ubuntu system 18.04 recording process can be used to configure one from the installation. The process is to find a long-term!

Download Ubuntu 18.04

Ubuntu official website to download the iso file

Make a boot disk U

Use rufus production, operation is very simple.

AnSo Ubuntu

  • Modify the startup project
  • installation

There are already available the Ubuntu system, you need to install the software following the daily need.

Installation Sogou input method

The system comes with smart pinyin are not good enough, personally, prefer Sogou input method. Sogou input method to the official website to download the deb package for Ubuntu, and then double-click you can start to install the Ubuntu Software. After requires a little configuration to use:

  • Enter regision & language, click manage installed language, box will pop up to let things installed, install just fine
  • Then select the keyboard input method system is fcitx
  • Restart the computer
  • Click the windows keyboard, search fcitx configuration, add Sogou input method input method in
  • Restart the computer

So that you can use Sogou input method

Installation chromium

I can not get chrome web site, so can not be installed chrome, instead of on the use of chromium, after all, they have a good relationship :)

Use to install Ubuntu Software

git

sudo apt install git

visual studio code

Official website to download the file, double-click to install deb

net-tools

Not even ifconfig are not

sudo apt install net-tools

sshd

sudo apt install openssh-server

nginx

Refer to the official documentation http://nginx.org/en/linux_packages.html#stable

node

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Documents from the official website

Do not forget to install npm

sudo apt install npm

remmina

A very powerful tool for remote, you can connect Linux and Windows

Installed in the Ubuntu Software

jenkins

https://jenkins.io/doc/book/installing/#debianubuntu

wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Jenkins needs java environment, I will follow the prompts to install the command line

sudo apt install openjdk-8-jre-headless

It was an embarrassing thing, gitlab like 8080 then we need only to change it up Jenkins's port, on the first provisional 8081 bar.

sudo service jenkins stop

sudo vim /etc/default/jeknins // 找到其中的8080改成8081

sudo vim /etc/init.d/jenkins // 找到其中的8080改成8081

sudo service jenkins start // 启动

GitLab

Just wanted to toss it haha

https://about.gitlab.com/installation/#ubuntu

According to the document said I get the following error:

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
Please configure a URL for your GitLab instance by setting `external_url`
configuration in /etc/gitlab/gitlab.rb file.
Then, you can start your GitLab instance by running the following command:
  sudo gitlab-ctl reconfigure

For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

This error is because my method in accordance with the document, specify = external_url http://gitlab.example.com , but to find a domain name is not found, only in the hosts file to point it like a local

Next, use http://gitlab.example.com access, but there are still problems, but then I saw on the Internet that gitlab by 8080, I would use the 8080 port access, of course, before I closed the jenkins

sudo service jenkins stop

Since 8080 the port jenkins also used.

Then you can visit, http://gitlab.example.com:8080 , just go in the first page is to set the root password, I set became gitlabpwd. In the process, he has not been to find a style.
Later found use http://gitlab.example.com can be visited, while the normal style. I think you do not need is not just beginning with the 8080 visit, just need to jenkins occupied by the 8080 release, and may
gitlab occupy the two ports 80 and 8080, and now has been unable to textual research. Anyway, you can normally use.

I can only say gitlab really good configuration, and the opportunity to not have to do what is not, just follow the installation guide on it, zero configuration! ! !

2018-08-31

To be continued

Published 53 original articles · won praise 39 · views 80000 +

Guess you like

Origin blog.csdn.net/Chinese521/article/details/82257535