升级软件包

一个 pacman 命令就可以升级整个系统。花费的时间取决于系统有多老。这个命令会同步非本地(local)软件仓库并升级系统的软件包:

# pacman -Syu

 

提示:确保make以及gcc软件包已安装,否则后面安装google coder会失败。

 

安装nodejs

# pacman -S nodejs

 

安装Google Coder

转到/home目录下,从github上获得最新版的google coder.

# git clone git://github.com/googlecreativelab/coder
# cd coder/coder-base
# npm install

安装 basic Coder apps

# cd coder-apps
# ./install_common.sh
 
运行Google Coder
# cd coder/coder-base
# npm start
 
打开google coder
用chrome浏览器打开: https://RASPIPADDRESS:8081/ (默认地址)
 
在Archlinux ARM - Raspberry Pi上安装Google coder
 
在Archlinux ARM - Raspberry Pi上安装Google coder
 
开机自启动google coder

创建/etc/systemd/system/multi-user.target.wants/gcoder.service文件:

[Unit]
Description=Google Coder
After=network.target

[Service]
Type=simple
WorkingDirectory=/home/YOURUSERNAME/coder/coder-base
ExecStart=/bin/npm start
Restart=always

[Install]
WantedBy=multi-user.target
重启生效。
 

参考网站:

http://ingamedeo.blogspot.com/2013/09/how-to-install-google-coder-on.html

https://github.com/googlecreativelab/coder/blob/master/INSTALL

http://goo.gl/coder

相关文章:

  • 2022-12-23
  • 2021-09-06
  • 2021-05-19
  • 2022-01-21
  • 2022-12-23
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2021-09-17
  • 2022-12-23
  • 2021-12-15
  • 2021-11-24
  • 2021-05-31
  • 2022-01-09
相关资源
相似解决方案