上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 114 下一页
摘要: cd /home/wwwroot/default/smart/Public && php cron.php Test/test >> ../logs/cron.log 2>&1 这个命令的意思是,第一步,先进入Public目录下,然后通过php指令,结合cron.php,执行相关的代码。 把执行的结 阅读全文
posted @ 2021-05-19 11:31 TBHacker 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Docker和宿主Host的关系如上图所示。 查看docker # docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 51bf8220a09f redis:5.0.3 "docker-entrypoint..." 4 阅读全文
posted @ 2021-05-13 10:36 TBHacker 阅读(105) 评论(0) 推荐(0) 编辑
摘要: du -h --max-depth=1 du -hm --max-depth=2 | sort -n du -hm --max-depth=2 | sort -nr | head -12 以上都是当前目录,也可以指定目录 du / -h --max-depth=1 du / -hm --max-de 阅读全文
posted @ 2021-05-13 09:37 TBHacker 阅读(119) 评论(0) 推荐(0) 编辑
摘要: $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; /* Server parameters */ // $cfg['Servers'][$i]['host'] = 'localhost'; $cf 阅读全文
posted @ 2021-05-12 16:49 TBHacker 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 查看 git remote -v 设置新的地址 git remote set-url origin xxx.git 阅读全文
posted @ 2021-05-12 13:02 TBHacker 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 我真傻!竟然不知道这个功能! 昨天还一个个复制。真傻比。 阅读全文
posted @ 2021-05-11 10:58 TBHacker 阅读(2289) 评论(0) 推荐(0) 编辑
摘要: 下载地址 https://gitee.com/star7th/showdoc 配置nginx server { listen 80; #listen [::]:80 default_server ipv6only=on; server_name local.showdoc.com; index in 阅读全文
posted @ 2021-05-07 17:04 TBHacker 阅读(595) 评论(0) 推荐(0) 编辑
摘要: set password for 'root'@'localhost'=password('Sqkj123456'); 阅读全文
posted @ 2021-05-07 11:53 TBHacker 阅读(99) 评论(0) 推荐(0) 编辑
摘要: sudo chown -R mysql /usr/local/mysql 阅读全文
posted @ 2021-05-07 11:51 TBHacker 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 下载wget yum install wget 打开xshell,查看yum源信息: yum repolist 跳转base reop源: cd /etc/yum.repos.d 备份旧的配置文件: mv CentOS-Base.repo CentOS-Base.repo.bak 下载基础源文件(阿 阅读全文
posted @ 2021-05-06 19:02 TBHacker 阅读(204) 评论(0) 推荐(0) 编辑
摘要: vim /etc/profile 添加 TMOUT=180 export TMOUT 重新加载配置 source /etc/profile 阅读全文
posted @ 2021-05-06 16:52 TBHacker 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 授权登录限制 vi /etc/pam.d/system-auth 添加 auth required pam_tally2.so deny=3 unlock_time=30 even_deny_root root_unlock_time=60 sshd登录错误限制 vim /etc/pam.d/ssh 阅读全文
posted @ 2021-05-06 15:58 TBHacker 阅读(895) 评论(0) 推荐(0) 编辑
摘要: 基于1280尺寸。 支持scss。 支持px2rem。 开发,打包,上线。 很好用。 有了Vue,各种插件都可以使用,路由也可以使用。 最后一打包,什么都ok。 阅读全文
posted @ 2021-04-30 17:16 TBHacker 阅读(55) 评论(0) 推荐(0) 编辑
摘要: gsettings set com.canonical.Unity.Launcher launcher-position Bottom 阅读全文
posted @ 2021-04-30 13:52 TBHacker 阅读(108) 评论(0) 推荐(0) 编辑
摘要: // vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { chainWebpack: config => { config .plugin('html') .tap(args => { a 阅读全文
posted @ 2021-04-30 10:27 TBHacker 阅读(14078) 评论(0) 推荐(1) 编辑
摘要: 1、安装 npm install postcss-plugin-px2rem --save-dev 2、引入配置 // vue.config.js const px2rem = require("postcss-plugin-px2rem"); module.exports = { css: { l 阅读全文
posted @ 2021-04-30 10:15 TBHacker 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 父视图,通过属性传入参数 <template> <div class="home"> <Index name="Zhang" age="18"/> </div> </template> <script> import Index from '@/components/Index.vue' expor 阅读全文
posted @ 2021-04-30 09:57 TBHacker 阅读(49) 评论(0) 推荐(0) 编辑
摘要: import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [ { path: '/', name: ' 阅读全文
posted @ 2021-04-30 09:53 TBHacker 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: sudo cnpm install -g vue-cli 这样脚手架创建项目更加的快。 vue create demo 阅读全文
posted @ 2021-04-30 09:28 TBHacker 阅读(355) 评论(0) 推荐(0) 编辑
摘要: <el-table-column prop="is_show" label="是否显示"> <template slot-scope="scope"> <el-switch disabled v-model="scope.row.is_show" active-value="1" inactive- 阅读全文
posted @ 2021-04-28 18:58 TBHacker 阅读(222) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 114 下一页