Skip to content

Instantly share code, notes, and snippets.

View Jacksgong's full-sized avatar
💭
Learning

Jacksgong Jacksgong

💭
Learning
View GitHub Profile
@Jacksgong
Jacksgong / init-shell.sh
Last active October 24, 2021 12:54
init the shell
#!/bin/bash
#
# This file is licensed under the Apache License, Version 2.0
# Copyright (C) 2017 Jacksgong(blog.dreamtobe.cn)
# clone the configured script
git clone https://git.dreamtobe.cn/Jacksgong/script
cd script
# execute the init shell script
@Jacksgong
Jacksgong / install-php7-extensions.sh
Created March 5, 2017 12:25
install PHP7 and neccessary extensions
sudo apt install php7.0-common php7.0-fpm php7.0-cli php7.0-json php7.0-mysql php7.0-curl php7.0-intl php7.0-mcrypt php-pear php7.0-gd php7.0-zip php7.0-xml php7.0-mbstring
/*
* Copyright 2018 Jacksgong(jacksgong.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@Jacksgong
Jacksgong / shadowsocks.sh
Created February 28, 2019 09:35
backpu teddysun ss installation script
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#=================================================================#
# System Required: CentOS 6+, Debian 7+, Ubuntu 12+ #
# Description: One click Install Shadowsocks-Python server #
# Author: Teddysun <i@teddysun.com> #
# Thanks: @clowwindy <https://twitter.com/clowwindy> #
# Intro: https://teddysun.com/342.html #
#=================================================================#
@Jacksgong
Jacksgong / shadowsocks.sh
Created February 28, 2019 09:35
backpu teddysun ss installation script
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#=================================================================#
# System Required: CentOS 6+, Debian 7+, Ubuntu 12+ #
# Description: One click Install Shadowsocks-Python server #
# Author: Teddysun <i@teddysun.com> #
# Thanks: @clowwindy <https://twitter.com/clowwindy> #
# Intro: https://teddysun.com/342.html #
#=================================================================#
@Jacksgong
Jacksgong / shadowsocks.sh
Created February 28, 2019 09:35
backpu teddysun ss installation script
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#=================================================================#
# System Required: CentOS 6+, Debian 7+, Ubuntu 12+ #
# Description: One click Install Shadowsocks-Python server #
# Author: Teddysun <i@teddysun.com> #
# Thanks: @clowwindy <https://twitter.com/clowwindy> #
# Intro: https://teddysun.com/342.html #
#=================================================================#