-
[Linux]Linux下安装和配置solr/tomcat/IK分词器 详细实例二.
所属栏目:[Linux] 日期:2021-01-19 热度:140
为了更好的排版,所以将IK分词器的安装重启了一篇博文,?大家可以接上solr的安装一同查看. 8,打开浏览器查看solr可视化界面 9,使用IK分词器 复制IK分词器的jar包到 /tomcat/webapp/solr/WEB-INF/lib(这里是solr/WEB-INF下) 10,配置IK分词器 配置solr家中的sche[详细]
-
Tracert 转
所属栏目:[Linux] 日期:2021-01-18 热度:175
div class="desc" div class="desc_tit"路由跟踪在线Tracert Tracert(跟踪路由)是路由跟踪实用程序,用于确定 IP 数据报访问目标所采取的路径。Tracert 命令用 IP 生存时间 (TTL) 字段和 ICMP 错误消息来确定从一个主机到网络上其他主机的路由。 通过向目[详细]
-
install keepalived on RedHat/CentOS to provide IP failover f
所属栏目:[Linux] 日期:2021-01-18 热度:173
table id="toc" class="toc" tr td div id="toctitle" Contents Keepalived provides a strong and robust health checking for LVS clusters. It implements a framework of health checking on multiple layers for server failover,and VRRPv2 stack to h[详细]
-
转载--CentOS 6.3下部署LVS(NAT)+keepalived实现高性能高可用负
所属栏目:[Linux] 日期:2021-01-18 热度:143
div id="cnblogs_post_body" 源地址:http://www.cnblogs.com/mchina/archive/2012/08/27/2644391.html 一、简介 VS/NAT原理图: 二、 系统环境 三、安装 ~]# wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.26.tar.gz ~]# ln -s /u[详细]
-
转载-centos网络配置(手动设置,自动获取)的2种方法
所属栏目:[Linux] 日期:2021-01-18 热度:153
转载地址:http://blog.51yip.com/linux/1120.html 重新启动网络配置 # /etc/init.d/network restart 不知道为什么最近一段时间网络特别的慢,还老是断,断的时候,局域网都连不上,当我手动设置一下ip后就可以了,搞得我很无语。下面是2种设置网络连接的方[详细]
-
How can I exclude directories from grep -R?
所属栏目:[Linux] 日期:2021-01-18 热度:192
‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. = ) provide: ‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. So you can do: grep[详细]
-
主机访问虚拟机中linux上的web服务
所属栏目:[Linux] 日期:2021-01-18 热度:102
环境:主机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 /][详细]
-
CentOS下安装JDK7 转载
所属栏目:[Linux] 日期:2021-01-18 热度:92
转载地址:http://www.cnblogs.com/rilley/archive/2012/02/02/2335395.html 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html 1. 安装JDK1.7.0下载完成后在取得root权限后执行: [root@sea sea] 执[详细]
-
用于软件包管理的21个Linux YUM命令 转载
所属栏目:[Linux] 日期:2021-01-18 热度:63
http://flycars001.iteye.com/blog/1949085 ol class="dp-xml" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 1px !important; margin-left: 55px; padding: 5px 0px; color: #5c5c5c; border: none; background-color:[详细]
-
centos nfs配置--转载
所属栏目:[Linux] 日期:2021-01-18 热度:133
h2 class="title"http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config.html h2 class="title"18.6.?NFS Server Configuration There are three ways to configure an NFS server under Red Hat Enterprise Linux: using the ( )[详细]
-
Device eth0 does not seem to be present, delaying initializa
所属栏目:[Linux] 日期:2021-01-18 热度:126
昨天在vm里面克隆了个虚拟机,克隆之后,启动了网卡起不来,已启动就报Device eth0 does not seem to be present,delaying initialization.[FAILED]经过各种google,最终要是找到了答案使用克隆后的虚拟机时发现原来在基本系统中的网卡eth0到了新系统却没有[详细]
-
Mount NAS Storage in Linux Overview 转载
所属栏目:[Linux] 日期:2021-01-18 热度:103
h1 class="title"Mount NAS Storage in Linux OverviewMounting your NAS Storage to a device that runs on a Linux-based Operating System can be done using a series of simple commands in the shell or terminal within the OS.? This procedure outl[详细]
-
启动weblogic的错误:Could not obtain an exclusive lock to th
所属栏目:[Linux] 日期:2021-01-18 热度:143
http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址 启动weblogic时报以下错误: 问题的原因: 在 domain/server/ldap/ldapfiles 文件夹下创建了一个名为 embeddedldap.lok 的文件。 如果该文件存在,则服务器不能启动,并将看到下列错误:??[详细]
-
linux下如何修改weblogic console登陆的用户名和密码
所属栏目:[Linux] 日期:2021-01-18 热度:113
1. 执行安装目录下config.sh ./config.sh 2.选择 ?2|Extend an existing WebLogic configuration 3. 别的一路跳过,到修改security,选择yes,即可修改weblogic console登录的用户名和密码。[详细]
-
《高性能网站构建实战》 目录--转
所属栏目:[Linux] 日期:2021-01-18 热度:100
div id="cnblogs_post_body" 《高性能网站构建实战》? 第一篇 架构规划篇? 第1章 网站架构简介 2? 1.1 网站的硬架构 2? 1.1.1 机房的选择 2? 1.1.2 带宽的大小 2? 1.1.3 服务器的划分 3? 1.2 网站的软架构 3? 1.2.1 框架的选择 3? 1.2.2 逻辑的分层 4? 1.3[详细]
-
linux部署多个ssl证书,php https证书
所属栏目:[Linux] 日期:2021-01-17 热度:138
LoadModule?ssl_module?modules/mod_ssl.soListen?443NameVirtualHost?*:443SSLPassPhraseDialog??builtinSSLSessionCache?????????shmcb:/var/cache/mod_ssl/scache(512000)SSLSessionCacheTimeout??300SSLMutex?defaultSSLRandomSeed?startup?file:/dev/ur[详细]
-
linux 查看PHP,mysql,apache安装目录
所属栏目:[Linux] 日期:2021-01-17 热度:159
which?php?#查看php安装目录 which?mysql?#查看mysql安装目录 which?apache?#查看apache安装目录[详细]
-
linux下查看所有用户及所有用户组
所属栏目:[Linux] 日期:2021-01-17 热度:149
groups gliethttp 查看gliethttp用户所在的组,以及组内成员 whoami 查看当前登录用户名 /etc/group文件包含所有组 /etc/shadow和/etc/passwd系统存在的所有用户名 1、/etc/group 解说; /etc/group 文件是用户组的配置文件,内容包括用户和用户组,并且能显[详细]
-
linux如何修改默认SSH端口(centos6)
所属栏目:[Linux] 日期:2021-01-17 热度:140
? vim?/etc/ssh/sshd_config 例如: ?将设的端口加入防火墙 ?vim?/etc/sysconfig/iptables??#加入端口?-A?INPUT?-p?tcp?-m?tcp?--dport?20022?-j?ACCEPT ?重启ssh和防火墙 ?service?sshd?restart??service?iptables?restart 注意:如果你是阿里云服务器请将[详细]
-
CentOS下升级Git1.7.1升级到Git2.2.1
所属栏目:[Linux] 日期:2021-01-17 热度:57
卸载CentOS自带的Git 通过git –-version查看系统带的版本,Cento6.5自带的是git版本是1.7.1 安装前环境配置 下载git2.2.1并将git添加到环境变量中 查看版本号 作者:nummy 链接:https://www.jianshu.com/p/7bdc8c5a92d1 來源:简书[详细]
-
php 7.2 安装 mcrypt 扩展
所属栏目:[Linux] 日期:2021-01-17 热度:184
3. ?tar xf mcrypt-1.0.1.tgz 4.?cd mcrypt-1.0.1 6. ./configure --with-php-config=/usr/local/php/bin/php-config ? make make install #你PHP安装的对应目录[详细]
-
CentOS系统yum源配置修改、yum安装软件包源码包出错解决办法!
所属栏目:[Linux] 日期:2021-01-17 热度:108
yum源配置、CentOS6.5系统yum配置方法: yum安装包时报错: Could?not?retrieve?mirrorlist?http://mirrorlist.repoforge.org/el6/mirrors-rpmforge?error?was 14:?PYCURL?ERROR?7?-? "couldn't?connect?to?host" http://apt.sw.be/redhat/el6/en/x86_64/rpm[详细]
-
linux下shell 解压命令大全
所属栏目:[Linux] 日期:2021-01-17 热度:93
div class="blog_content" id="blog_content" 也就不全,希望大家帮我补充,我将随时修改完善,谢谢! 解包:tar xvf FileName.tar 打包:tar cvf FileName.tar DirName 解压2:gzip -d FileName.gz 压缩:gzip FileName 压缩:tar zcvf FileName.tar.gz Dir[详细]
-
git由https切换到SSH
所属栏目:[Linux] 日期:2021-01-17 热度:195
生成 SSH 公钥 ?目录下。 进入该目录并列出其中内容,你便可以快速确认自己是否已拥有密钥: 我们需要寻找一对以?id_dsa?或?id_rsa?命名的文件,其中一个带有?.pub?扩展名。?.pub?文件是你的公钥,另一个则是私钥。 如果找不到这样的文件(或者根本没有?.ssh[详细]
-
linux centos6 升级gcc
所属栏目:[Linux] 日期:2021-01-17 热度:140
linux centos6 升级gcc 1.下载 repo 到本地 wget?http://people.centos.org/tru/devtools-2/devtools-2.repo?-O?/etc/yum.repos.d/devtools-2.repo 2.安装 yum?install?devtoolset-2-gcc?devtoolset-2-binutils?devtoolset-2-gcc-c++ 3.创建链接 ln?-s?/opt/[详细]