![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
chunlongyuan
这个作者很懒,什么都没留下…
展开
-
nginx php5 mysql MyAdmin
1.安装核心部分sudo apt-get install nginxsudo apt-get install php5sudo apt-get install php5-cgi php5-cli php5-curl php5-mysql php5-mcrypt php5-common php5-gd php5-ffmpeg php5-fpm2.安装完成后nginx目录大原创 2013-09-04 11:03:58 · 1374 阅读 · 0 评论 -
scp免密
因为安全原因,免密的要慎重首先服务器需要有.ssh,如果没有则创建通过ssh-keygen -t rsa命令会自动创建进入上一步创建的.ssh目录将客户机的id_rsa.pub文件内容拷贝到服务机的.ssh/authorized_keys文件里,每一个客户机单独占一行 被登录机要有登录机的公钥 登录机的id_rsa权限需要是600附拷贝命令cat ~...原创 2018-02-05 11:56:43 · 400 阅读 · 0 评论 -
SonarQube 安装配置
Java需要安装不低于1.8的版本 thanks 下载sonarqube-6.4 下载SonarQube Scanner mysql增加名为sonar的数据库,增加用户sonarqube@sonarqubemysql> CREATE DATABASE sonar;Query OK, 1 row affected (0.00 sec)mysql>原创 2018-02-02 20:58:35 · 1190 阅读 · 0 评论 -
nginx和tomcat公用80端口
感谢http://www.cnblogs.com/Jenny-sider/p/3908254.html原理是使用nginx的反向代理1.在/usr/local/nginx/conf/vhost/里添加tomcats.conf文件,内容如下server { listen 80; server_name cms.kangdoo.com转载 2018-02-06 14:03:43 · 2572 阅读 · 0 评论 -
持续集成
最近在搞持续集成,下面是用到的资料。Android/IOS UI自动化测试工具 https://github.com/appium/appiumappium python api http://blog.csdn.net/bear_w/article/details/50330565appium https://www.cnblogs.com/fnng/p/4540731.htm转载 2018-02-05 11:39:41 · 218 阅读 · 0 评论 -
GPG error The following signatures
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192原创 2018-02-05 11:38:07 · 254 阅读 · 0 评论 -
centos ifconfig not found
修改网卡配置文件,将ONBOOT=no改为ONBOOT=yes[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 修改完成后重启网卡[root@localhost ~]# /etc/init.d/network stop[root@localhost ~]# /etc/init.d/netw转载 2018-02-05 11:25:21 · 227 阅读 · 0 评论 -
ssh 很慢
在server上/etc/ssh/sshd_config文件中修改或加入UseDNS=no原创 2018-02-02 21:04:42 · 216 阅读 · 0 评论 -
Jenkins安装卸载
下载安装去Jenkins官网下载Jenkins,Centos的话会下载到.rpm安装文件安装.rpm文件使用命令rpm -ivh **.rpm安装完成之后使用命令rpm -qc jenkins查看安装位置,如下:[root@iZ25o9lq6f5Z ~]# rpm -qc jenkins/etc/init.d/jenkins/etc/logrotate.d/jenkins原创 2018-02-02 21:03:19 · 15035 阅读 · 2 评论 -
appium 安装及问题介绍
官方推荐的安装方式安装失败,所以这里使用了源码安装,测试成功 需要先安装npm 安装cnpmnpm install -g cnpm --registry=https://registry.npm.taobao.org 下载源代码并安装git clone https://github.com/appium/appium.gitcd appium转载 2018-02-02 20:54:39 · 344 阅读 · 0 评论 -
android ios 自动化测试平台搭建
一直以来都是人工测试,不仅效率低而且容易遗留问题,这段时间我准备搭建一套自动化测试平台,这里讨论的主要是方案。 之前也没搞过,那就先从android自动化测试切入,做一点记录一点了。 环境准备Jenkinscentos 7gradle-3.3android-sdk-linuxsonarqube-6.4sonar-scanner-3.0.3jdk1.8tomcat-8.原创 2018-02-02 20:51:26 · 369 阅读 · 0 评论 -
GitLab服务器搭建
这几天有个同事在搭建GitLab服务器,按照官网的教程搭建好之后clone时总是找不到仓库,各种尝试都不行,最后用下面的方案解决了。sudo yum install curl openssh-server openssh-clients postfix croniesudo service postfix startsudo chkconfig postfix oncurl -sS原创 2018-02-02 20:35:56 · 449 阅读 · 0 评论 -
扫描过期文件脚本
Date: 2015-07-23 Title: 扫描过期文件脚本 Published: true Type: post Excerpt: dsafdafdd 扫描过期文件脚本简述**注意**前提是服务器日志目录以日期命名,扫描文件名,过期的目录删掉如何使用**直接执行脚本即可**代码部分#!/bin/bash ####################################原创 2015-07-23 18:27:14 · 589 阅读 · 0 评论 -
python连接mysql
python如何连接mysql主要使用了MySQLdb代码部分#!/usr/bin/python# coding=utf-8__author__ = 'chunlongyuan'import MySQLdbimport urllib2import timehost = "localhost"user = "root"password = "root"db = "test_db"page原创 2015-07-23 19:09:09 · 639 阅读 · 0 评论 -
centos 挂载移动硬盘
centos挂载硬盘转载 2015-08-07 18:02:37 · 2150 阅读 · 0 评论 -
xdebug配置Mac
xdebug原创 2015-08-07 18:23:53 · 911 阅读 · 0 评论 -
Centos 6x安装sys-log
转自:原文链接[root@centos ~]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm--2015-06-05 22:24:35-- http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarc转载 2015-06-05 22:34:40 · 966 阅读 · 0 评论 -
zookeeper无法启动 KeeperErrorCode = NoNode for
KeeperErrorCode = NoNode for查看zookeeper配置文件,得到dataDir的地址[root@iZ25o9lq6f5Z ~]# cd /usr/local/zookeeper-3.3.6/[root@iZ25o9lq6f5Z zookeeper-3.3.6]# cat conf/zoo.cfg # The number of millisecond...原创 2018-02-05 11:55:19 · 6238 阅读 · 2 评论