Giter Club home page Giter Club logo

linux_script's Introduction

申请let's encrpy credentials

前提:

需要将cf的api_key,email提前export到环境中

api_key:cf的Global API Key

email:cf的email

curl -k -o letsencrpy_credentials_install.sh "https://raw.githubusercontent.com/weiguangchao/Linux_script/master/letsencrpy_credentials_install.sh" && chmod +x letsencrpy_credentials_install.sh && ./letsencrpy_credentials_install.sh your domain

your domain:多个域名使用空格进行分割

在脚本执行过程中会再次确认域名和邮箱,相关提示信息按照默认的即可

安装docker 及 docker-compose

curl -k -o docker_install.sh "https://raw.githubusercontent.com/weiguangchao/Linux_script/master/docker_install.sh" && chmod +x docker_install.sh  && ./docker_install.sh 

若使用非root用户,为了不影响docker的使用,请将当前用户添加到docker用户组里

初始化Hexo博客的Git仓库

curl -k -o hexo_blog_git.sh "https://raw.githubusercontent.com/weiguangchao/Linux_script/master/hexo_blog_git.sh" && chmod +x hexo_blog_git.sh && ./hexo_blog_git.sh

博客Git仓库位于~/blog.git,html代码位于~/data/www,同时会开启80443端口

网络优化

来自千影的优化脚本

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" &&
chmod +x tcp.sh &&
./tcp.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.