摘要:
1.下载镜像: sudo docker pull 镜像名 2.32位的ubuntu中安装64位的docker镜像会报错 ”Error response from daemon: rpc error: code = 2 desc = "oci runtime error: exec format er 阅读全文
摘要:
1.创建版本库: git init 设置用户: git config --global user.email "you@example.com" 2.添加到仓库(将修改的内容提交到"暂存区"中) git add 1.txt 3.提交到仓库(将“暂存区”中的内容提交到当前分支上) git commit 阅读全文
摘要:
1.docker里的ubuntu不知道密码,更新密码 sudo passwd 2.解压zip文件 unzip xx.zip 3.安装LAMP (1)sudo apt-get install apache2 (2)apt-get install php libapache2-mod-php (3)ap 阅读全文
摘要:
1.源下载地址:http://mirrors.aliyun.com/ubuntu-releases/ ubuntu-16.04-server-amd64.iso 2.在虚拟机上安装完后 (1)查看IP地址:ifconfig (2)SercureCRT上连接,提示“The remote system 阅读全文
摘要:
1.导出数据库 mysqldump -u root -p vcloud>owncloud9_1.sql 2.从docker容器中移出 scp owncloud9_1.sql vcmy@192.168.31.27:~ 然后输入密码。 3.移动到指定目录 mv owncloud9_1.sql /ownc 阅读全文
摘要:
1.swiper插件使用 首页图片滚动插件。 (1)下载:bower install swiper (2)使用:参考中文官网(http://www.swiper.com.cn/usage/index.html) 阅读全文
摘要:
1.phpstrom中安装emmet File=>Settings=>Plugins=>右侧搜索框搜索“emmet”=》点击下方中间按钮“Browse repositories”=>双击安装 作用:快速生成代码 在html文件时输入: ul.test#testul>li.testli*5>a*2再按 阅读全文
摘要:
select id from oc_groups where FIND_IN_SET(id, getChildLst(23)); select id from oc_groups where FIND_IN_SET(id, getChildLst(9)) CREATE FUNCTION `getCh 阅读全文
摘要:
$condition = array($pk=>array('in',explode(',',$id)));//???$this->model->where($condition)->delete() //DELETE FROM `user` WHERE `id` IN... 阅读全文
摘要:
http://www.cnblogs.com/ahthw/p/4841405.html,在这里面: function compare(num1, num2){ return num1 - num2; } var nums = [3,1,2,100,4,200] nu... 阅读全文