上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: 配置yum源 cat << 'EOF' > /etc/yum.repos.d/mongodb-org.repo [mongodb-org-4.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$release 阅读全文
posted @ 2021-03-01 19:03 Ray_chen 阅读(293) 评论(0) 推荐(0)
摘要: ipset yum -y install ipset 创建一个set hash:net 指定可以向集合添加ip段或ip地址, ipset create blacklist hash:net hashsize 4096 maxelem 100000 timeout 300 hash:ip 指定可以向集 阅读全文
posted @ 2021-03-01 19:00 Ray_chen 阅读(432) 评论(0) 推荐(0)
摘要: #!/bin/bash # # Author: yeho <lj2007331 AT gmail.com> # Blog: https://blog.linuxeye.com # # Installs a PPTP VPN-only system for CentOS # Check if user 阅读全文
posted @ 2021-03-01 18:13 Ray_chen 阅读(1551) 评论(0) 推荐(0)
摘要: 一 服务器初始化 #!/bin/bash if [[ "$(whoami)" != "root" ]]; then echo "please run this script as root ." >&2 exit 1 fi #yum update yum_update(){ yum update - 阅读全文
posted @ 2021-02-26 10:56 Ray_chen 阅读(800) 评论(0) 推荐(0)
摘要: yum install -y java-1.8.0-openjdk yum install -y java-1.8.0-openjdk-devel.x86_64 ls -lrt /usr/bin/java cat <<EOF > /etc/profile.d/jdk export JAVA_HOME 阅读全文
posted @ 2020-06-28 16:33 Ray_chen 阅读(574) 评论(0) 推荐(0)
摘要: package main import "fmt" func main() { // 变量定于的语法格式 // 常规写法 var age int age = 30 fmt.Println(age) // 简化 var name string = "paul" fmt.Println(name) // 阅读全文
posted @ 2020-04-23 19:18 Ray_chen 阅读(971) 评论(0) 推荐(0)
摘要: # 全局配置 >git config --global user.name ""git config --global user.email "" ## 查看用户配置> git config user.namegit config user.email ## 初始化一个仓库> git initgit 阅读全文
posted @ 2020-04-21 01:16 Ray_chen 阅读(189) 评论(0) 推荐(0)
摘要: ## 引用 无题 > 身无彩凤双飞翼 心有灵犀一点通 - - - ## 分割线 - - - *** ___ ## 强调 *python* _python_ **python** __python__ 无序列表 *** + python + go * python * go - python - go 阅读全文
posted @ 2020-04-20 21:36 Ray_chen 阅读(209) 评论(0) 推荐(0)
摘要: yum -y install ipset wget -P . http://www.ipdeny.com/ipblocks/data/countries/cn.zone ipset -N cnip hash:net for i in $(cat /root/cn.zone ); do ipset - 阅读全文
posted @ 2020-03-30 17:20 Ray_chen 阅读(239) 评论(0) 推荐(0)
摘要: #!/bin/bash basepath=/home/master/smali/com/ apkname=master cd /home #1 反编译 echo 1 正在执行反编译 apktool d $apkname.apk if [ $? -ne 0 ];then echo " apktool 阅读全文
posted @ 2020-03-07 18:02 Ray_chen 阅读(563) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 20 下一页