shell脚本编程学习笔记(三)权限分配
文件或目录(普通文件) ------chmod scl 用户对某个程序或某个应用脚本-------sudo chmod 不能实现权限细化问题 1.数字权限分配 chmod 755 file r 4 w 2 x 1 2.字母权限分配 chmod u+x file chmod o-w file chmod g+w file chmod g+w,g+x file
文件或目录(普通文件) ------chmod scl 用户对某个程序或某个应用脚本-------sudo chmod 不能实现权限细化问题 1.数字权限分配 chmod 755 file r 4 w 2 x 1 2.字母权限分配 chmod u+x file chmod o-w file chmod g+w file chmod g+w,g+x file
更改IP地址 临时更改 ifconfig eth0 192.168.100.1 永久更改 vi /etc/sysconfig/network-scripts/ifcfg-eth0 tab键自动补全(tab) 例如:ifcon (tab) -------自动补全config 命令历史 查看 history 调用命令1 !+数字 调用命令2 !vi 最后一条以v
需要在公众号设置网页授权域名,否则会报错 报错:当前页面url未注册 在商户平台-----产品中心--开发配置--公众号支付---添加支付授权目录 域名/example/
统一下单 必填参数 https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1 下单成功后使用异步回调修改订单状态 扫描支付页面(修改) $input->SetNotify_url("http://www.wangmingchang.com/example/notify.php") 在logs中
mvc思想 view层 home.wxml model层 home.model.js controller层 home.js 数据的加载与绑定 home模型的model层 class Home{ //构造函数 constructor(){ } getBannerDate(id,callBack){ wx.request({ url:'http://www.c
在application/extra下的配置文件都会被tp5自动加载 新建setting.php return[ 'img_prefix'=>'http://wmc.com/images' ] 使用模型的获取器拼接图片路径 tp5中只有public是公开的 public/images/1,jpg config('配置文件.配置名称'); $a = confi
设置带版本号的路由 Route::get('api/v1/banner/:id','api/v1.banner/getBanner'); 1.tp5原生sql use think\Db; Db::query("select * from user where id=?",[$id]); 2.查询构建器 Db::table('user')->where('id
https://pan.lanzou.com/i0sjfzc
https://pan.lanzou.com/i0sjg9c
想学习如何开发微信小程序跟运维的朋友可以下载这套教程学习啦,来某宝搞来的,里面还附带有源码,很全教程+源码,看完这全部教程,你肯定会开发微信小程序了! 网盘链接: https://pan.baidu.com/s/1xukEBBlLF04O1sfOi71pIw 密码: 5kpy
附上一份教程 软件下载地址:https://pan.lanzou.com/i0spuib 教程下载地址:https://pan.baidu.com/s/14-k1vxh7vVGIeYeKkL_oiw
情商低的可以听听 网盘:https://pan.baidu.com/s/1J2UGTqkotzFP_uu_CjOTQA 密码: 94bn