OpenSource Hardware, Back-End, CTF

Article List

Tag Cloud

tag1 tag2 tag3 tag4

About

关于关于关于关于关于关于关于

查看更多

Feeds

RSS feed
DietPi——树莓派上的轻量级系统
15 August 2017

随着树莓派的逐步发展,官方的Raspbian系统在一步步完善和开发,软件和资源越来越多,往往也意味着慢慢地臃肿。 而DietPi就是在这样的背景下被开发出来,在DietPi系统中,默认只有一些必要的软件,其他的任何不需要的软件在初始化的DietPi上面都是不存在的;在干净和简洁的同时,在DietPi上安装需要的软件也比其他软件方便和简单。

安装配置DietPi

初次配置时需要网络连接

下载镜像

在官网的下载页面下载对应的板子的镜像。

解压并烧写

  • 在Windows上可以使用Win32DiskImager
  • 在Linux上可以用dd命令
dd if=/path/to/DietPi_vXX.img of=/dev/sdb

配置WiFi(可选)

将烧写好的SD卡插入电脑,和Raspbian类似,DietPi上有一个文件dietpi.txt也是用来做开机时的配置。

在这个文件里面设置好

Wifi_Enabled=1
Wifi_SSID=MySSID
Wifi_KEY=MyWifiKey

给板子上电

把SD卡插入板子,然后上电,之后DietPi会自动重启两次来完成初次的配置。

登录

默认的用户名是root,密码是dietpi
假如上面的WiFi配置成功了,那么这里也能直接ssh了,DietPi默认装了Dropbear SSH Server。

DietPi默认是没有桌面环境的,所以这个时候还是只能终端操作。

选择软件安装

接下来就可以选择你需要的软件来进行个性化的安装了,可以安装的软件包括以下这么多选择:

桌面

  • LXDE - 高度优化的轻量级桌面
  • MATE - Gnome 2桌面
  • XFCE - 轻量级桌面
  • GnuStep - 另类的桌面系统
  • Chromium - 浏览器

远程桌面

  • Tightvnc Server - 远程桌面软件
  • VNC4 Server - 远程桌面软件
  • NoMachine - 功能更丰富的远程桌面软件
  • XRDP - 针对Windows客户端的远程桌面软件
  • RealVNC Server - 远程桌面软件

媒体系统

  • Kodi - Media Centre / Player
  • YMPD - Lightweight web Interface audio player for MPD
  • O!MPD - Feature-rich web Interface audio player for MPD
  • CAVA - Optional: Console-based audio visualizer for MPD
  • Mopidy - Web Interface Music /Radio Player
  • SubSonic - Feature rich media streaming server with web interface.
  • SqueezeBox - Also known as Logitech Media Server.
  • SqueezeLite - Audio player for SqueezeBox.
  • Shairport Sync - AirPlay audio player with multiroom sync
  • BruteFIR - EQ and Digital Room Correction via ALSA.
  • ReadyMedia - (MiniDLNA) Media streaming server (DLNA, UPnP)
  • Ampache - Web interface media streaming server.
  • Emby - Web interface media streaming server.
  • Plex Media Server - Web interface media streaming server.
  • PlexPy - Monitoring and tracking tool for Plex Media Server.
  • Murmur - Mumble VoIP Server
  • Roon Bridge - Turns your device into a Roon capable audio player
  • Roon Server - Turns your device into a Roon capable audio player and Roon core
  • NAA Daemon - Signalyst Network Audio Adaptor (NAA).
  • IceCast - Shoutcast Streaming Server, including DarkIce.
  • jRiver - Media Center
  • Koel - Web interface streaming server.

BT/下载

  • Transmission - Lightweight BitTorrent server with web interface
  • Deluge - Alternative BitTorrent server with web interface
  • qBitTorrent - Lightweight and fast (c++) BitTorrent server with web interface
  • rTorrent - BitTorrent server with ruTorrent web interface
  • Aria2 - Download manager with web interface
  • SABnzbd - NZB download manager with web interface.
  • SickRage - Automatically download TV shows
  • Sonarr - Automatically download TV shows
  • Radarr - Automatically download Movies
  • CouchPotato - Automatically download movies.
  • Jackett - API Support for your favorite torrent trackers.
  • NZBget - NZB download manager with web interface.
  • HTPC Manager - combines all your favorite software into one slick interface.

模拟器和游戏客户端

  • OpenTyrian - Gaming
  • Cuberite - Fast Minecraft server with web interface
  • MineOS - Multiple Minecraft servers with web interface
  • AmiBerry - Amiga emulation system, further developed optimized builds of uae4arm-rpi
  • DXX-Rebirth - Descent 1 & 2 OpenGL port
  • Steam - Steam client

相机

  • DietPi-Cam - RPi Camera / Web Interface Surveillance
  • MotionEye - Camera / Web Interface Surveillance

云/备份

  • OwnCloud - Your own personal cloud based backup/data storage system
  • NextCloud - Your own personal cloud based backup/data storage system
  • Pydio - Feature-rich backup and sync server with web interface.
  • UrBackup Server - Full backups for systems on your network
  • Gogs - GitHub style server, with web interface.
  • Syncthing - Backup and sync server with web interface.
  • Tonido - Lightweight backup and sync server with web interface, and, cloud access.

