关闭

[置顶] 系统工具安装,配置

4840人阅读 评论(0) 收藏 举报
分类:

RESTful工程搭建
http://www.cnblogs.com/xiongxx/p/6061079.html
grizzly
http://redhacker.iteye.com/blog/1914105

java远程调试
命令行添加-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n package_name.class_name

jconsole
远程查看,命令行添加
-Dcom.sun.management.jmxremote.port=60001 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
windows无法连接linux,需要配置linux /etc/hosts 127.0.0.1改为本机地址。
需要hostname -i显示本机地址

在IDEA创建maven项目很慢 , 是因为需要添加一个参数 : archetypeCatalog –> internal

grub修复
http://blog.csdn.net/wyzxk888/article/details/5984760

Thunderbird收发exchange邮件
http://www.zhengsiwei.com/how-to-use-thunderbird-exquilla-for-microsoft-exchange-component-is-connected-with-the-exchange/
ExQuilla 31.0 破解
http://blog.ssfighter.com/2015/01/exquilla-31-0-crack/
http://md5jiami.51240.com/
MD5(EX1,i@ssfighter.com,2015-01-18,356B4B5C)=
5253dbb7d2b5a6e152974b2003025ba9

eclipse配置gtest
http://www.ithao123.cn/content-9810558.html
1.下载gtest,https://github.com/smarr/googletest并解压
2.新建gtest_src目录存放gtest文件
3.新建test目录存放测试文件
4.执行./scripts/fuse_gtest_files.py . xxx/gtest拷贝gtest文件
5.test目录下建立测试文件,内容如下

# include "gtest/gtest.h"
# include "factorial.h"

TEST(IntegerFunctionTest, negative) {
        EXPECT_EQ(1, factorial(-5));
        EXPECT_EQ(1, factorial(-1));
        EXPECT_GT(factorial(-10), 0);
}

main函数如下

// gtest_main.cpp
#include <stdio.h>
#include "gtest/gtest.h"

GTEST_API_ int main(int argc, char **argv) {
  printf("Running main() from gtest_main.cc\n");
  testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}

6.在工程unit_test上右键->properties->C++ linker->Library->(-I)->输入“pthread”然后点击“ok”。
7.在test文件夹上右键->Properities->C/C++ Build -> Setting-> Cross G++ Compiler-> includes->Include paths(-I)点击添加按钮->输入“workspace..”以及文件夹 “include”和“gtest_src”的到该路径
8.在文件夹gtest_src上右键->Properities->C/C++ Build->Setting->Cross G++ Compiler->includes->Include paths(-I)。点击“添加”按钮->输入“workspace..”,添加文件夹“gtest_src”到该路径。

gdb调试
1.gdb_plugin解压到根目录
2.注释掉gdb_plugin中gdbinit的register_libstdcxx_printers (None)
3.eclipse调试配置中Debugger中GDB command line设置为/home/fanbin/.gdbinit,勾选Non-stop

eclipse界面主题设置
1.下载Eclipse Color theme插件
2.更改General->Appearance->Theme为Dark
3.更改General->Appearance->Color thema为NightLion

centos7开放端口
firewall-cmd –zone=public –add-port=80/tcp –permanent
firewall-cmd –reload
http://www.centoscn.com/CentOS/help/2015/0208/4667.html

centos配置本地源
[root@helomeyum.repos.d]# vim local.repo (repo后缀)
local_server
name=Thisis a local repo (名称描述)
baseurl=file:///media/dvd(yum源目录,源地址)
enabled=1(是否启用该yum源,0为禁用)
gpgcheck=1 (检查GPG-KEY,0为不检查,1为检查)
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6(gpgcheck=0时无需配置)

ubuntu字体设置

sudo apt-get install ttf-liberation

字体选择

Liberation Sans 9

~/.gtkrc-2.0
style “gtkcompact” {
GtkTreeView::vertical-separator=1
GtkTreeView::horizontal-separator=1
GtkWidget::focus-line-width=1
GtkWidget::focus_padding=0
}
class “GtkWidget” style “gtkcompact”

胜为kvm无法识别键盘

sudo apt-get update

sudo apt-get dist-upgrade

testng 版本问题http://willam2004.iteye.com/blog/932661
解决Debug JDK source 无法查看局部变量的问题方案
http://blog.csdn.net/appleprince88/article/details/21873807

ubuntu安装中文输入法
http://jingyan.baidu.com/article/4b07be3c60da3f48b380f3f0.html
sudo apt-get install fcitx-table-wbpy
ubuntu14.04以root账号登录
http://blog.sina.com.cn/s/blog_8cae15e90101pwq4.html
ubuntu root账号ssh登陆

  1. /root/.profile 文件mesg n修改为tty -s && mesg n
  2. 修改/etc/ssh/sshd_config,注释掉 #PermitRootLogin without-password,添加 PermitRootLogin ye
# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
StrictModes yes

ubuntu安装jdk
http://blog.csdn.net/jiangzeyun/article/details/28266521
如何开启SSH SERVER服务 如何开启SSH SERVER服务
http://jingyan.baidu.com/article/00a07f38a5c05482d128dc5f.html
http://www.cnblogs.com/xiazh/archive/2010/08/13/1798844.html

怎样开启Win7快速启动栏
http://jingyan.baidu.com/article/456c463bbc1d140a583144cf.html

thrift安装指南

http://thrift.apache.org/docs/install/

githttp://www.open-open.com/lib/list/81
http://www.sourcetreeapp.com/

jdk
http://blog.163.com/l1_jun/blog/static/1438638820146142015371/

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:150604次
    • 积分:2091
    • 等级:
    • 排名:第18910名
    • 原创:58篇
    • 转载:9篇
    • 译文:0篇
    • 评论:3条
    文章分类
    最新评论