기본 콘텐츠로 건너뛰기

라벨이 ubuntu인 게시물 표시

Ubuntu 12.04 - RDP에서만 mount 권한이 없을때

Unable to mount USB, Not Authorized 오류가 날때가 있다. 직접 콘솔에서 들어가면 잘 되는데 RDP로 접근할 경우 해당 계정에 권한 문제가 있을 수 있다. http://ubuntuforums.org/showthread.php?t=1336847&page=7  에서 찾았다. sudo vi /usr/share/polkit-1/actions/org.freedesktop.udisks.policy 해서 보면 <allowed_any>no</allowed_any> 라는 부분이 있다 이부분을 <allowed_any> yes </allowed_any> 로 바꾸고 재부팅하자. 알아서 마운트까지 잘 된다.

android(armv7)에 node.js 올리기. (Rockchip RK3188/MK809C)

http://masashi-k.blogspot.kr/2013/08/nodejs-on-android.html 이쪽 글을 참조했다. 환경은 일단 RK3188 계열인 MK809C로 시도해보았다. 먼저 루팅이 되어있고 Linux Installer나 Debian Tool kit등으로 리눅스를 설치했고 터미널 클라이언트나 SSH를 통해 접근 가능한 상태라고 가정한다. 현재 node.js의 안정(stable) 버전은 v0.10.23이므로 해당 소스를 다운받자. http://nodejs.org/download/ 에 들어가서 http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz 직접 소스를 받으면 된다. $ wget  http://nodejs.org/dist/v0.10.23/node-v0.10.23.tar.gz 으로 받자. $ tar xzf node-v0.10.23.tar.gz $ cd node-v0.10.23 해서 빌드 준비를 하자. $ ./configure --without-snapshot --dest-cpu=arm --dest-os=linux 로 먼저 빌드 환경을 잡고 바로 make 하기전에 thumb inter-working 관련 오류를 피하기 위해 macro-assembler-arm.cc 파일의 일부를 수정한다. 압축푼 경로를 기준으로 vi ./deps/v8/src/arm/macro-assembler-arm.cc 파일을 열어 60라인 근처를 수정하자. #if defined(USE_THUMB_INTERWORK) && !defined(CAN_USE_THUMB_INSTRUCTIONS) # error "For thumb inter-working we require an architecture which supports blx" #endif 아마 이런 부분이 있을 것이다. # error 부분 줄을 삭제하거나 // 처리 하자. ( http://...

headless ubuntu for dummies

재료 가상환경 빨리 구축하기. http://www.kbench.com/software/?flag=1&pcc=0&pg=1&no=48219 VirtualBox 는 여기에서 ftp://ftp.sayclub.com/ubuntu-releases/12.10/ 우분투 바이너리는 여기. 나의 선택은? ubuntu-12.10-beta2-server-i386.iso 1. [!] Configure the network Hostname: ubuntu <default> 2. [!!] Set up users and passwords Full name for the new user: noder <풀 이름> 3. [!!] Set up users and passwords Username for your account: noder <계정명> 그다음 password 입력, 만일 단순한 패스워드를 넣으면 weak password 쓸 거냐고 묻는데 알아서. 4. [!!] Partition disks Write the changes to disks and configure LVM? <Yes> 5. [!!] Partition disks Write the changes to disks? <Yes> 6. [!] Configure the package manager HTTP proxy information (blank for none): <Continue> 설치 후 해당 버추얼 머신의 설정을 선택 설정/네트워크/어댑터1 다음에 연결됨(A) - 브리지 어댑터 확인 다시 VirtualBox 머신을 기동하면 네트웍 설정 변화 감지. 로그인 후 ifconfig 에서 eth0 를 보면 inet addr 이 별도로 생성되었음. 내 경우 192.168.0.18 sudo aptitude update sudo aptitude install op...

ubuntu 에서 cloud9 설치

버전문제 때문에 설치할 수 없었던 cloud9이 업데이트가 되었다는 소식을 듣고 ubuntu 12.10에 설치 https://github.com/ajaxorg/cloud9 에 보면 # Be sure you have sourcemint installed: npm install -g sm # Then: sm clone --dev https://github.com/ajaxorg/cloud9/tree/master cloud9 # or git clone https://github.com/ajaxorg/cloud9.git cloud9 cd cloud9 sm install 로 설치하는데 잘 안된다. 의존성 문제인데 // Super important for Linux users! If you are having issues with installing the o3/libxml dependency, be sure to check this issue for possible solutions: https://github.com/ajaxorg/node-libxml/issues/3 라고 언급해 놓았다. sudo apt-get install libxml2-dev 를 실행하여 libxml2 를 설치하자. 어렵지 않게 설치가 가능했다. 로컬에서 쓸게 아니라 외부에서 들어올거라서 port와 IP를 변경해주고 작업경로를 지정했다. 보통이라면 ~/cloud9/bin/cloud9.sh & 하고 실행하겠지만 기왕 node.js 인거 forever 를 써서 깔끔하게 관리하고 싶었다. forever start server.js -p 8123 -l 0.0.0.0 -w ~/workspace 아이 좋아 +_+