Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified conda.py
100644 → 100755
Empty file.
27 changes: 27 additions & 0 deletions debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

# backup old config

mkdir -p ~/matchyoubackup
cd ~/matchyoubackup

mkdir -p var/www
mkdir -p var/lib
mkdir -p usr/lib
mkdir -p etc

cp -rp /etc/nginx etc || true
cp -rp /etc/mysql* etc || true
cp -rp /etc/php* etc || true
cp -rp /etc/apache2* etc || true
mv /var/www/html var/www || true
mv /var/lib/mysql var/lib || true
mv /usr/lib/python3 usr/lib || true
mv ~/go go || true

# mess up the the development environment
# LNMP python3 golang C/C++
apt purge -y nginx* apache2* mysql* mariadb* php* \
python3* \
golang* \
build-essential* *-dev gcc g++
Empty file modified father.py
100644 → 100755
Empty file.
Empty file modified mother.py
100644 → 100755
Empty file.
Empty file modified mother.sh
100644 → 100755
Empty file.