raspbian

Is there a Vagrant box that simulates a Raspberry Pi?

混江龙づ霸主 提交于 2019-12-03 16:16:33
问题 I am looking at evaluating a tool-chain for programming ARM chips with a Raspberry Pi and I would like to run a Vagrant box that simulates a Raspberry Environment. Does anyone know if something like that is available? (I have searched online for a solution but I might be asking Google the wrong questions :) 回答1: There is no Vagant box to simulate the RPi because as @Cerin said Virtual Box (which Vagrant uses) doesn't support Rapsberry Pi architecture (ARM). But there is a docker that provide

qemu on Raspberry Pi Arch Linux latest sd image

自古美人都是妖i 提交于 2019-12-03 13:08:20
问题 I am trying to set up an Arch image and use qemu in order to cross-compile some stuff before I load the image onto the Pi. I thought the easiest way to do it would be to qemu the latest starter image, prepare it with whatever I needed, and then dd it onto the Pi when I was done. I downloaded the Arch image from http://downloads.raspberrypi.org/arch_latest, and wanted to run it under Qemu similar to http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/. I tried many variations on the

How to start a Node.js app on system boot?

巧了我就是萌 提交于 2019-12-03 12:23:37
问题 I'm working on a Raspberry Pi running Raspbian running a Node.js app and trying to get it to start when the Pi boots. I found a couple of examples but I can't seem to get it working. My current code is: #! /bin/sh # /etc/init.d/MyApp ### BEGIN INIT INFO # Provides: MyApp.js # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts MyApp.js # Description: Start / stop MyApp.js at boot / shutdown. ### END

Soft-float version of Raspbian does not boot

别说谁变了你拦得住时间么 提交于 2019-12-03 08:54:56
I downloaded the hard float image of Raspbian here: http://www.raspberrypi.org/downloads I copied the recommended hard-float image on an SD card and the Raspberry Pi boots fine with it. Then I downloaded the soft-float version of Raspbian because I need it to get some software running that does not work on the hard-float version. I formatted the SD card again, copied the soft-float image onto it and tried to boot the Raspberry Pi with it. Problem: the Raspbery Pi doesn't boot with the soft-float version of Raspbian!! I see the green "ACT" LED light up for less than a second. After that only

Raspberry Pi and GitLab

巧了我就是萌 提交于 2019-12-03 05:51:03
问题 Is there a way I can run GitLab (http://gitlab.org/gitlab-ce) and GitLab CI (http://gitlab.org/gitlab-ci) on a Raspberry Pi device running Raspbian? I want to have my own internal Git box where I can store code and possibly allow other friends access to upload their code too. Is it possible? Thanks. 回答1: Official way for the Pi 2 There is a very easy way to install it on the Raspberry Pi 2. wget https://s3-eu-west-1.amazonaws.com/downloads-packages/raspberry-pi/gitlab_7.9.0-omnibus.pi-1_armhf

How to start a Node.js app on system boot?

走远了吗. 提交于 2019-12-03 02:48:33
I'm working on a Raspberry Pi running Raspbian running a Node.js app and trying to get it to start when the Pi boots. I found a couple of examples but I can't seem to get it working. My current code is: #! /bin/sh # /etc/init.d/MyApp ### BEGIN INIT INFO # Provides: MyApp.js # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts MyApp.js # Description: Start / stop MyApp.js at boot / shutdown. ### END INIT INFO # If you want a command to always run, put it here # Carry out specific functions when asked

How do I use let’s encrypt with gitlab?

谁都会走 提交于 2019-12-03 01:53:56
问题 I started to look in to ssl certificates when I stumbled upon let's encrypt, and I wanted to use it with gitlab, however being that it is running on a raspberry pi 2 and its running quite perfectly now (so I dont want to mess anything up), he would I go about installing a lets encrypt ssl certificate properly? PS: My installation is omnibus 回答1: There are 2 ways depending on your infrastructure setup (Raspi, big Cloud server or something in between): If you have an externally accessible

Install R 3.1.2 on Wheezy 7.8 (Raspbian) fails

荒凉一梦 提交于 2019-12-03 00:29:35
I'm a newbie to Linux and try to install the latest R version on my Raspberry. My Raspberry runs on Wheezy 7.8. I followed instructions on CRAN , so I added deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ to /etc/apt/sources.list ran apt-get update which was successful and gave me only a "signature error" for the public key as pointed out on the CRAN-site ran apt-get install r-base But the result of the last command is Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required

Raspberry Pi and GitLab

我怕爱的太早我们不能终老 提交于 2019-12-02 19:12:46
Is there a way I can run GitLab ( http://gitlab.org/gitlab-ce ) and GitLab CI ( http://gitlab.org/gitlab-ci ) on a Raspberry Pi device running Raspbian? I want to have my own internal Git box where I can store code and possibly allow other friends access to upload their code too. Is it possible? Thanks. Official way for the Pi 2 There is a very easy way to install it on the Raspberry Pi 2. wget https://s3-eu-west-1.amazonaws.com/downloads-packages/raspberry-pi/gitlab_7.9.0-omnibus.pi-1_armhf.deb sudo dpkg -i gitlab_7.9.0-omnibus.pi-1_armhf.deb You might prefer to go to the official page in

Start Raspberry Pi without login [closed]

為{幸葍}努か 提交于 2019-12-02 19:05:11
I would like to ask you if there is any way to start raspberry pi (using Raspbian) without login and password and to move directly to the GUI. Like Windows for example. Raspbian Wheezy: Following was taken from eLinux.org RPi Debian Auto Login page: Auto Login: In Terminal: sudo nano /etc/inittab Scroll down to: 1:2345:respawn:/sbin/getty 115200 tty1 and change to #1:2345:respawn:/sbin/getty 115200 tty1 Under that line add: 1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 Ctrl+X to exit, Y to save followed by enter twice Auto StartX (Run LXDE) : In Terminal: sudo nano /etc/rc