Commit after merge fix.
This commit is contained in:
commit
428e3f37f3
|
|
@ -8,9 +8,10 @@ AVAILABLE=/etc/apt/sources.list-available
|
|||
mkdir -p "${AVAILABLE}"
|
||||
|
||||
SECTION=(main contrib non-free)
|
||||
ACTIVE_LIST=('ascii' 'ascii-security' 'ascii-proposed-security' 'ascii-updates' 'ascii-backports' 'ascii-proposed')
|
||||
#ACTIVE_LIST=('beowulf' 'beowulf-security' 'beowulf-proposed-security' 'beowulf-updates' 'beowulf-backports' 'beowulf-proposed')
|
||||
INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-proposed' 'jessie-updates' 'jessie-backports' 'beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports' 'ceres')
|
||||
ACTIVE_LIST=('beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports')
|
||||
#ACTIVE_LIST=('ascii' 'ascii-security' 'ascii-updates' 'ascii-backports')
|
||||
#INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-updates' 'jessie-backports' 'beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports' 'ceres')
|
||||
INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-updates' 'jessie-backports' 'ascii' 'ascii-security' 'ascii-updates' 'ascii-backports' 'ceres')
|
||||
|
||||
OTHER_LIST=('experimental')
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,88 @@
|
|||
# avoid duplicates
|
||||
set -x
|
||||
rm /etc/apt/sources.list
|
||||
rm /etc/apt/sources.list.d/devuan.list
|
||||
|
||||
ACTIVE=/etc/apt/sources.list.d
|
||||
AVAILABLE=/etc/apt/sources.list-available
|
||||
mkdir -p "${AVAILABLE}"
|
||||
|
||||
SECTION=(main contrib non-free)
|
||||
<<<<<<< HEAD
|
||||
ACTIVE_LIST=('ascii' 'ascii-security' 'ascii-proposed-security' 'ascii-updates' 'ascii-backports' 'ascii-proposed')
|
||||
#ACTIVE_LIST=('beowulf' 'beowulf-security' 'beowulf-proposed-security' 'beowulf-updates' 'beowulf-backports' 'beowulf-proposed')
|
||||
INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-proposed' 'jessie-updates' 'jessie-backports' 'beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports' 'ceres')
|
||||
=======
|
||||
ACTIVE_LIST=('beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports')
|
||||
#ACTIVE_LIST=('ascii' 'ascii-security' 'ascii-updates' 'ascii-backports')
|
||||
#INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-updates' 'jessie-backports' 'beowulf' 'beowulf-security' 'beowulf-updates' 'beowulf-backports' 'ceres')
|
||||
INACTIVE_LIST=('jessie' 'jessie-security' 'jessie-updates' 'jessie-backports' 'ascii' 'ascii-security' 'ascii-updates' 'ascii-backports' 'ceres')
|
||||
>>>>>>> 28f9022a8c89ab256d49746af2debedcf1764b46
|
||||
|
||||
OTHER_LIST=('experimental')
|
||||
|
||||
echo ${#ACTIVE_LIST[@]}
|
||||
for RELEASE in "${ACTIVE_LIST[@]}"; do
|
||||
echo "${RELEASE}"
|
||||
bash -c "cat > ${AVAILABLE}/devuan_${RELEASE}.list" <<EOF
|
||||
deb http://pkgmaster.devuan.org/merged/ ${RELEASE} ${SECTION[@]}
|
||||
deb-src http://pkgmaster.devuan.org/merged/ ${RELEASE} ${SECTION[@]}
|
||||
EOF
|
||||
ln -sf "${AVAILABLE}"/devuan_"${RELEASE}".list "${ACTIVE}"/devuan_"${RELEASE}".list
|
||||
done
|
||||
|
||||
echo ${#INACTIVE_LIST[@]}
|
||||
for RELEASE in "${INACTIVE_LIST[@]}"; do
|
||||
echo "${RELEASE}"
|
||||
bash -c "cat > ${AVAILABLE}/devuan_${RELEASE}.list" <<EOF
|
||||
deb http://pkgmaster.devuan.org/merged/ ${RELEASE} ${SECTION[@]}
|
||||
deb-src http://pkgmaster.devuan.org/merged/ ${RELEASE} ${SECTION[@]}
|
||||
EOF
|
||||
done
|
||||
|
||||
echo ${#OTHER_LIST[@]}
|
||||
for RELEASE in "${OTHER_LIST[@]}"; do
|
||||
echo "${RELEASE}"
|
||||
bash -c "cat > ${AVAILABLE}/devuan_${RELEASE}.list" <<EOF
|
||||
deb http://packages.devuan.org/devuan ${RELEASE} main
|
||||
deb-src http://packages.devuan.org/devuan ${RELEASE} main
|
||||
EOF
|
||||
done
|
||||
|
||||
bash -c "cat > ${AVAILABLE}/saltstack.list" <<EOF
|
||||
# wget -q -O- "http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key" | apt-key add -
|
||||
|
||||
deb http://debian.saltstack.com/debian stretch-saltstack main
|
||||
EOF
|
||||
ln -sf "${AVAILABLE}"/saltstack.list "${ACTIVE}"/saltstack.list
|
||||
wget -q -O- http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key | apt-key add -
|
||||
|
||||
# the docker packages have go over to systemd so these wont install
|
||||
bash -c cat > "${AVAILABLE}"/docker.list <<EOF
|
||||
#apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
||||
|
||||
# Debian stretch
|
||||
deb http://apt.dockerproject.org/repo debian-stretch main
|
||||
EOF
|
||||
ln -sf "${AVAILABLE}"/docker.list "${ACTIVE}"/docker.list
|
||||
bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyserv:w
|
||||
ers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"
|
||||
|
||||
apt-get update && apt-get install -y --force-yes devuan-keyring
|
||||
|
||||
#bash -c "cat > /etc/apt/sources.list.d/x2go.list" <<'EOF'
|
||||
## apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E
|
||||
## X2Go Repository (release builds)
|
||||
#deb http://packages.x2go.org/debian jessie main
|
||||
#
|
||||
## X2Go Repository (sources of release builds)
|
||||
#deb-src http://packages.x2go.org/debian jessie main
|
||||
#
|
||||
## X2Go Repository (nightly builds)
|
||||
##deb http://packages.x2go.org/debian jessie heuler
|
||||
#
|
||||
## X2Go Repository (sources of nightly builds)
|
||||
##deb-src http://packages.x2go.org/debian jessie heuler
|
||||
#
|
||||
## apt-get install x2goserver x2goserver-xsession
|
||||
#EOF
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
sudo apt-get install -y --reinstall qemu qemu-user-static binfmt-support
|
||||
sudo update-binfmts --enable qemu-aarch64
|
||||
|
||||
sudo sed -i '10s/^$/yes/g' /var/lib/binfmts/qemu-arm /var/lib/binfmts/qemu-aarch64
|
||||
|
||||
sudo /etc/init.d/binfmt-support restart
|
||||
|
||||
# test
|
||||
sudo docker run --rm -it arm64v8/busybox echo Hello World
|
||||
|
|
@ -8,7 +8,7 @@ rm ~/.pulse-cookie
|
|||
rm -r ~/.config/pulse
|
||||
rm -rf /tmp/pulse*
|
||||
|
||||
apt-get -y install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0
|
||||
apt-get -y install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui volumeicon-alsa libalsaplayer0
|
||||
apt-get -y install pnmixer
|
||||
|
||||
/etc/init.d/alsa-utils restart
|
||||
|
|
|
|||
|
|
@ -17,13 +17,16 @@ apt-get -y install kpartx
|
|||
apt-get -y install inxi
|
||||
apt-get -y --force-yes install xmlstarlet
|
||||
apt-get -y install hexedit
|
||||
apt-get -y install sshpass
|
||||
apt-get -y install wicd-curses
|
||||
apt-get -y install htop
|
||||
apt-get -y install iotop
|
||||
apt-get -y install sysstat
|
||||
apt-get -y install mpv
|
||||
apt-get -y install netcat
|
||||
apt-get -y install socat
|
||||
apt-get -y install youtube-dl
|
||||
apt-get -y install tor
|
||||
apt-get -y install torsocks
|
||||
apt-get -y install cmus
|
||||
apt-get -y install scdl
|
||||
apt-get -y install checkinstall
|
||||
|
|
@ -40,13 +43,17 @@ apt-get -y install shntools
|
|||
apt-get -y install lltag
|
||||
|
||||
apt-get -y install firmware-iwlwifi #For thinkpad wifi: Intel 5100 AGN [Shiloh]
|
||||
apt-get -y install grub-pc grub2 gpart
|
||||
|
||||
apt-get -y install grub-pc grub2 gpart cgpt
|
||||
apt-get -y install flex bison
|
||||
apt-get -y install rsync
|
||||
apt-get -y install socat
|
||||
|
||||
apt-get -y install rox-filer
|
||||
apt-get -y install atril
|
||||
apt-get -y install pandoc
|
||||
apt-get -y install libreoffice-pdfimport
|
||||
apt-get -y install terminology
|
||||
apt-get -y install geeqie
|
||||
apt-get -y install vbindiff
|
||||
apt-get -y install xwhexedit
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@ apt-get install -y python-dev python3-dev
|
|||
apt-get install -y python3-requests
|
||||
apt-get install -y python3-autopep8
|
||||
apt-get install -y python3-ipython
|
||||
apt-get install -y bpython
|
||||
apt-get install -y bpython3
|
||||
apt-get install -y python3-pylint
|
||||
apt-get install -y virtualenvwrapper
|
||||
apt-get install -y prospector
|
||||
|
|
|
|||
41
020_conky.sh
41
020_conky.sh
|
|
@ -1,15 +1,46 @@
|
|||
apt-get -y install conky-all
|
||||
apt-get -y install conky conky-all curl jq ttf-ubuntu-font-family
|
||||
|
||||
HOME=/home/default
|
||||
USER=default
|
||||
|
||||
echo "Hidden folder conky is created if it is not there"
|
||||
[ -d "$HOME/.conky" ] || mkdir -p $HOME/".conky"
|
||||
|
||||
mkdir -p ~/.conkyrc.d
|
||||
#wget -q0- -O /tmp/tmp.zip https://dl.opendesktop.org/api/files/download/id/1465391516/137272-conky_grey.zip && unzip /tmp/tmp.zip && rm /tmp/tmp.zip
|
||||
|
||||
wget -qO- -O /var/tmp/aurora.tar.gz http://downloads.sourceforge.net/project/auroraconkytheme/Aurora_v3.0.4.tar.gz && tar xzvf /var/tmp/aurora.tar.gz && mv Aurora/ ~/.conkyrc.d && rm /var/tmp/aurora.tar.gz
|
||||
wget -qO- -O /var/tmp/aurora.tar.gz http://downloads.sourceforge.net/project/auroraconkytheme/Aurora_v3.0.4.tar.gz && tar xzvf /var/tmp/aurora.tar.gz && mv Aurora/ ~/.conky && rm /var/tmp/aurora.tar.gz
|
||||
|
||||
cd /tmp
|
||||
git clone https://github.com/maxiwell/conky-seamod
|
||||
#cd /tmp
|
||||
#git clone https://github.com/maxiwell/conky-seamod
|
||||
#git clone https://github.com/zagortenay333/Harmattan
|
||||
|
||||
apt-get install -y lm-sensors hddtemp dmidecode
|
||||
|
||||
chmod u+s /usr/sbin/hddtemp
|
||||
chmod u+s /usr/sbin/dmidecode
|
||||
chmod u+s /usr/sbin/smartctl
|
||||
|
||||
cd $HOME/.conkyrc.d/Aurora
|
||||
|
||||
echo "installing necessary fonts"
|
||||
[ -d "~/.fonts" ] || mkdir -p $HOME/".fonts"
|
||||
cp ./fonts/* ~/.fonts
|
||||
sudo chown $USER ~/.fonts
|
||||
sudo chmod 644 ~/.fonts/*
|
||||
fc-cache -fv
|
||||
|
||||
sensors-detect
|
||||
service kmod restart
|
||||
|
||||
echo "building conky-manager2"
|
||||
apt-get install realpath p7zip-full rsync imagemagick
|
||||
cd /var/tmp
|
||||
sapt-get install valac libgtk-3-dev libgee-0.8-dev libjson-glib-dev
|
||||
git clone https://github.com/zcot/conky-manager2
|
||||
cd conky-manager2
|
||||
sed -i -e 's,\(valac-\).*,valac/,' debian/control
|
||||
dch -R
|
||||
dpkg-buildpackage -us -uc -b
|
||||
dpkg -i ../conky-manager_*deb
|
||||
apt-get -f install
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
cd /space/code_repositories/
|
||||
mkdir devuan_arm-sdk && cd devuan_arm-sdk
|
||||
git clone https://github.com/parazyd/arm-sdk
|
||||
|
||||
|
||||
apt-get install curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc
|
||||
|
||||
|
||||
cd arm-sdk
|
||||
|
||||
./init.sh
|
||||
|
||||
zsh -f
|
||||
source sdk
|
||||
|
||||
load devuan rockpro64
|
||||
|
||||
build_image_dist
|
||||
|
|
@ -1,71 +1,71 @@
|
|||
#!/usr/bin/env bash
|
||||
apt-get install docker-compose
|
||||
#dpkg -i /var/tmp/docker-compose/docker-compose_1.11.0-1_amd64.deb
|
||||
|
||||
BASE_URL='https://api.github.com/repos'
|
||||
BASE_USER='docker'
|
||||
BASE_REPO='compose'
|
||||
RELEASES_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/releases
|
||||
CONTENT=$(curl -s ${RELEASES_URL}/latest)
|
||||
RELEASE=$(echo "${CONTENT}" | jq --raw-output '.tag_name')
|
||||
|
||||
# make a containing directory
|
||||
mkdir -p /var/tmp/docker-compose-"${RELEASE}"
|
||||
cd /var/tmp/docker-compose-"${RELEASE}" || exit
|
||||
|
||||
cat > ./description-pak << EOF
|
||||
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration.
|
||||
EOF
|
||||
|
||||
cat > ./checkinstall_it.sh << 'EOF'
|
||||
|
||||
echo "ENTERING CHECKINSTALL"
|
||||
|
||||
BASE_URL='https://api.github.com/repos'
|
||||
BASE_USER='docker'
|
||||
BASE_REPO='compose'
|
||||
LICENSE_PAGE_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/license
|
||||
RELEASES_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/releases
|
||||
CONTENT=$(curl -s ${RELEASES_URL}/latest)
|
||||
LATEST_URL=$(echo "${CONTENT}" | jq --raw-output '.assets[] | select(.browser_download_url | test("Linux-x86_64")) | .browser_download_url')
|
||||
|
||||
echo "LATEST_URL: " "${LATEST_URL}"
|
||||
|
||||
RELEASE=$(echo "${CONTENT}" | jq --raw-output '.tag_name')
|
||||
|
||||
LICENSE_URL=$(curl "${LICENSE_PAGE_URL}" | jq --raw-output '.download_url')
|
||||
wget -c ${LICENSE_URL}
|
||||
|
||||
# make a new temporary directory for this use
|
||||
BASE_TMP_DIR=~/tmptmp/checkinstall_tmp
|
||||
mkdir -p ${BASE_TMP_DIR}
|
||||
|
||||
# do your work
|
||||
checkinstall -y --fstrans \
|
||||
--pkgname=docker-compose \
|
||||
--pkgversion=${RELEASE} \
|
||||
--pkgrelease=1 \
|
||||
--pkgarch=amd64 \
|
||||
--pkggroup=admin \
|
||||
--pkglicense=LICENSE \
|
||||
--pkgsource=${LATEST_URL} \
|
||||
--maintainer=cyteen@ring-zero.co.uk \
|
||||
--requires=docker-engine \
|
||||
-D \
|
||||
bash ./install.sh
|
||||
EOF
|
||||
|
||||
cat > ./install.sh << 'EOF'
|
||||
BASE_URL='https://api.github.com/repos'
|
||||
BASE_USER='docker'
|
||||
BASE_REPO='compose'
|
||||
RELEASES_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/releases
|
||||
CONTENT=$(curl -s ${RELEASES_URL}/latest)
|
||||
LATEST_URL=$(echo "${CONTENT}" | jq --raw-output '.assets[] | select(.browser_download_url | test("Linux-x86_64")) | .browser_download_url')
|
||||
|
||||
# Download and copy the latest version to /usr/local/bin and make executable
|
||||
curl -s -o /usr/local/bin/docker-compose -L ${LATEST_URL} && chmod +x /usr/local/bin/docker-compose
|
||||
EOF
|
||||
|
||||
bash ./checkinstall_it.sh
|
||||
|
||||
docker-compose --version
|
||||
# PROJECT=docker/compose
|
||||
# PRERELEASE=false
|
||||
# RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | select( .prerelease = false ) |.tag_name')
|
||||
# VERSION=$(echo "${RELEASE}" | cut -c 2- | cut -f1 -d"-")
|
||||
# DOWNLOAD_DIR=/tmp
|
||||
#
|
||||
# # make a containing directory
|
||||
# mkdir -p /var/tmp/docker-compose-"${RELEASE}"
|
||||
# cd /var/tmp/docker-compose-"${RELEASE}" || exit
|
||||
#
|
||||
# cat > ./description-pak << EOF
|
||||
# Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application’s services. Then, using a single command, you create and start all the services from your configuration.
|
||||
# EOF
|
||||
#
|
||||
# cat > ./checkinstall_it.sh << 'EOF'
|
||||
#
|
||||
# echo "ENTERING CHECKINSTALL"
|
||||
#
|
||||
# BASE_URL='https://api.github.com/repos'
|
||||
# BASE_USER='docker'
|
||||
# BASE_REPO='compose'
|
||||
# LICENSE_PAGE_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/license
|
||||
# RELEASES_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/releases
|
||||
# CONTENT=$(curl -s ${RELEASES_URL}/latest)
|
||||
# LATEST_URL=$(echo "${CONTENT}" | jq --raw-output '.assets[] | select(.browser_download_url | test("Linux-x86_64")) | .browser_download_url')
|
||||
#
|
||||
# echo "LATEST_URL: " "${LATEST_URL}"
|
||||
#
|
||||
# RELEASE=$(echo "${CONTENT}" | jq --raw-output '.tag_name')
|
||||
#
|
||||
# LICENSE_URL=$(curl "${LICENSE_PAGE_URL}" | jq --raw-output '.download_url')
|
||||
# wget -c ${LICENSE_URL}
|
||||
#
|
||||
# # make a new temporary directory for this use
|
||||
# BASE_TMP_DIR=~/tmptmp/checkinstall_tmp
|
||||
# mkdir -p ${BASE_TMP_DIR}
|
||||
#
|
||||
# # do your work
|
||||
# checkinstall -y --fstrans \
|
||||
# --pkgname=docker-compose \
|
||||
# --pkgversion=${RELEASE} \
|
||||
# --pkgrelease=1 \
|
||||
# --pkgarch=amd64 \
|
||||
# --pkggroup=admin \
|
||||
# --pkglicense=LICENSE \
|
||||
# --pkgsource=${LATEST_URL} \
|
||||
# --maintainer=cyteen@ring-zero.co.uk \
|
||||
# --requires=docker-engine \
|
||||
# -D \
|
||||
# bash ./install.sh
|
||||
# EOF
|
||||
#
|
||||
# cat > ./install.sh << 'EOF'
|
||||
# BASE_URL='https://api.github.com/repos'
|
||||
# BASE_USER='docker'
|
||||
# BASE_REPO='compose'
|
||||
# RELEASES_URL="${BASE_URL}/${BASE_USER}/${BASE_REPO}"/releases
|
||||
# CONTENT=$(curl -s ${RELEASES_URL}/latest)
|
||||
# LATEST_URL=$(echo "${CONTENT}" | jq --raw-output '.assets[] | select(.browser_download_url | test("Linux-x86_64")) | .browser_download_url')
|
||||
#
|
||||
# # Download and copy the latest version to /usr/local/bin and make executable
|
||||
# curl -s -o /usr/local/bin/docker-compose -L ${LATEST_URL} && chmod +x /usr/local/bin/docker-compose
|
||||
# EOF
|
||||
#
|
||||
# bash ./checkinstall_it.sh
|
||||
#
|
||||
# docker-compose --version
|
||||
|
|
|
|||
|
|
@ -1,12 +1,19 @@
|
|||
# Install docker
|
||||
set -x
|
||||
echo '#bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"' > /etc/apt/sources.list.d/docker.list
|
||||
echo "deb http://apt.dockerproject.org/repo debian-stretch main" >> /etc/apt/sources.list.d/docker.list
|
||||
#echo '#bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"' > /etc/apt/sources.list.d/docker.list
|
||||
#echo "deb http://apt.dockerproject.org/repo debian-stretch main" >> /etc/apt/sources.list.d/docker.list
|
||||
|
||||
echo '#bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -"' > /etc/apt/sources.list.d/docker.list
|
||||
echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" >> /etc/apt/sources.list.d/docker.list
|
||||
|
||||
#bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"
|
||||
bash -c "curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -"
|
||||
|
||||
|
||||
bash -c "apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D"
|
||||
apt-get update
|
||||
apt-get -y install -q --no-install-recommends curl ca-certificates
|
||||
apt-get -y install --force-yes docker-engine jq
|
||||
apt-get -y install --force-yes jq
|
||||
apt-get install -y docker-ce docker-ce-cli containerd.io
|
||||
#apt-get install -y --force-yes docker-engine=1.9.1-0~jessie
|
||||
|
||||
#mkdir -p /var/lib/docker
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
||||
php composer-setup.php && \
|
||||
mv composer.phar /usr/local/bin/composer && \
|
||||
php -r "unlink('composer-setup.php');"
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
set +x
|
||||
PROJECT=drush-ops/drush-launcher
|
||||
RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | .tag_name')
|
||||
VERSION=$(echo "${RELEASE}" | cut -c 2- | cut -f1 -d"-")
|
||||
DOWNLOAD_DIR=/tmp
|
||||
|
||||
wget -c --directory-prefix "${DOWNLOAD_DIR}" https://github.com/${PROJECT}/releases/download/"${RELEASE}"/drush.phar
|
||||
chmod +x drush.phar && \
|
||||
mv drush.phar /usr/local/bin/drush
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# https://github.com/balena-io/etcher
|
||||
|
||||
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list-available/etcher.list
|
||||
sudo ln -s /etc/apt/sources.list-available/etcher.list /etc/apt/sources.list.d/etcher.list
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install balena-etcher-electron
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
git config merge.tool meld
|
||||
#git config merge.tool gvimdiff3
|
||||
git config merge.conflictstyle diff3
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
apt-get -y install grc
|
||||
ALIAS_FILE=/home/default/.zsh_aliases.d/003-grc.sh
|
||||
cat > ${ALIAS_FILE} <<'EOF'
|
||||
# coloured output using grc
|
||||
if [ -e /usr/bin/grc ]; then
|
||||
alias cl="/usr/bin/grc -es --colour=auto"
|
||||
alias ping="cl ping"
|
||||
alias netstat="cl netstat"
|
||||
alias traceroute="cl traceroute"
|
||||
alias diff="cl diff"
|
||||
alias tail="cl tail"
|
||||
alias ps="cl ps"
|
||||
alias lsof="cl lsof"
|
||||
alias gcc="cl gcc"
|
||||
alias make="cl make"
|
||||
alias configure="cl configure"
|
||||
alias ps="cl ps"
|
||||
alias dig="cl dig"
|
||||
alias ifconfig="cl /sbin/ifconfig"
|
||||
alias mount="cl mount"
|
||||
alias mtr="cl mtr --curses"
|
||||
alias df="cl df -hT | column -t"
|
||||
fi
|
||||
EOF
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
set +x
|
||||
PROJECT=magkopian/keepassxc-debian
|
||||
RELEASE=$(curl "https://api.github.com/repos/${PROJECT}/releases?per_page=5" | jq -r '.[0] | .tag_name')
|
||||
VERSION=$(echo "${RELEASE}" | cut -c 2- | cut -f1 -d"-")
|
||||
DOWNLOAD_DIR=/tmp
|
||||
|
||||
wget -c --directory-prefix "${DOWNLOAD_DIR}" https://github.com/${PROJECT}/releases/download/"${RELEASE}"/keepassxc_"${RELEASE}"_amd64_stable_stretch.deb
|
||||
sudo dpkg -i "${DOWNLOAD_DIR}/keepassxc_${RELEASE}_amd64_stable_stretch.deb"
|
||||
sudo apt-get -y -f install
|
||||
13
020_kodi.sh
13
020_kodi.sh
|
|
@ -1,13 +0,0 @@
|
|||
sudo apt-get install kodi
|
||||
|
||||
# Plugins
|
||||
#covenant
|
||||
#sanctuary http://sanctuaryrepo.esy.es/sanc/
|
||||
#neptune rising http://repo.mrblamo.xyz/
|
||||
#placenta
|
||||
#sports devil
|
||||
#incursion
|
||||
#poseidon
|
||||
#genesis reborn
|
||||
#uranus
|
||||
#maverick tv
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
# sudo apt-get install kodi
|
||||
|
||||
# 18.04 bionic buster
|
||||
# 17.10 artful stretch
|
||||
|
||||
RELEASE=bionic
|
||||
|
||||
sudo echo "deb http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu ${RELEASE} main" > /etc/apt/sources.list-available/kodi_nightly-ppa.list
|
||||
sudo echo "deb-src http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu ${RELEASE} main" >> /etc/apt/sources.list-available/kodi_nightly-ppa.list
|
||||
|
||||
sudo ln -sf /etc/apt/sources.list-available/kodi_nightly-ppa.list /etc/apt/sources.list.d/kodi_nightly-ppa.list
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6D975C4791E7EE5E
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
# Plugins
|
||||
#covenant
|
||||
#sanctuary http://sanctuaryrepo.esy.es/sanc/
|
||||
#neptune rising http://repo.mrblamo.xyz/
|
||||
#placenta
|
||||
#sports devil
|
||||
#incursion
|
||||
#poseidon
|
||||
#genesis reborn
|
||||
#uranus
|
||||
#maverick tv
|
||||
packages=" \
|
||||
ca-certificates \
|
||||
kodi=2:18.* \
|
||||
kodi-eventclients-kodi-send \
|
||||
kodi-pvr-argustv \
|
||||
kodi-pvr-dvbviewer \
|
||||
kodi-pvr-hdhomerun \
|
||||
kodi-pvr-hts \
|
||||
kodi-pvr-iptvsimple \
|
||||
kodi-pvr-mediaportal-tvserver \
|
||||
kodi-pvr-mythtv \
|
||||
kodi-pvr-nextpvr \
|
||||
kodi-pvr-njoy \
|
||||
kodi-pvr-vdr-vnsi \
|
||||
kodi-pvr-vuplus \
|
||||
kodi-pvr-wmc \
|
||||
kodi-eventclients-wiiremote \
|
||||
kodi-repository-kodi \
|
||||
vdr \
|
||||
vdr-plugin-vnsiserver
|
||||
tzdata"
|
||||
|
||||
packages_missing=" \
|
||||
kodi-game-libretro \
|
||||
kodi-inputstream-rtmp \
|
||||
kodi-inputstream-adaptive \
|
||||
kodi-peripheral-joystick \
|
||||
kodi-pvr-dvblink \
|
||||
kodi-pvr-filmon \
|
||||
kodi-pvr-octonet \
|
||||
kodi-pvr-pctv \
|
||||
kodi-pvr-stalker \
|
||||
kodi-pvr-teleboy \
|
||||
kodi-pvr-vbox \
|
||||
kodi-pvr-zattoo"
|
||||
|
||||
sudo apt-get update && \
|
||||
sudo apt-get install -y --no-install-recommends $packages
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
# sudo apt-get install kodi
|
||||
|
||||
# 18.04 bionic buster
|
||||
# 17.10 artful stretch
|
||||
|
||||
RELEASE=bionic
|
||||
|
||||
sudo echo "deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu ${RELEASE} main" > /etc/apt/sources.list-available/kodi-ppa.list
|
||||
sudo echo "deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu ${RELEASE} main" >> /etc/apt/sources.list-available/kodi-ppa.list
|
||||
|
||||
sudo ln -sf /etc/apt/sources.list-available/kodi-ppa.list /etc/apt/sources.list.d/kodi-ppa.list
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6D975C4791E7EE5E
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
# Plugins
|
||||
#covenant
|
||||
#sanctuary http://sanctuaryrepo.esy.es/sanc/
|
||||
#neptune rising http://repo.mrblamo.xyz/
|
||||
#placenta
|
||||
#sports devil
|
||||
#incursion
|
||||
#poseidon
|
||||
#genesis reborn
|
||||
#uranus
|
||||
#maverick tv
|
||||
|
||||
|
||||
packages=" \
|
||||
ca-certificates \
|
||||
kodi=2:18.* \
|
||||
kodi-eventclients-kodi-send \
|
||||
kodi-pvr-argustv \
|
||||
kodi-pvr-dvbviewer \
|
||||
kodi-pvr-hdhomerun \
|
||||
kodi-pvr-hts \
|
||||
kodi-pvr-iptvsimple \
|
||||
kodi-pvr-mediaportal-tvserver \
|
||||
kodi-pvr-mythtv \
|
||||
kodi-pvr-nextpvr \
|
||||
kodi-pvr-njoy \
|
||||
kodi-pvr-vdr-vnsi \
|
||||
kodi-pvr-vuplus \
|
||||
kodi-pvr-wmc \
|
||||
kodi-eventclients-wiiremote \
|
||||
kodi-repository-kodi \
|
||||
vdr \
|
||||
vdr-plugin-vnsiserver \
|
||||
tzdata"
|
||||
|
||||
packages_missing=" \
|
||||
kodi-game-libretro \
|
||||
kodi-inputstream-rtmp \
|
||||
kodi-inputstream-adaptive \
|
||||
kodi-peripheral-joystick \
|
||||
kodi-pvr-dvblink \
|
||||
kodi-pvr-filmon \
|
||||
kodi-pvr-octonet \
|
||||
kodi-pvr-pctv \
|
||||
kodi-pvr-stalker \
|
||||
kodi-pvr-teleboy \
|
||||
kodi-pvr-vbox \
|
||||
kodi-pvr-zattoo"
|
||||
|
||||
sudo apt-get update && \
|
||||
sudo apt-get install -y --no-install-recommends $packages
|
||||
sudo apt-get install -y --no-install-recommends $packages_missing
|
||||
sudo apt-get install -y --no-install-recommends
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
PREFIX=/tmp
|
||||
NAME=lsd
|
||||
PROJECT=Peltoche/lsd
|
||||
RELEASE=$(curl -s https://api.github.com/repos/${PROJECT}/releases/latest | grep tarball_url | cut -d '"' -f 4 | awk -F "/" {'print $8'})
|
||||
|
||||
wget -c -P ${PREFIX} https://github.com/${PROJECT}/releases/download/${RELEASE}/${NAME}_${RELEASE}_amd64.deb
|
||||
|
||||
dpkg -i ${PREFIX}/${NAME}_${RELEASE}_amd64.deb
|
||||
apt-get -f install
|
||||
|
||||
# Aliases
|
||||
#FLAGS
|
||||
# -a, --all Do not ignore entries starting with .
|
||||
# --classic Enable classic mode (no colors or icons)
|
||||
# --help Prints help information
|
||||
# -h, --human-readable For ls compatibility purposes ONLY, currently set by default
|
||||
# -F, --classify Append indicator (one of */=>@|) at the end of the file names
|
||||
# -l, --long Display extended file metadata as a table
|
||||
# -1, --oneline Display one entry per line
|
||||
# -R, --recursive Recurse into directories
|
||||
# -r, --reverse Reverse the order of the sort
|
||||
# -t, --timesort Sort by time modified
|
||||
# --tree Recurse into directories and present the result as a tree
|
||||
# -V, --version Prints version information
|
||||
|
||||
#OPTIONS:
|
||||
# --color <color>... When to use terminal colours [default: auto] [possible values: always, auto, never]
|
||||
# --date <date>... How to display date [default: date] [possible values: date, relative]
|
||||
# --depth <num> Stop recursing into directories after reaching specified depth
|
||||
# --group-dirs <group-dirs>... Sort the directories then the files [default: none] [possible values: none, first, last]
|
||||
# --icon <icon>... When to print the icons [default: auto] [possible values: always, auto, never]
|
||||
# --icon-theme <icon-theme>... Whether to use fancy or unicode icons [default: fancy] [possible values: fancy, unicode]
|
||||
|
||||
|
||||
ALIAS_FILE=/home/default/.zsh_aliases.d/003-lsd.sh
|
||||
cat > ${ALIAS_FILE} <<'EOF'
|
||||
if [ -x /usr/bin/lsd ]; then
|
||||
alias lsd="/usr/bin/ls"
|
||||
fi
|
||||
EOF
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
apt-get install nethogs
|
||||
setcap "cap_net_admin,cap_net_raw+pe" /usr/sbin/nethogs
|
||||
|
|
@ -0,0 +1 @@
|
|||
sudo apt-get install obs-studio ffmpeg
|
||||
|
|
@ -168,6 +168,18 @@ EOF
|
|||
|
||||
chmod +x ${HOOK_DIR}/D05deps
|
||||
|
||||
# The debs created by pbuild are generated here so include them as well.
|
||||
cat > ${HOOK_DIR}/D06deps << 'EOF'
|
||||
LOCAL_REPO="/var/cache/pbuilder/result"
|
||||
|
||||
#!/bin/bash
|
||||
echo "deb [trusted=yes] file://${LOCAL_REPO} ./" > /etc/apt/sources.list.d/pbuild-local.list
|
||||
(cd ${LOCAL_REPO}; apt-ftparchive packages . > Packages)
|
||||
apt-get update
|
||||
EOF
|
||||
|
||||
chmod +x ${HOOK_DIR}/D06deps
|
||||
|
||||
#Update cow image on changes above
|
||||
#DIST=${DIST} ARCH=${ARCH} git-pbuilder create --override-config --mirror http://pkgmaster.devuan.org
|
||||
DIST=${DIST} ARCH=${ARCH} git-pbuilder create
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
PREFIX=/tmp
|
||||
NAME=pyload
|
||||
PROJECT=pyload/pyload
|
||||
RELEASE=$(curl -s https://api.github.com/repos/${PROJECT}/releases/latest | grep tarball_url | cut -d '"' -f 4 | awk -F "/" {'print $8'})
|
||||
|
||||
|
||||
wget -c -P ${PREFIX} https://github.com/${PROJECT}/releases/download/${RELEASE}/${NAME}_${RELEASE}_amd64.deb
|
||||
|
||||
dpkg -i ${PREFIX}/${NAME}_${RELEASE}_amd64.deb
|
||||
apt-get -f install
|
||||
|
|
@ -0,0 +1 @@
|
|||
apt install python3-requests python3-lxml python3-cssselect feh
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Given a choice of selecting settings to match pulseaudio if installedor alsa when not, they just install it broken and recommend pulseaudio, nice.
|
||||
|
||||
#apt-get install speech-dispatcher speech-dispatcher-espeak-ng python3-speechd espeek-ng espeak-ng-espeak
|
||||
apt-get install speech-dispatcher speech-dispatcher-festival speech-dispatcher-espeak-ng python3-speechd espeek-ng espeak-ng-espeak
|
||||
|
||||
SPEECHD_CONF=/etc/speech-dispatcher/speechd.conf
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
TBB_VERSION=7.5.6
|
||||
WORKDIR=//var/tmp
|
||||
HOMEDIR=/opt
|
||||
|
||||
cd ${WORKDIR}
|
||||
wget -c https://www.torproject.org/dist/torbrowser/${TBB_VERSION}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz
|
||||
|
||||
cd ${HOMEDIR}
|
||||
tar xf ${WORKDIR}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
|
||||
|
||||
#sudo sh -c 'echo "deb https://apt.tvheadend.org/unstable stretch main" | tee -a /etc/apt/sources.list-available/tvheadend.list'
|
||||
sudo sh -c 'echo "deb https://apt.tvheadend.org/unstable xenial main"' | tee -a /etc/apt/sources.list-available/tvheadend.list
|
||||
|
||||
sudo ln -sf /etc/apt/sources.list-available/tvheadend.list /etc/apt/sources.list.d/tvheadend.list
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y tvheadend
|
||||
|
||||
sudo service tvheadend restart
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
set +x
|
||||
#apt-get install vim-gtk
|
||||
#apt-get install vim-gtk vifm
|
||||
|
||||
sed -i -e 's/"syntax on/syntax on/' /etc/vim/vimrc
|
||||
sed -i -e 's/"set background=dark/set background=dark/' /etc/vim/vimrc
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ touch /var/tmp/nvim_python.log
|
|||
|
||||
# debians locate db locate
|
||||
# sed -i 's,^\(export LOCATE_PATH=\).*,\1'/var/lib/mlocate/mlocate.db',' ~/.zshrc
|
||||
echo "export LOCATE_PATH=/var/lib/mlocate/mlocate.db" > ~/.zshrc.d/005-locatedb
|
||||
echo "export LOCATE_PATH=/var/lib/mlocate/mlocate.db" > ~/.zshrc.d/005-locatedb.zsh
|
||||
|
||||
# add plugins to the load-starter-plugin-list() function in ~/.zgen-setup ~/zsh-quickstart-kit/zsh/.zgen-setup
|
||||
# FIXED: create a file named .zgen-local-plugins and add your zgen load commands there.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
mkdir -p ~/.zsh_aliases.d
|
||||
|
||||
ALIAS_FILE=/home/default/.zsh_aliases
|
||||
cat >> ${ALIAS_FILE} <<'EOF'
|
||||
|
||||
# Enable .zsh_aliases.d to keep aliases separate from env variables
|
||||
if [ -d ~/.zsh_aliases.d ]; then
|
||||
for f (~/.zsh_aliases.d/**/*(N.)) . $f
|
||||
fi
|
||||
EOF
|
||||
|
||||
ALIAS_FILE=/home/default/.zsh_aliases.d/003_local.sh
|
||||
cat > ${ALIAS_FILE} <<'EOF'
|
||||
alias locate='locate --existing --follow --basename --ignore-case'
|
||||
alias wget="wget --content-disposition -c"
|
||||
alias leech="wget -e robots=off -c -r --level=0 -nc -np --random-wait"
|
||||
alias bc='bc -lq'
|
||||
alias shred='ionice -c3 /usr/bin/shred -fuzv'
|
||||
alias wipe='ionice -c3 /usr/bin/wipe -l1 -v -r'
|
||||
alias less="less -R"
|
||||
alias youtube-dl='youtube-dl --external-downloader=aria2c'
|
||||
EOF
|
||||
Loading…
Reference in New Issue