라벨이 ubuntu인 게시물 표시

ubuntu increase swapfile

## change setting (base) min@min-MS-7C94:~$ sudo fallocate -l 8G /swapfile [sudo] min 암호: fallocate: fallocate failed: 실행 파일 사용 중 (base) min@min-MS-7C94:~$ su 암호: root@min-MS-7C94:/home/min# swapoff -v /swapfile swapoff /swapfile root@min-MS-7C94:/home/min# fallocate -l 8G /swapfile root@min-MS-7C94:/home/min# ll -h /swapfile -rw------- 1 root root 8.0G 8월 29 12:48 /swapfile root@min-MS-7C94:/home/min# chmod 600 /swapfile root@min-MS-7C94:/home/min# mkswap /swapfile mkswap: /swapfile: warning: wiping old swap signature. Setting up swapspace version 1, size = 8 GiB (8589930496 bytes) no label, UUID=817e481c-66db-452e-9ed1-4cbaebaaab53 root@min-MS-7C94:/home/min# swapon /swapfile root@min-MS-7C94:/home/min# vi /etc/fstab root@min-MS-7C94:/home/min# free -m total used free shared buff/cache available Mem: 64232 11352 433 49616 52446 2555 스왑: 8191 18 8173 root@mi

terminal font width is unusually wide on ubuntu

이미지
## font width ## change setting { "editor.fontFamily": "Ubuntu Regular", "terminal.integrated.inheritEnv": false, "terminal.integrated.fontWeight": "normal", "terminal.integrated.defaultProfile.osx": "zsh", "terminal.external.osxExec": "iTerm.app", "terminal.integrated.fontFamily": "'Ubuntu Mono', 'PowerlineSymbols'", "git.confirmSync": false, "git.autofetch": true, "explorer.confirmDragAndDrop": false, "editor.fontLigatures": false, "terminal.integrated.fontWeightBold": "bold" } ## Result

error apt update with ubuntu 21.04

   ## set git root@kube1-KVM:/home/kube1/Desktop# sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list root@kube1-KVM:/home/kube1/Desktop# sudo apt-get update && sudo apt-get dist-upgrade Get:1 http://old-releases.ubuntu.com/ubuntu impish InRelease [270 kB] Get:2 http://old-releases.ubuntu.com/ubuntu impish-updates InRelease [115 kB] Get:3 http://old-releases.ubuntu.com/ubuntu impish-backports InRelease [101 kB] Get:4 http://old-releases.ubuntu.com/ubuntu impish-security InRelease [110 kB] Get:5 http://old-releases.ubuntu.com/ubuntu impish/main amd64 Packages [1,396 kB] Get:6 http://old-releases.ubuntu.com/ubuntu impish/main i386 Packages [1,037 kB] Get:7 http://old-releases.ubuntu.com/ubuntu impish/main Translation-en [511 kB]  

nodejs connect oracle on ubuntu

## prepare oracle client (base) root@rasa-virtual-machine:~/node# wget https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip --2021-12-06 15:48:54-- https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip download.oracle.com (download.oracle.com)을(를) 해석하는 중... 23.53.224.11 접속 download.oracle.com (download.oracle.com)|23.53.224.11|:443... 접속됨. HTTP 요청을 전송했습니다. 응답을 기다리는 중입니다... 200 OK 길이: 79386308 (76M) [application/zip] 다음 위치에 저장: `instantclient-basic-linuxx64.zip' instantclient-basic-linuxx64.z 100%[====================================================>] 75.71M 96.4MB/s / 0.8s 2021-12-06 15:48:55 (96.4 MB/s) - `instantclient-basic-linuxx64.zip' 저장됨 [79386308/79386308]   ## prepare oracle client 2 (base) root@rasa-virtual-machine:~/node# cd /opt/ (base) root@rasa-virtual-machine:/opt# mkdir oracle (base) root@rasa-virtual-machine:/opt# cd oracle/ ## unzip oracle client (base) root@rasa-vi