autoDevops,CI,CD
 
0

centos7 Linux安装eclipse

发表者:admin分类:Devops2015-06-20 10:01:23 阅读[2301]
centos7安装eclipseEclipse是一个集成开发环境(IDE),包含一个基工作区和定制环境的可扩展插件系统。大部分使用 Java 编写,Eclipse 可以用来开发应用程序。通过各种插件,Eclipse 也可以用于其他编程语言开发应用程序:Ada、ABAP、C、C++、COBOL、 Fortran、Haskell、 JavaScript、Lasso、Natural、Perl、 PHP、 Prolog、 Python、Ruby、Scala、Clojure、 Groovy、Scheme 和 Erlang。它也可以用来开发Mathematica软件包。开发环境包括 Eclipse Java 开发工具(JDT)支持 Java与Scala,Eclipse CDT C / C + +和Eclipse PDT PHP,等等。安装1、安装javayum install java yum (全称为 Yellow dog Updater, Modified),能够从指定的服务器自动下载gz包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。yum提供了查找、安装、删除某一个、一组甚至全部软件包的命令,而且命令简洁而又好记。yum的命令形式一般是如下:yum [options] [command] [package ...]其中的[options]是可选的,选项包括-h(帮助),-y(当安装过程提示选择全部为"yes"),-q(不显示安装的过程)等等。[command]为所要进行的操作,[package ......
 
0

Centos6 编译升级python2.7

发表者:admin分类:Devops2015-06-19 19:56:56 阅读[2118]
查看python的版本[plain] view plaincopy#python  -V    Python 2.6.6  1.下载Python-2.7.3[plain] view plaincopy#wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2  2.解压[plain] view plaincopy#tar -jxvf Python-2.7.3.tar.bz2  3.更改工作目录[plain] view plaincopy#cd Python-2.7.3  4.安装[plain] view plaincopy#./configure  #make all             #make install  #make clean  #make distclean  5.查看版本信息[plain] view plaincopy#/usr/local/bin/python2.7 -V  6.建立软连接,使系统默认的 python指向 python2.7[plain] view plaincopy#mv /usr/bin/python /usr/bin/python2.6.6  #ln -s /usr/local/bin/python2.7 /usr/bin/python  7.重新检验Python 版本[plain] view plaincopy#python -V  8解决系统 Python 软链接指向 P...
ubuntu 12.04下apache2+tomcat7用proxy_ajp 整合步骤   开始操作前,首先下载需要的安装包。apache2:http://httpd.apache.org/download.cgiapr和apr-util:http://apr.apache.org/tomcat7:http://tomcat.apache.org/download-70.cgijdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html东西准备好了之后开始编译、安装。一、编译aprtar -zxvf apr-1.5.0.tar.gzcd apr-1.5.0./configure --prefix=/usr/local/apr-httpd/makemake install二、编译apr_utiltar -zxvf apr-util-1.5.3.tar.gzcd apr-util-1.5.3./configure --prefix=/usr/local/apr-util-httpd/--with-apr=/usr/local/apr-httpd/makemake install三、编译apache2tar -zxvf httpd-2.2.26.tar.gzcd httpd-2.2.26./configure --prefix=/usr/local/apache2/--with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/--enable-so --enable-mods-shared=most --enable-rewrite=shared --enable-proxy=shared --enable-proxy-ajp=shared --enable-proxy-balancer=shared -...
[root@rac2 ~]# id oracleuid=500(oracle)gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)[root@rac2 ~]# more/proc/sys/vm/hugetlb_shm_group0下面用root执行下面的命令,将dba组添加到系统内核中:[root@rac2 ~]# echo 502>/proc/sys/vm/hugetlb_shm_group--这里的502 是上面的id 命令查看出来的。[root@rac2 ~]# more /proc/sys/vm/hugetlb_shm_group502 但是在服务器重启后,数据库依然不能随系统自动启动,发现还需要通过上面的命令来进行修改才可以,意味则上面命令只是修改了内存空间没有进行记录。要解决这个问题需要修改/etc/sysctl.conf文件 vm.hugetlb_shm_group  = 501
 
0

inux下为php开启oci8扩展

发表者:admin分类:Devops2015-06-18 11:49:09 阅读[2077]
方法/步骤1安装oracle安装包rpm -ivh oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpmrpm -ivh oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpmrpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm说明:1.安装oci8扩展不需要安装完整的oracle客户端,但是要安装三个小的安装包,加起来45m左右,安装包可以去oracle官网获得,网上帖子中常见的oracle安装包版本是11和10的。2.获得这三个安装包后上传到服务器,cd命令切换到保存的目录,用以上命令安装即可。2安装oci8扩展tar zxvf oci8-1.4.1.tgzcd oci8-1.4.1/usr/bin/phpize./configure --with-php-config=/usr/bin/php-config --with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/libmakemake install说明:1.oci8-1.4.1.tgz这个是单独的扩展包,也可以下载完整的php安装包,如php-5.3.28.tar.gz,解压后,cd到ext目录下的oci8目录即可。2.phpize和php-config都不一定在上面的路径中,因为安装lamp环境的方法每个人不尽相同,可以用which命令查找,如which phpize。3.关键点是要保证phpize,php-config,以及oracle的安装路径要正确3修改php.ini可以用find命令找到这个文件,找到类...
 
0

Installing Multicraft on CentOS 7

发表者:admin分类:Devops2015-06-10 16:56:17 阅读[3276]
Installing Multicraft on CentOS 7 Over at Nerdcrafteria we’ve recently moved over our server hosting to two dedicated servers at OVH.  We’d previously been using CentOS 5 as our OS, which is still offered at OVH, but I decided the time was ripe for an upgrade and plumped with the latest and greatest CentOS 7.Not much has changed, apart from MariaDB replacing vanilla MySQL (which has let to a massive performance improvement), and systemd replacing SysV. SystemD was somewhat of a mystery to me at the start, and whilst at the beginning I did slightly resent losing the simplicity of just changing rc.local, the new system is vastly superior and I now find it much more intuitive.Previous tutorials that cover setting up minecraft and multicraft on earlier versions of CentOS are still fine for the most part, but I thought I’d outline the changes to systemd I’d made to set up auto-starting of the multicraft daemon and therefore the minecraft server on box restart.Firstl...
  How to Install Multicraft on Centos 6 64bitThis is the text tutorial of the youtube tutorial series which can be found here: http://www.youtube.com/playlist?list=PL133C2C2E824C65A4Before you start make sure nano is installed by typing this in SSH:Code:yum install nanoAnd disable SELinux:Code:setenforce 0Installing MySQL 5:To install MySQL, we do this:Code:yum install mysql mysql-serverThen we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:Code:chkconfig --levels 235 mysqld on/etc/init.d/mysqld startSet passwords for the MySQL root account:Code:mysql_secure_installationCode:[root@Server8 ~]# mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!In order to log into MySQL to secure it, we'll need the currentpassword for the root user. If you've just installed MySQL, andyou haven't set the root passwo...
您所在的组无权查看该日志
 
0

git - 简易指南

发表者:admin分类:Devops2015-06-02 14:02:19 阅读[2115]
git - 简易指南 助你开始使用 git 的简易指南,木有高深内容,;)。 Tweet 作者:罗杰·杜德勒 安装 下载 git OSX 版 下载 git Windows 版 下载 git Linux 版 创建新仓库 创建新文件夹,打开,然后执行 git init 以创建新的 git 仓库。 检出仓库 执行如下命令以创建一个本地仓库的克隆版本:git clone /path/to/repository 如果是远端服务器上的仓库,你的命令会是这个样子: git clone username@host:/path/to/repository 工作流 你的本地仓库由 git 维护的三棵“树”组成。第一个是你的 工作目录,它持有实际文件;第二个是 缓存区(Index),它像个缓存区域,临时保存你的改动;最后是 HEAD,指向你最近一次提交后的结果。 添加与提交 你可以计划改动(把...
 
0

linux下rsync增量同步文件

发表者:admin分类:Devops2015-05-07 23:16:45 阅读[2063]
您所在的组无权查看该日志
    总共67页,当前第26页 | 页数:
  1. 16
  2. 17
  3. 18
  4. 19
  5. 20
  6. 21
  7. 22
  8. 23
  9. 24
  10. 25
  11. 26
  12. 27
  13. 28
  14. 29
  15. 30
  16. 31
  17. 32
  18. 33
  19. 34
  20. 35
  21. 36