This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#---- | |
# bootstrap fedora21 | |
#release=$(cat /etc/fedora-release | awk '/^Fedora/ {print $3}') | |
#arch=$(arch) | |
release=21 | |
arch=x86_64 | |
ROOTFS=/var/lib/libvirt/lxc/fedora$release-$arch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=A simple node.js Web server | |
After=network.target | |
[Service] | |
Type=simple | |
User=nobody | |
Group=nobody | |
Restart=always | |
ExecStart=/usr/bin/http-server /var/www/nodejs -p 8888 -s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=A simple python Web server | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/usr/bin/python /var/www/pywebserve/pywebserve.py | |
[Install] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This simple script helps to setup a basic PXE Server in an existing | |
# environment on a Fedora-based system. | |
# | |
# Licensed under GPLv2 | |
# | |
# Copyright (c) 2013 Fabian Affolter <fabian at affolter-engineering.ch> | |
TFTP_PATH=/var/lib/tftpboot | |
yum -y install tftp-server syslinux |
NewerOlder