`
42087743
  • 浏览: 237820 次
  • 性别: Icon_minigender_1
  • 来自: 合肥&上海
社区版块
存档分类
最新评论
文章列表
1. 卸载mysql sudo yum remove mysql 2. 去除遗留依赖文件 sudo rpm -e --nodeps mysql-libs 3.  安装numa sudo yum install numa 4. 安装libaio sudo yum install libaio.x86_64 libaio-devel.x86_64 5. 安装mysql 5.7 sudo rpm -ivh mysql-community-common-5.7.14-1.el6.x86_64.rpm sudo rpm -ivh mysql-community-libs-5.7.14-1.el6 ...
0) vagrant下载地址: wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.rpm 1) 安装vagrant sudo rpm -ivh vagrant_1.7.4_x86_64.rpm 2) 安装kernel sudo yum install gcc kernel-devel kernel-headers 3) 确保kernel小版本一致,如果不一致需要更新一致并重启机器 sudo rpm -qa | grep kernel sudo yum upgrade kernel reboot 4) ...

svn1.7安装

0) 确认epel已经安装完全 1) Import the Dag Wieers key: rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 2) Install the rpmforge repo: rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm 3) Install Subversion: yum install --enablerepo=rpmforge,rp ...

epel安装

1. epel源下载 wget http://mirrors.hust.edu.cn/epel//5/x86_64/epel-release-5-4.noarch.rpm wget http://mirrors.hust.edu.cn/epel//6/x86_64/epel-release-6-8.noarch.rpm 2. epel源安装 rpm -ivh epel-release-5-4.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm 3. 导入key文件 rpm --import /etc/pki/rpm-gpg/RPM-GPG-KE ...

nfs安装和使用

1. nfs安装 yum install nfs-utils yum install portmap 2. nfs配置 vi /etc/exports /disk1/CIS/shared *(r,sync) 3. 启动nfs,这里启动顺序不能颠倒 /sbin/service rpcbind restart /sbin/service nfs restart 4. 查看共享服务 showmount -e 5. 客户端连接 mount 172.16.95.14:/disk1/CIS/testcase /disk1/CIS/shared 6. 查看客户端连接目录信息 showmount ...

samba安装和使用

1. samba安装 yum install samba rpm -q samba 2. 启动samba /sbin/service smb restart /sbin/service smb status 3. 关闭SELINUX setenforce 0 4. 修改/etc/samba/smb.conf [global] workgroup = CIS-Workgroup netbios name = CIS-Samba server string = CIS-Samba-Server security = share [TestCase] path = /disk ...

linux挂载新磁盘

1. 查看当前系统中的磁盘和分区信息 fdisk -l 2. 进入磁盘的分区管理界面 fdisk /dev/vdd 3. 查看操作指令的帮助信息 m 4. 查看详细分区数据 p 5. 创建分区 n 6. 保存退出 w 7. 格式化磁盘 mkfs -t ext4 /dev/vdd 8. 挂载磁盘 8.1 临时挂载 mount -t ext4 /dev/vdd /disk1 8.2 永久挂载 vi /etc/fstab /dev/vdd /disk1 ext4 defaults 1 2 9. 挂载/etc/fstab中的文件系统 mount -a 10. 查看挂载数据 mo ...
groovy: joblist = hudson.model.Hudson.instance.items.findAll{job -> job.isBuildable()} startServer = "admin computer" startNote = "bulk start" cause = new hudson.model.Cause.RemoteCause(startServer, startNote) joblist.each{run -> run.scheduleBuild(cause)}
修改说明 1. 输入源:键盘设置中,英语选择巴西键盘,中文安装第三方输入法,我使用的是QQ输入法,它也支持键盘布局选择,具体配置参见附件图片 2. 修饰键:键盘设置中,修饰键配置请参见附件 3. 下载karabiner并安装,自定义配置需要通过karabiner实现 4. karabiner配置参考附件图片,共4个remapping 5. private.xml  --> ReloadXML <?xml version="1.0"?> <root> <item> <name>Swap Language</n ...
ntpdate time-a.nist.gov 引用国内常用的NTP服务器 http://www.douban.com/note/171309770/
# wget http://ftp.gnu.org/gnu/parallel/parallel-20101202.tar.bz2 # tar -jxvf parallel-20101202.tar.bz2 # cd parallel-20101202 # ./configure # make && sudo make install
android-maven-plugin升级到3.5.2,maven也必须升级到3.0.3以上 anroid采用maven约定的main/test结构 pom加入anroid-maven-plugin(3.5.2) 在eclipse debug-configuration中增加“Maven Build”,“goals”:clean package android:redeploy android:run -Dandroid.run.debug=true,“Base directory”选择android项目 运行上面的Maven Build DDMS中,devices中对应的设备上需要debu ...
1. android sdk至少需要android 4.1,所以先通过SDK manager更新sdk,我这里使用android4.2 2. eclipse至少需要3.6.2,否则不支持 3. 配置环境变量path,加入java,android sdk tool的路径 4. 通过AVD Manager启动android4.2的虚拟机 5. 在虚拟机上安装需要测试的apk软件(下面的测试用例只测试系统settings,不需要安装额外的软件) 引用adb install <path_to_apk> http://developer.android.com/tools/help/adb.h ...
        When you build a new iPhone or iPad app from scratch, you can generate a new project with tests using Xcode’s project templates, and the test dependency is set up correctly.         However, if you add a unit test target to an existing iOS project, there are some manual steps required to set ...
1. 类模板 引用original path: /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates custom path: /Users/KNET/Library/Developer/Xcode/Templates/File Templates 2. 方法注释 引用在code snippet library中添加user code snippet,并且可以设置shortcut 模板例子 /** * <#description#> * <p> ...
Global site tag (gtag.js) - Google Analytics