摘要:
新系统安装完毕后,首先运行apt-get update 更新apt库。 然后安装ssh,输入apt-get install openssh-server,安装ssh是为了可以远程操作,不然坐在机房实在太冷了。 ok,ssh远程连接成功。 第一步 安装mysql 输入sudo apt-get inst 阅读全文
摘要:
服务器:ubuntu 配置nginx代理有2个文件,分别是sites-enabled 和sites-available。 路径都在/etc/nginx下,sites-enabled为sites-available的软链接(网上教程都说直接在sites-available里配置就行,但我是在sites 阅读全文
摘要:
Apache与PHP的配置 OSX自带了apache和php,但默认情况下没有开启,打开终端 这时在浏览器中输入localhost应该就会出现apache标准的It Works!下面开启php,修改apache配置文件 找到#LoadModule php5_module libexec/apache 阅读全文
摘要:
wampserver2.2c-x64 原因:缺少Visual C++ 2008 Runtimex64,官网地址http://www.microsoft.com/zh-cn/download/details.aspx?id=15336x86,官网地址http://www.microsoft.com/z... 阅读全文
摘要:
1. sudo apt-get install pptpd 2. 修改/etc/pptpd.conf , vi /etc/pptpd.conf 找到#localip 192.168.0.1和#remoteip 192.168.0.234-238,192.168.0.245这两行 把前面的#号去掉,然 阅读全文
摘要:
淘宝网API地址: http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=15850781443参数:tel:手机号码返回:JSON拍拍API地址: http://virtual.paipai.com/extinfo/GetMobilePr... 阅读全文
摘要:
1.根目录输入php artisan migrate2.创建表php artisan migrate:make create_authors_table --table authors --create输入上述代码后app>database>migrations>会出现对应的文件,编辑完成后输入ph... 阅读全文
摘要:
$queries = DB::getQueryLog(); $a = end($queries); $tmp = str_replace('?', '"'.'%s'.'"', $a["query"]); echo vsprintf($tmp, $a['bindings']); exit; 阅读全文
摘要:
故障现象:1. 开机有声音2. 背面logo亮灯3. 键盘背光灯不亮4. 大写锁定键按下不亮5. 屏幕黑屏,无苹果logo解决:重置PRAM后成功开机。1. 关闭 Mac。2. 在键盘上找到以下按键:Command (⌘)、Option、P 和 R。您需要在步骤 4 中同时按住这些键。3. 启动电脑... 阅读全文