'.....'에 해당되는 글 135건

  1. 2021.10.12 Upgrade WSL Ubuntu 18.04 to 20.04
  2. 2020.02.04 failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
  3. 2017.01.05 우분투 Security Update 만 적용하기 1
  4. 2016.03.12 ARTIK and SAMI
  5. 2016.01.30 MQTT, IFTTT and IoT
  6. 2013.12.27 GPG error
  7. 2013.12.18 [Updating] Change the icon size of launcher in Unity (Ubuntu 12.04)
  8. 2013.09.20 CMA를 처음 접하는 사람들을 위한 짧은 글
  9. 2013.09.19 Contiguous Memory Allocator
  10. 2013.06.21 iOS7 베타2 출시?


Upgrade WSL Ubuntu 18.04 to 20.04

Development/Linux & Android 2021. 10. 12. 17:39

$ sudo apt update

$ sudo apt list --upgradable

$ sudo apt upgrade

 

$ sudo apt --purge autoremove

$ sudo apt intall update-manager-core

$ sudo do-release-upgrade -d

 

Issue 1. Proxy

 - 프록시를 사용중이라면 /etc/apt/apt.conf.d 에서 90proxy 파일로 프록시 설정 추가

  - /etc/wgetrc 를 수정해서 wget 도 프록시 추가

 

Issue 2. SSL connection

 - OpenSSL connection 오류 발생시

 - curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.xx.yyy

 - export http_proxy=http://xxx.xxx.xxx.xxx:pppp

 - export https_proxy=http://xxx.xxx.xxx.xxx:pppp

 

 - proxy CA 인증 관련글

  . 회사 인증서 SSL, 해결할 수 없다면 피하라. (pinedance.github.io)

  . 회사 프록시와 인증서에 고통받는 그대를 위한 글 (Bash, Gradle, Python, wget, nodejs(npm), apt-get, cURL, git, yarn, androidStudio) ~ 김보안의 블로깅 (securekim.com)

 

Issue 3. Reboot

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to talk to init daemon.

 - 설치 중 Ubuntu 재부팅이 필요한 상황이며 Windows Powershell에서 다음 명령어로 재부팅

 

Issue 4. Aborting 메시지

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command terminated with exit status 1 (Fri May 14 10:31:40 2021) ===

 - Aborting 메시지와 함께 업그레이드가 중단되면 sudo apt remove snapd 로 패키지 삭제 후 재시도

 - Ref.: Exit 1 when upgrading to Ubuntu 21.04 · Issue #6942 · microsoft/WSL (github.com)

:

failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED

Development/Deep Learning 2020. 2. 4. 14:44
E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED

 

Windows 10에서 tensorflow gpu 버전을 backend로 keras를 사용하는 경우에 실행 시 위와 같은 오류 메시지가 발생하면 메모리 부족일 수 있음.

사용하지 않는 프로그램을 종료하여 여유 메모리를 확보한 후 재실행.

 

 

:

우분투 Security Update 만 적용하기

Development/Linux & Android 2017. 1. 5. 10:20

우분투 로그인 시 아래와 같이 업그레이드를 권하는 메시지가 출력된다.


Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-98-generic x86_64)


 * Documentation:  https://help.ubuntu.com/


152 packages can be updated.

104 updates are security updates.


New release '16.04.1 LTS' available.

Run 'do-release-upgrade' to upgrade to it.



배포판은 그대로 두고 security update 항목만 설치를 하기 위해서는 아래 링크를 참조


http://askubuntu.com/questions/194/how-can-i-install-just-security-updates-from-the-command-line

:

ARTIK and SAMI

카테고리 없음 2016. 3. 12. 14:37

Raspberry Pi, Edisib, Arduino and ARTIK
AWS, enableIOT, Azure and SAMI

:

MQTT, IFTTT and IoT

ETC. 2016. 1. 30. 22:06

IoT endpoint 디바이스를 활용하기 위해서는 mqtt 나 ifttt에 대한 지식이 있어야 할 것 같다.
AWS(Amazon Web Service) 파헤치다 보니까 이건 뭐... 파면 팔 수록 익숙하지 않은 것들이 튀어나오네.

하나씩 알아봐야지!

:

GPG error

Development/Linux & Android 2013. 12. 27. 14:04