社交/搜索

  • Forums - phpbb3
  • Wordpress - Website Blog and Publishing platform.
  • Image Gallery - Host and browse your images from a web interface.
  • BaiKal - Lightweight CalDAV + CardDAV server.
  • OpenBazaar - Decentralized peer to peer market server using BitCoin.
  • YaCy - Decentralized open source search engine.

WiFi/热点

  • WiFi HotSpot - Turn your device into a wireless hotspot/access point.
  • Tor HotSpot - Optional: Routes all WiFi HotSpot traffic through the Tor network.

智能家居

  • EmonPi - Lightweight Energy usage stats with EmonPi PCB.
  • Grasshopper - Web App to control Bticino MyHome

硬件项目

  • RPi.GPIO - GPIO Interface library for RPi (python).
  • WiringPi - GPIO Interface library (c).
  • WebIOPi - Web interface to control RPi GPIO.
  • I2c - Enables support for I2c based hardware.
  • Node-Red - Visual tool for wiring together hardware devices, APIs and online services.
  • Mosquitto - Message broker that implements MQTT protocol versions 3.1 and 3.1.1.
  • Blynk Server - iOs and Android apps to control Arduino, ESP8266, Raspberry Pi and similar microcontroller boards over the Internet.

远程访问

  • Remot3.it - (Weaved) Access your device over the internet.
  • VirtualHere - Share physically attached USB devices from your SBC, over the network.

系统管理和监控

  • DietPi-Cloudshell - Lightweight system stats for your LCD display or monitor.
  • Raspcontrol - Web interface system stats
  • Linux Dash - Web interface system stats
  • PhpSysInfo - Web interface system stats
  • RPi Monitor - Web interface system stats
  • NetData - Web interface system stats
  • Webmin - Remote system management with web interface
  • Open Media Vault - Web interface network attached storage (NAS) solution

系统安全

  • Fail2Ban - Protects your system from brute-force attacks

Web服务器栈

  • LAMP Webserver - Apache2 / MySql / PHP
  • LASP Webserver - Apache2 / SQLite / PHP
  • LAAP Webserver - Apache2 / MariaDB / PHP
  • LEMP Webserver - Nginx / MySql / PHP
  • LESP Webserver - Nginx / SQLite / PHP
  • LEAP Webserver - Nginx / MariaDB / PHP
  • LLMP Webserver - Lighttpd / MySql / PHP
  • LLSP Webserver - Lighttpd / SQLite / PHP
  • LLAP Webserver - Lighttpd / MariaDB/ PHP
  • phpMyAdmin - Web interface SQL admin tool
  • Certbot - Free, automated SSL cert creation and setup, allowing https.
  • Tomcat8 - Apache Tomcat server

DNS 服务器

  • Pi-hole - A DNS/Web server that will block ads for any device on your network.

文件服务器

  • ProFTP - Simple, efficient, lightweight FTP file server.
  • Samba - Feature rich file server.
  • vsFTPD - Feature rich FTP file server.
  • NFS - Network file system server

VPN 服务器

  • OpenVPN - Easy to use, minimal hassle VPN server
  • PiVPN - OpenVPN installer & management tool

网络负载均衡

  • HaProxy - High performance TCP/HTTP load balancer.

网站域名

  • NoIp - Website URL Address

打印

  • CloudPrint - CUPS print server, with support for Google cloud printing
  • OctoPrint - Web interface for controlling 3D printers

文件服务器选择

  • ProFTP - Simple, efficient, lightweight file server.
  • Samba - Feature rich file server.

SSH选择

  • Dropbear - Lightweight SSH Server
  • OpenSSH - Feature rich SSH server with SFTP/SCP support.

日志系统选择

  • DietPi-Ramlog - Lightweight RAM logging.
  • Full - Full logging system with Rsyslog and Logrotate.

网络服务器选择

  • Apache2 - Feature-rich webserver
  • Nginx - Lightweight webserver
  • Lighttpd - Extremely lightweight webserver

预装软件:

  • dietpi-launcher (Select and Run any of the DietPi programs, all from one place.)
  • dietpi-config (Feature rich configuration tool for your device)
  • dietpi-software (Install optimized and ready to run software)
  • dietpi-uninstall (Allows you to uninstall DietPi software)
  • dietpi-update (Update your version of DietPi)
  • dietpi-backup -(Backup or restore your DietPi system)
  • dietpi-sync - (Allows you to sync/duplicate one directory to another).
  • dietpi-services - (Takes control of software services, enabling DietPi a method of quick service control).
  • dietpi-process_tool - (Tweak system wide nice/priority levels, for most software and processes).
  • dietpi-cleaner (Remove unwanted “junk” from your DietPi system and free up filesystem space)
  • dietpi-bugreport (Sends a bug report to DietPi)
  • dietpi-cron (Allows you to modify all start times for Cron Jobs)
  • dietpi-logclear (Keep ontop of your log files, features clearing and backup modes).
  • dietpi-morsecode (Converts a text file to morse code, then outputs to your screen)
  • dietpi-letsencrypt (Frontend for Lets Encrypt and DietPi integration)
  • htop (The only resource monitor you’ll ever need)
  • DietPi-Ramlog #1 (Mounts /var/log to RAM. Saves your SD card writes, and, uses less than 0.1mb~ of RAM).
  • Dropbear (Lightweight SSH server)

预装脚本

  • treesize (Shows current directory/file sizes, recursive)