Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting-started [2015/04/18 23:39] – snacsnoc | getting-started [2023/11/18 20:47] (current) – [Quick start] snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quick start ====== | ====== Quick start ====== | ||
- | Download the [[http:// | + | Download the [[http:// |
+ | |||
+ | < | ||
+ | </ | ||
+ | SnackLinux supports most generic hardware. | ||
+ | |||
+ | ==== Install ==== | ||
+ | You can install SnackLinux to a local hard drive by runnning install-snacklinux.sh in /root | ||
+ | Note: you will need to setup networking and install dialog, ncurses and lilo with fbpkg install | ||
+ | fbpkg install dialog && fbpkg install ncurses && fbpkg install lilo | ||
+ | bash install-snacklinux.sh /dev/sda | ||
+ | ==== Networking ==== | ||
To set up networking, you can either use a static IP | To set up networking, you can either use a static IP | ||
Line 7: | Line 18: | ||
route add default gw 192.168.0.1 | route add default gw 192.168.0.1 | ||
or use '' | or use '' | ||
+ | or create ''/ | ||
+ | touch / | ||
+ | | ||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.1.X # Replace X with the specific IP address you want to assign to this device | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.1.1 | ||
+ | dns-nameservers 8.8.8.8 8.8.4.4 | ||
+ | |||
Run '' | Run '' | ||
- | + | === SSH === | |
- | + | ||
- | + | ||
- | + | ||
- | ====== | + | |
- | + | ||
- | + | ||
- | **SSH** | + | |
Install dropbear via fbpkg by running '' | Install dropbear via fbpkg by running '' | ||
Line 23: | Line 37: | ||
mkdir / | mkdir / | ||
dropbearkey -t rsa -f dropbear_rsa_host_key | dropbearkey -t rsa -f dropbear_rsa_host_key | ||
- | dropbearkey -t dss -f dropbear_dss_host_key | + | dropbearkey -t ecdsa -f dropbear_ecdsa_host_key |
</ | </ | ||
Now run '' | Now run '' | ||
- | If you receive an error such as PTY allocation request failed on channel 0 after you have installed when trying to SSH into SnackLinux, try the below: | ||
- | < | ||
- | rm -rf /dev/pts | ||
- | mkdir /dev/pts | ||
- | mount /dev/pts | ||
- | </ | ||
- | Add '' | ||
- | **Installation** | + | === Packages === |
+ | |||
+ | To see the available packages, run '' | ||
+ | |||
+ | Use '' | ||
+ | |||
+ | === Programming === | ||
+ | For compiling C/C++, install the essential tools: | ||
+ | fbpkg install gcc-toolchain | ||
+ | fbpkg install make | ||
+ | fbpkg install binutils | ||
+ | fbpkg install m4 | ||
+ | |||
+ | For Nim, see the [[nim-lang|Nim language page ]] | ||
+ | |||
- | Run ''/ | ||
- | **Packages** | ||
- | To see the available packages, run '' |