上一页 1 ··· 214 215 216 217 218 219 220 221 222 ··· 229 下一页
摘要: 命令基本格式:1、从 本地 复制到 远程* 复制文件: * 命令格式: scp local_file remote_username@remote_ip:remote_folder 或者 scp local_file remote_username@remote_ip:remote_file2、从 远程 复制到 本地从 远程 复制到 本地,只要将 从 本地 复制到 远程 的命令 的 后2个参数 调换顺序 即可; 阅读全文
posted @ 2013-10-10 16:09 一天不进步,就是退步 阅读(891) 评论(0) 推荐(0) 编辑
摘要: 关闭防火墙[root@localhost ~]# service iptables stopiptables: Flushing firewall rules: [ OK ]iptables: Setting chains to policy ACCEPT: filter [ OK ]iptables: Unloading modules: [ OK ]如果此时无法使用scp命令,可以使用以下命令检测是否安装openssh# rpm -qa |grep openssh如果没有出现包含了openssh client,openssh server,及openssh3个公共组件则说明安装不全或者没有 阅读全文
posted @ 2013-10-09 23:27 一天不进步,就是退步 阅读(790) 评论(0) 推荐(0) 编辑
摘要: Install Redis on CentOS 6.4source:http://thoughts.z-dev.org/2013/05/27/install-redis-on-centos-6-4/We’re provisioning production machines today!This means that I’m finding a lot of things that I did previously to make my life easier. We use Redis primarily to temporarily cache data retrieved from Ri 阅读全文
posted @ 2013-10-09 22:32 一天不进步,就是退步 阅读(427) 评论(0) 推荐(1) 编辑
摘要: ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)解决方案:在java_opts="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n address=port"中修改port值。 阅读全文
posted @ 2013-10-09 15:19 一天不进步,就是退步 阅读(5949) 评论(0) 推荐(0) 编辑
摘要: 环境:主机windows xp 虚拟机centos 6.4[root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@localhost /]# /etc/rc.d/init.d/iptables saveiptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ][root@localhost /]# cd /etc[root@localhost etc]# cd init.d[root@localhost init.d]# lsauditd 阅读全文
posted @ 2013-10-08 23:12 一天不进步,就是退步 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: ‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. Recent versions of GNU Grep (>= 2.5.2) provide:‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. So you can do:grep -R --exclude-dir=node_module... 阅读全文
posted @ 2013-10-08 21:57 一天不进步,就是退步 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 原地址:http://www.cnblogs.com/zqwang0929/p/3352237.html在 Linux 操作系统下,几乎所有的软件均通过RPM 进行安装、卸载及管理等操作。RPM 的全称为Redhat Package Manager ,是由Redhat 公司提出的,用于管理Linux 下软件包的软件。Linux 安装时,除了几个核心模块以外,其余几乎所有的模块均通过RPM 完成安装。RPM 有五种操作模式,分别为:安装、卸载、升级、查询和验证。 1)用RPM安装软件包,最简单的命令如下:1 #rpm -i example.rpm 安装 example.rpm 包;2 #rpm 阅读全文
posted @ 2013-10-08 09:19 一天不进步,就是退步 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1.创建目录并设置写权限的操作如下:$mkdir -p /data/db(创建目录和必要的父目录,若父目录不存在则先创建父目录再创建子目录)$ chown -R $usergroup:$user /data/db2. 下载gz文件并解压 $tar zxvf mongodb-linux-i686-xx... 阅读全文
posted @ 2013-10-01 08:19 一天不进步,就是退步 阅读(319) 评论(0) 推荐(0) 编辑
摘要: http://flycars001.iteye.com/blog/1949085YUM到底是啥东东?YUM(Yellowdog Updater Modified)是一款开源命令行及图形化软件包管理工具,面向基于RPM(红帽软件包管理器)的Linux系统。 它让广大用户和系统管理员可以在系统上轻松地安装、更新、移除或搜索软件包。它由Seth Vidal开发和发布,采用了GPL(通用公共许可证),是一款开源工具。这意味着,谁都可以下载和访问代码,以修复软件错误,开发定制的软件包。YUM 通过解决软件包的依赖项问题,使用众多的第三方软件库来自动安装软件包。1. 使用Yum安装软件包想安装一个名为Fi 阅读全文
posted @ 2013-09-30 11:09 一天不进步,就是退步 阅读(1435) 评论(0) 推荐(0) 编辑
摘要: 转载地址:http://blog.163.com/chenhui_java/blog/static/17267249420128101191860/注: 由于长期受转载毒害,所以本人日志均是原创;其中所记载技术都是在项目中经过验证,能够正常运行后才整理出的相关文档。日志中本人会陈述在项目中所遇到的 所有问题及解决方法。由于软件和系统版本影响以及其他环境影响,可能大家所遇到的问题不同,希望朋友们可以将遇到的问题贴出来,一起解决。本日志是整理的使用jk搭建apache和tomcat负载均衡集群,其中并没有涉及到session的复制,请查看日志的朋友留意。我 使用两台服务器搭建集群,ip分别为:19 阅读全文
posted @ 2013-09-28 07:30 一天不进步,就是退步 阅读(452) 评论(0) 推荐(0) 编辑
上一页 1 ··· 214 215 216 217 218 219 220 221 222 ··· 229 下一页