上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 71 下一页

2018年11月30日

摘要: PHP获取当前类名、方法名 __CLASS__ 获取当前类名 __FUNCTION__ 当前函数名(confirm) __METHOD__ 当前方法名 (bankcard::confirm) __FUNCTION__ 函数名称(PHP 4.3.0 新加)。自 PHP 5 起本常量返回该函数被定义时的 阅读全文
posted @ 2018-11-30 09:12 刘应杰 阅读(1859) 评论(0) 推荐(0)

2018年11月29日

摘要: 听语音 | 浏览:2831 | 更新:2017-03-01 13:06 听语音 | 浏览:2831 | 更新:2017-03-01 13:06 1 2 3 4 5 6 7 分步阅读 1 2 3 4 5 6 7 1 2 3 4 5 6 7 在UML类图中,常见的有以下几种关系: 泛化(Generali 阅读全文
posted @ 2018-11-29 15:27 刘应杰 阅读(484) 评论(0) 推荐(0)

2018年11月28日

摘要: 为了方便快速复制一个数据库,可以用以下命令将db1数据库的数据以及表结构复制到newdb数据库 创建新的数据库 复制数据库,使用mysqldump及mysql的命令组合,一次性完成复制 注意-p123456参数的写法:-p后面直接跟密码,中间没有空格) 以上是在同一台MySQL服务器上复制数据库的方 阅读全文
posted @ 2018-11-28 01:29 刘应杰 阅读(232) 评论(0) 推荐(0)
摘要: 第一步、定义数据库链接 config/database.php <?php return [ 'default' => 'mysql', 'connections' => [ # 主要数据库连接 'mysql' => [ 'driver' => 'mysql', 'host' => 'host1', 阅读全文
posted @ 2018-11-28 00:41 刘应杰 阅读(713) 评论(0) 推荐(0)

2018年11月18日

摘要: By: Povilas Korop Laravel is an MVC framework with its own folder structure, but sometimes we want to use something external which doesn’t follow the 阅读全文
posted @ 2018-11-18 20:59 刘应杰 阅读(268) 评论(0) 推荐(0)

2018年11月16日

摘要: last updated November 3, 2018 in CategoriesLinux, Mac OS X, UNIX How do I access my enterprise NAS server by mounting NFS filesystem onto my Mac OS X 阅读全文
posted @ 2018-11-16 21:13 刘应杰 阅读(1467) 评论(0) 推荐(0)

2018年11月9日

摘要: 正如标题所言,其实这两个都可以让虚拟机上网,但是还是有些差别的。 选择NAT的话, 虚拟机之间无法PING通 虚拟机可以PING通主机 主机无法PING通虚拟机 这是因为虚拟机不能在网络里拥有自己的IP,它是借助主机才能上网。 选择桥接的话, 虚拟机之间可以PING通 虚拟机可以PING通主机 主机 阅读全文
posted @ 2018-11-09 23:52 刘应杰 阅读(233) 评论(0) 推荐(0)

2018年10月31日

摘要: $ sudo dhclient -r //release ip 释放IP$ sudo dhclient //获取IPNow obtain fresh IP:$ sudo dhclientThere is no need to restart network service. Above comman 阅读全文
posted @ 2018-10-31 13:00 刘应杰 阅读(562) 评论(0) 推荐(0)

2018年10月27日

摘要: This article describes how to Disable or Enable an IP forwarding in Linux. Current IP forwarding status Read a current state of IP forwarding: Current 阅读全文
posted @ 2018-10-27 08:28 刘应杰 阅读(847) 评论(0) 推荐(0)

2018年10月20日

摘要: 1. Introduction autofs is a program for automatically mounting directories on an as-needed basis. Auto-mounts are mounted only as they are accessed, a 阅读全文
posted @ 2018-10-20 10:35 刘应杰 阅读(423) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 71 下一页

导航