Installing a root/CA Certificate

Given a CA certificate file foo.crt, follow these steps to install it on Ubuntu:

  1. Create a directory for extra CA certificates in /usr/share/ca-certificates:

    sudo mkdir /usr/share/ca-certificates/extra
  2. Copy the CA .crt file to this directory:

    sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
  3. Let Ubuntu add the .crt file's path relative to /usr/share/ca-certificates to /etc/ca-certificates.conf:

    sudo dpkg-reconfigure ca-certificates

    To do this non-interactively, run:

    sudo update-ca-certificates

In case of a .pem file on Ubuntu, it must first be converted to a .crt file:

openssl x509 -in foo.pem -inform PEM -out foo.crt

1. Download the 3 required dependencies from Launchpad (not providing direct links so you can check it's legit):

a. https://launchpad.net/ubuntu/bionic/amd64/libicu60/60.2-3ubuntu3 (libicu60_60.2-3ubuntu3_amd64.deb (7.7 MiB))

b. https://launchpad.net/ubuntu/bionic/amd64/libjavascriptcoregtk-1.0-0/2.4.11-3ubuntu3

(libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb (1.8 MiB))

c. https://launchpad.net/ubuntu/cosmic/amd64/libwebkitgtk-1.0-0/2.4.11-3ubuntu3

(libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb (7.7 MiB))

 

2. Install the files in that order in the terminal

(assuming the files are in the Downloads folder)

cd ~/Downloads sudo dpkg -i libicu60_60.2-3ubuntu3_amd64.deb sudo dpkg -i libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb sudo dpkg -i libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb sudo dpkg -i icaclient_19.3.0.5_amd64.deb

This correctly installs Citrix Workspace. If you then get connection errors when trying to set it up, also implement step 3.

 

3. Fix the certificate error.

sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/ sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/

 

 

$ git clone https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh

$ bash ~/.zsh/BlaCk-Void-Zsh.sh

 

Powerline Font  설정

$ sudo apt-get install fonts-powerline

or

# clone
$ git clone https://github.com/powerline/fonts.git --depth=1

# install

$ cd fonts

$ ./install.sh

# clean-up a bit

$ cd ..

$ rm -rf fonts

 

[출처] 멋진 ZSH 설정!! (네이버 리눅스 유저 그룹) |작성자 BlaCk7375

요즘 emacs나 vi에디터를 많이 쓰면서 control키를 새끼 손가락으로 누르는 일이 많아졌다.

보통의 키보드에는 control키가 왼쪽 아래 존재하다 보니 새끼 손가락이 많이 무리가 간다.

 

옛날의 unix키보드처럼 배열을 바꿔서 사용해보려고 한다.

 

# 먼저 아래 파일을 Editor로 연다.
$ sudo vi /etc/default/keyboard

# XKBOPTIONS을 찾아 ctrl:nocaps를 써서 Caps Lock키를 추가적으로 Control키로 사용하도록 한다.
# 또는 ctrl:swapcaps를 써서 Caps Lock키와 Control키의 기능을 바꾼다.

XKBOPTIONS="ctrl:nocaps"

# 다음으로 변경된 내용이 반영되도록 아래 명령어를 실행한다.
$sudo dpkg-reconfigure keyboard-configuration

 

+ Recent posts