摘要: 你可以通过运行以下命令。1sudoyuminstallepel-release现在可以使用yum命令安装Node.js了。1sudoyuminstallnodejs因为在开发过程中我需要管理节点包,我还要安装新公共管理的软件包管理器,使用以下命令。1sudoyuminstallnpm 阅读全文
posted @ 2015-12-13 16:43 nele 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 今天使用yum安装软件,出现下面的提示:Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileCould not retrieve mirrorlist... 阅读全文
posted @ 2015-12-13 16:11 nele 阅读(933) 评论(0) 推荐(0) 编辑
摘要: 1.修改IP(或者vim vi /etc/sysconfig/network-scripts/ifcfg-eth0)2。连接 crt3.修改主机名用vim 编辑 /etc/sysconfig/network重启即可4.修改映射文件用vim 编辑 /etc/hosts 文件8. 创建文件,文件夹执行命... 阅读全文
posted @ 2015-12-13 15:30 nele 阅读(1599) 评论(0) 推荐(0) 编辑
摘要: http://www.centoscn.com/image-text/install/2013/0819/1374.html 阅读全文
posted @ 2015-12-13 00:26 nele 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1、输入以下命令:ssh-keygen -t rsa2、输入命令ls:产生两个文件:id_rsa id_rsa.pub3、复制id_rsa.pub,并命名为authorized_keycp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys4、执行ssh localho... 阅读全文
posted @ 2015-12-13 00:21 nele 阅读(967) 评论(0) 推荐(0) 编辑
摘要: 开启redis端口,修改防火墙配置文件 vi /etc/sysconfig/iptables加入端口配置 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 6379 -j ACCEPT -A RH-Firewall-... 阅读全文
posted @ 2015-12-12 23:30 nele 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 先看看JS的一个函数JavaScript eval() 函数定义和用法eval() 函数可计算某个字符串,并执行其中的的 JavaScript 代码。语法eval(string)参数 描述string 必需。要计算的字符串,其中含有要计算的 JavaScript 表达式或要执行的语句。返回值通过计算... 阅读全文
posted @ 2015-12-11 16:25 nele 阅读(10341) 评论(0) 推荐(0) 编辑
摘要: 本文介绍获取网络上的图片将其大小尺寸改成自己想要的 /// /// 图片大小裁剪 /// /// /// public byte[] ResizeImage(string filePath) { ... 阅读全文
posted @ 2015-12-11 15:08 nele 阅读(9686) 评论(1) 推荐(0) 编辑
摘要: @model ShanwuWebSite.Areas.COM.Models.BaiduMapModel@{ ViewBag.Title = "百度地图"; Layout = "~/Areas/COM/Views/Shared/_Layout.cshtml";} 阅读全文
posted @ 2015-12-11 14:54 nele 阅读(881) 评论(0) 推荐(0) 编辑
摘要: @model ShanwuWebSite.Areas.COM.Models.POS001Model@using System.Data;@{ ViewBag.Title = "Index"; Layout = "~/Areas/COM/Views/Shared/_Layout.cshtm... 阅读全文
posted @ 2015-12-11 14:52 nele 阅读(569) 评论(0) 推荐(0) 编辑