Ubuntu on Windows 10 linux sub system

Ubuntu Server 16.04


1. receive codes

mkdir ~/raspberrypi

cd ~/raspberrypi

git clone https://github.com/raspberrypi/tools

git clone https://github.com/raspberrypi/linux


2. modify ".bashrc"

append below code

export PATH=/home/[username]/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH


3. install gcc-arm-linux-gnueabihf

sudo apt-get install gcc-arm-linux-gnueabihf

(on Ubuntu Server 16.04) sudo apt-get install bc


4. build

cd ~/raspberrypi/linux

KERNEL=kernel7

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j 3 # -j [core number]*1.5



'Linux > Ubuntu' 카테고리의 다른 글

Install cloud 9 ide on ubuntu 16.04  (0) 2016.08.26
system_dbus_socket : Connection refused  (0) 2011.10.27
Ubuntu Panel Theme 문제  (0) 2011.10.27

1. install Node.js (use nvm)

sudo apt-get remove nodejs # remove legacy

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash

nvm install 6.9.1

nvm use 6.9.1

nvm alias default 6.9.1

npm install -g npm


2. install Cloud9 ide

sudo apt-get install git build-essential python g++ curl libssl-dev apache2-utils git-core make automake autoconf # preinstall

git clone https://github.com/c9/core.git ~/c9sdk

cd ~/c9sdk

sudo ./scripts/install-sdk.sh

sudo npm install


3. run Cloud9

mkdir ~/workspace # create workspace

node ~/c9sdk/server.js -w ~/workspace/ -p 8181 -l 0.0.0.0 -a [user]:[pass] & disown


4. update Cloud9

cd ~/c9sdk

git pull origin master

sudo ./scripts/install-sdk.sh


5. EACCES problem

maybe need permission to access ".c9" and ".node-gyp" directory.

change owner and group same as the user that running Node.js.


6. references

http://blog.naver.com/sonmg/220481210845

http://coolkim.tistory.com/472

https://github.com/c9/core


'Linux > Ubuntu' 카테고리의 다른 글

raspberry pi 2 kernel cross-compile  (0) 2016.08.27
system_dbus_socket : Connection refused  (0) 2011.10.27
Ubuntu Panel Theme 문제  (0) 2011.10.27

vmware 상의 ubuntu 에서 테마가 이상해지면서 dbus-daemon 도 같이 죽어버렸다.
다시 살려보자.

sudo rm /var/run/dbus/*
sudo dbus-daemon --system
 

'Linux > Ubuntu' 카테고리의 다른 글

raspberry pi 2 kernel cross-compile  (0) 2016.08.27
Install cloud 9 ide on ubuntu 16.04  (0) 2016.08.26
Ubuntu Panel Theme 문제  (0) 2011.10.27

vmware 상의 ubuntu 에서 패널의 테마가 이상해져 버렸다.
복구해보자.

killall -9 gnome-settings-daemon && gnome-settings-daemon
killall nautilus


gnome-settings-daemon 을 종료시킨 뒤 다시 실행한다.
현재 실행중인 테마가 이상해진 nautilus 를 종료시킨다.

'Linux > Ubuntu' 카테고리의 다른 글

raspberry pi 2 kernel cross-compile  (0) 2016.08.27
Install cloud 9 ide on ubuntu 16.04  (0) 2016.08.26
system_dbus_socket : Connection refused  (0) 2011.10.27

+ Recent posts