基于nginx一键部署https

Centos7环境下全自动创建kvm虚拟机

初识shell

#!/bin/bash # 脚本第一行指定那个解释器来执行 # Date: # Author: # Blog: # Description: # Version: #查看默认shell echo $SHELL grep root /etc/passwd #增加vi别名 alias vi='vim' echo "alias vi=...

Mysql 一键安装shell脚本

#!/bin/bash # Author: Ropon # Blog: https://www.ropon.top RunUser=mysql InstallMysql() { pushd $BaseDir [ "${MysqlVer}" == "5.7.25" ] && MysqlModulesOptions="-DWITH_BOOST=boost" #if [ ...

Php 一键安装shell脚本

#!/bin/bash # Author: Ropon # Blog: https://www.ropon.top InstallPhp() { pushd $BaseDir # 批量检测并创建所需目录 for key in ${!PhpDirs[*]};do [ ! -d "${PhpDirs[$key]}" ] && mkdir -p ...

vue refs属性基本使用

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scal...

Centos7.x 一键优化shell脚本

#!/bin/bash # Author: Ropon # Blog: https://www.ropon.top LANG=en_US.UTF-8 Mem=`free -m | awk '/Mem:/{print $2}'` Swap=`free -m | awk '/Swap:/{print $2}'` InitBase() { # 检查是否有wget命令 whic...

Nginx 一键安装shell脚本

#!/bin/bash # Author: Ropon # Blog: https://www.ropon.top InstallNginx() { pushd $BaseDir # 批量下载并解压所需包 for key in ${!NgFiles[*]}; do [ ! -f ${NgFiles[$key]}.tar.gz ] && Dow...

django restframework 知识准备

from django.test import TestCasefrom django.utils.decorators import classonlymethod# classmethod classonlymethodclass Ropon(object): def __init__(self, name, age): self.name = name ...

Diy Vue脚手架

全局安装webpack npm i webpack@3.12.0 -g 配置支持css文件解析 cnpm i css-loader style-loader –save-dev -S 配置项目依赖 cnpm i vue vue-router -S webpack解析vue cnpm i vue-loader@14.1.1 vue-templat...

vue router基本使用

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scal...

vue 平行组件传值

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scal...