sudo add-apt-repository ppa:noobslab/themes

또는

/etc/apt/sources.list 파일에 deb http://ppa.launchpad.net/noobslab/themes precise main 추가하고

sudo apt-get update

Ubuntu 12.04 에서 위와 같은 명령을 이용해 repository를 추가 하고 업데이트를 할 때 아래와 같은 메시지를 만날 수 있다.

W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxxxxx

이럴 때는 http://keyserver.ubuntu.com 에서 본인의 pub_key를 찾고 이를 등록해주면 된다.


1. Search String 에 자신의 키 ( 에러메시지의 xxxxxxx부분)를 입력하고 "Search!"

2. 나온 결과의 Public Key를 복사하여 임시 파일을 만든다 (ex: key1)

3. 해당 키를 등록 

sudo adp-key add key1

4. 다시 apt-get update 수행



아래 링크의 두 번째 방법을 참고하였다.

http://opensourceforgeeks.blogspot.in/2013/04/w-gpg-error-httpppalaunchpadnet-precise.html


:

[Updating] Change the icon size of launcher in Unity (Ubuntu 12.04)

Development/Linux & Android 2013. 12. 18. 12:26

As you may know, we can not change the icon size of launcher box in Ubuntu 12.04

When you execute the below command,

/usr/lib/nux/unity_support_test -p

If there is a message as below, it is not available to change the size.

Not software rendered:    no
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes
GL version is 1.4+:       yes


Unity 3D supported:       no

But, we can change the size manually. Follow the below commands.

cd ~/Documents/unity-2d-shell-backup.tar.gz /usr/share/unity-2d/shell/*
tar cvzf ~/Documents/unity-2d-shell-backup.tar.gz /usr/share/unity-2d/shell/*
ls /usr/share/unity-2d/shell/ -la
sudo vi /usr/share/unity-2d/shell/Shell.qml
sudo vi /usr/share/unity-2d/shell/common/IconTile.qml
sudo vi /usr/share/unity-2d/shell/launcher/LauncherList.qml



:

CMA를 처음 접하는 사람들을 위한 짧은 글

Development/Linux & Android 2013. 9. 20. 02:55

CMA를 처음 접하는 사람들을 위한 짧은 ...

From "[PATCHv11 0/8] Contiguous Memory Allocator"

https://groups.google.com/forum/#!topic/linux.kernel/5JSXa3vxNmA


A few words for these who see CMA for the first time:

   The Contiguous Memory Allocator (CMA) makes it possible for device
   drivers to allocate big contiguous chunks of memory after the system
   has booted.

   The main difference from the similar frameworks is the fact that CMA
   allows to transparently reuse memory region reserved for the big
   chunk allocation as a system memory, so no memory is wasted when no
   big chunk is allocated. Once the alloc request is issued, the
   framework will migrate system pages to create a required big chunk of
   physically contiguous memory.

   For more information you can refer to nice LWN article: 
   http://lwn.net/Articles/447405/ and links to previous versions
   of CMA framework.

   The CMA framework has been initially developed by Michal Nazarewicz
   at Samsung Poland R&D Center. Since version 9, I've taken over the
   development, because Michal has left the company.

:

Contiguous Memory Allocator

Development/Linux & Android 2013. 9. 19. 15:59

http://lwn.net/Articles/450633/

CMA developer Marek Szyprowski의 Contiguous Memory Allocator에 대한 초기 계획 링크 글.

CMA를 이해하기 위해서 도움이 되려나?

:

iOS7 베타2 출시?

News & Tips 2013. 6. 21. 08:33

iOS7 을 아이폰4에 올렸더니 역시 베타라는 이름이 무색하지 않게 많은 오류들

그 중에 제일 거슬리는것 gps를 원할히 이용하지 못하는 것인데 정말 답답하다.

major issue라고 생각되는 만큼 베타2에서는 수정되어 나올 것 같은데 

대체 다음 버전은 언제 출시가 되려나.


아래 링크에서 친절이 그동안 애플의 평균 릴리즈 기간을 정리.

예상되는 출시일은 6월24일!

딱 마춰서 나오진 않겠지만 조만간 나오겠군~!!

http://m.cultofmac.com/cultofmac/#!/entry/when-will-the-next-ios-7-beta-arrive-when-will,51c1f92dc5f0cf15b3772bcc

: