Backup/Restore pacman & yaourt packages list

Arch linux

Backup pacman package list

 

Restore pacman package 

 

Backup yaourt package list

 

Backup yaourt package

 

 

Local workspace file (‘angular.json’) could not be found.

After upgrading Angular application using ncu -a, got an error message Local workspace file ('angular.json') could not be found.</code.

 

To resolve the issue, run ng update @angular/cli

 

 

References: https://vitalflux.com/upgrade-angular-5-app-angular-6/

 

Error on installing `networkmanager-l2tp 1.2.10-3` in Arch Linux

References:

 

When run the command to install the package networkmanager-l2tp 1.2.10-3, an error occurs like below:

I resolved by installing NetworkManager-l2tp manually.

 

 

And then, add new VPN connection following steps:

  • Go to Settings -> Network -> Add VPN -> Click Layer 2 Tunneling Protocol (L2TP).
  • Enter Connection name
  • Click VPN tab
  • Enter Gateway, Username, Password
  • Click IPsec Settings
  • Check Enable IPsec tunnel to L2TP host
  • Enter Pre-shared Key
  • Click Save

 

After that, if VPN connection is failed after configured correctly, then it could be an issue with an issue with 3DES cipher setting. Try this step

  • Go to Settings -> Network -> Add VPN -> Click Layer 2 Tunneling Protocol (L2TP).
  • Edit VPN connection that you just created
  • Click VPN tab
  • Click IPSec Settings
  • Enter Phase1 Algorithms as 3des-sha1-modp1024!
  • Enter Phase2 Algorithms as 3des-sha1!
  • Click OK
  • Click Save

 

Try again.

 

 

 

Setup Gitlab & Jenkins on Raspberry Pi 2

Objective:

Installing and configuring Gitlab and Jenkins on Raspberry Pi 2

 

Background:

I currently have extra Raspberry Pi and would like to use for something useful. I found Jenkins and Gitlab are able to install on Raspberry Pi.

This article is to share the step by step guide how to setup Gitlab and Jenkins to Raspberry Pi 2.

 

Preparation:

1 x Raspberry Pi 2

 

Step By Step:

  1. Install Raspbian to Raspberry Pi 2
    • Omit the installation part as it is quite straightforward.
  2. Setup static IP address
    • Omit as Google will tell you how to do.
    • In my Pi, I set 192.168.1.201
  3. Increase swap memory
    • Since both applications are memory intensive, I increased swap memory

      Change CONF_SWAPFILE=100 to CONF_SWAPFILE=1000
  4. Install Gitlab
    • Run following commands
    • Detailed instruction available in https://about.gitlab.com/installation/#raspberry-pi-2
  5. Install Jenkins
    • Run following commands
    • Detailed instruction available in http://ifahrentholz.de/2017/setup-jenkins-on-raspberry/
  6. Access Gitlab – http://192.168.1.201:80
  7. Update Gitlab configuration file for changing a port
    • Since I didn’t want to use 80 as default port, I updated the port to 8080.
    • Run following command

      Update following configuration parameters
    • Run following command
  8. Access Gitlab – http://192.168.1.201:8081
  9. Create new password for account
  10. Login with root and password
  11. Then you will see this screen
  12. Access Jenkins – http://192.168.1.201:8080
  13. Get initial password for unlocking Jenkins
  14. In the screen “Customize Jenkins”, click “Install suggested plugins” and wait for installing plugins
  15. Create first administrator user
  16. Click “Start using Jenkins”
  17. If the display language is not English or you prefer different display language, then install Locale plugin and force to set desired language as main language.If the display language is not English or you prefer different display language, then install Locale plugin and force to set desired language as main language.
    • Plugin page: https://wiki.jenkins.io/display/JENKINS/Locale+Plugin
    • Go to “Manage Jenkins” -> “Manage Plugins”
    • Click “Available” tab
    • Find “Locale plugin” and check checkbox
    • Click “Install without restart” button
    • After finishing installation, go to “Manage Jenkins” -> “Configure System”
    • Find “Locale” section -> “Default Language”
    • Enter desired language code such as en for English
    • And check “Ignore browser preference and force this language to all users”
    • Click “Save” button
  18. After you finish setting, you should see following screen

Ziroom (즈룸)에 대한 개인적인 생각

Ziroom (즈룸): http://blog.naver.com/china_lab/221042945179

 

* Ziroom (즈룸)이란 *

  • 집 주인으로부터 아파트나 하우스등 쉐어를 놓을 집을 위탁받아, 하우스 인테리어, 보수, 이사까지 중개업체인 즈룸에서 관리해줌
  • 추가적인 서비스로 주2회 방문 청소 및 보수 서비스 등
  • 방 검색, 인증, 계약, 결제까지 모두 모바일 앱에서 처리가 가능하여 사기를 방지하고 편리함을 제공함
  • 집주인은 집만 제공하면 수익이 제공되고 집 보수까지 모두 즈룸에서 관리해주기때문에 즈룸을 선호함

 

* 개인적인 생각 *

  • 호주의 경우 에어비엔비가 날로 늘어나는 추세임으로 집주인들은 더욱 높은 수익을 원하는 것을 확연이 알수 있음
  • 에어비엔비는 집주인이 모든걸 관리해야하기 때문에 즈룸 사업 모델이 집주인에게는 더 매력적이라고 생각함
  • 거주자 인증이 확실하게 보장된다면, 쉐어생들간에 생기는 분쟁같은 것도 처리할 수 있지 않을까 생각함
  • 호주는 인건비가 비싸 중국처럼 주2회 방문 청소나 보수 서비스가 가능할지는 미지수임
  • 지금 현재는 부동산 렌트 수요가 많기 때문에, 호주 집주인들이 쉐어를 놓음으로 생기는 리스크들을 무시할 정도의 수익률을 줄수있을지는 계산해봐야할것 같음
  • 즈룸처럼 중계업체형식으로 수수료를 수익모델로 한다면 괜찮을거같음
  • 멜번은 아파트쉐어가 시드니보다는 적기때문에 시장성으로 봤을때는 즈룸과 같은 사업 모델은 시드니가 더 가능성이 있어보임
  • 이런 서비스가 나온다면 확실히 학생들이나 시티에 거주하고자 하는 화이트 칼라들은 많이 이용할것으로 생각됨