
Linux相关
文章平均质量分 56
iteye_494
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux_常用命令小总结
netstat -ntpa|grep 8001tomcat 过多的时候,知道端口可以使用下面的命令快速查找进程cp -r xxx/ xxx/ 才不会报错。for i in `ls` ;do tar xvf $i ;done 解压目录下所有的tar包tar -cvf/ll/ll.tar /ll 打包/bin/cp /***/...原创 2012-08-27 10:27:58 · 157 阅读 · 0 评论 -
Linux centos6.3 安装postgres9.2.4 postgis2.0.3
1. 安装postgres + postgis:[pgsql安装]tar xvzf postgresql-9.2.4.tar.gzcd postgresql-9.2.4#./configure --prefix=/mapbar/app/pgsqlmakemake installgroupadd postgresuseradd postgr...原创 2014-11-03 16:35:06 · 582 阅读 · 0 评论 -
Linux 自动打包非当前日期的tomcat日志到备份目录下
需要 gzip 命令支持: #!/bin/shtomcat_backup_dir="/打包备份目录"tomcat_dir_list=$(ps -ef | grep -oP '(?<=-Dcatalina\.base=)[^\s]*')#netty_dir_list=$(ps -ef | grep com.mapbar.mserver.netty \#net...原创 2016-11-11 11:06:38 · 396 阅读 · 2 评论 -
Linux mysql 源码安装
1. 安装cmake 先安装cmake(mysql5.5以后是通过cmake来编译的)tar -zxv -f cmake-2.8.4.tar.gzcd cmake-2.8.4./configuremakemake install2. 创建mysql用户组和目录mkdir -p /mapbar/app/mysql mkdir -p /m...原创 2014-05-12 10:03:19 · 104 阅读 · 0 评论 -
Linux 安装nginx
安装ngix依赖的:# tar zxvf pcre-8.12.tar.gz# cd pcre-8.12# ./configure -prefix=/mapbar/app/pcre# make# make install # tar zxvf nginx-0.8.54.tar.gz# cd nginx-0.8.54# ./configure --w...原创 2014-05-12 10:03:09 · 109 阅读 · 0 评论 -
Linux下安装redis
1、安装wget http://redis.googlecode.com/files/redis-2.6.7.tar.gztar zxvf redis-2.6.7.tar.gzcd redis-2.6.7makemake test这样操作完成之后,会在目录中的 src中生成4个可执行文件redis-server:Redis服务器的daemon启动程序...原创 2014-05-10 09:08:03 · 89 阅读 · 0 评论 -
Linux安装的事项
1. 版本:redhat 6.4 64位 测试安装时 只选择开发工具里的 开发包 46 --46 需要/ 3.5g 最少 附加开发 --- 105总数 分区大小规则(不要使用LVM) / 20G /boot 200M /home ...原创 2014-05-10 09:07:54 · 107 阅读 · 0 评论 -
Linux下搭建nexus环境
tar xvzf nexus-oss-webapp-1.8.0.1-bundle.tar.gzcd /mapbar/tomcat/nexus-oss-webapp-1.8.0.1/bin/jsw/linux-x86-64./nexus startvi /mapbar/tomcat/nexus-oss-webapp-1.8.0.1/logs/wrapper.log...原创 2014-05-10 09:07:36 · 103 阅读 · 0 评论 -
Linux下安装mongodb数据库
七。安装mongodbcd /mapbar/app/tar xvf mongodb-linux-x86_64-2.0.3-rc0.tarmkdir mongodb [root@localhost mongodb]# mv mongodb-linux-x86_64-2.0.3-rc0 /mapbar/app/mongodb/cd mongodb[root@local...原创 2014-05-10 09:07:18 · 154 阅读 · 0 评论 -
Linux下安装Postgis数据库
三。部署数据库:都放到 /mapbar/app 下面1. 安装postgres + postgis:[pgsql安装]tar -zxvf postgresql-8.2.23.tar.gzcd postgresql-8.2.23#./configure --prefix=/mapbar/app/pgsqlmakemake install...原创 2014-05-09 14:27:14 · 291 阅读 · 0 评论 -
Linux下安装JDK和Apache
安装版本的Linux为64位: 查看linux的版本是否为64位:getconf LONG_BIT 一。拷贝jdk linux 64 到 /mapbar/tools/ 里面 chmod +x jdk-6u31-linux-x64.bin ./jdk-6u31-linux-x64.bin jdk 已经被安装到:/mapbar/tools/j...原创 2014-05-09 14:27:05 · 204 阅读 · 0 评论 -
linux 服务自启动脚本-run.sh
#!/bin/shcurl=/usr/bin/curltomcat_path=/mapbar/home/tomcatnetty_path=/mapbar/home/tomcat/server-netty$tomcat_path/tomcat6_www_decode/bin/run.sh$tomcat_path/tomcat6_www_search/bin/run.s...原创 2014-05-04 15:36:06 · 1946 阅读 · 0 评论 -
Windows下 apache 和 tomcat的 负载均衡
1. 安装文件:httpd-2.2.25-win32-x86-no_ssl.msitomcat-connectors-1.2.39-windows-i386-httpd-2.2.x.zip(必须是2.2.x 必须和apache对应上)3个 tomcat 72. 修改3个tomcat 的shutdown server ajp3个端口 并能使程序单独启动...原创 2014-11-18 10:12:17 · 130 阅读 · 0 评论