
Linux
迷茫的量子
测不准的量子总是那么的迷茫
展开
-
Ubuntu 12.04 成功编译安装 Erlang R16B01
########### 考虑到jinterface可能会用到,所有安装一下jdk库, wxWidgets 就不装了##########sudo apt-get install openjdk-7-*########### Compile & Install #########configure --prefix=/vobs/erl --enable-threads --enable-m原创 2013-08-13 07:37:15 · 625 阅读 · 0 评论 -
解决Xming字体太小的问题
加 -dpi 108即可原创 2014-11-07 17:17:37 · 4198 阅读 · 0 评论 -
Suse Linux Enterprise 12 防火墙开放服务及端口
sudo yast2选择原创 2014-11-07 19:17:32 · 4384 阅读 · 0 评论 -
解决Putty ssh到Linux 太慢的问题
配置 /etc/ssh/sshd_configGSSAPIAuthentication no原创 2014-11-07 17:56:56 · 970 阅读 · 0 评论 -
Suse Linux Enterprise 12下编译protocol buffer并生成python binding
git clone https://github.com/google/protobuf.git原创 2014-11-06 19:57:23 · 1439 阅读 · 0 评论 -
解决Putty下显示Suse Linux Enterprise 12 yast2的乱码问题
乱码问题如下:原创 2014-11-06 11:07:31 · 3330 阅读 · 0 评论 -
解决 linux screen 无法 chdir的问题
在我的.screenrcchdir /home/xxx/binscreen -t bin 0原创 2014-11-16 10:43:04 · 1030 阅读 · 0 评论 -
Suse Linux Enterprise 12 配置 eth0 eth1
用vmware player安装了Suse Linux Enterprise 12一般为了工作需要,会配置双网卡,一个是NAT方式,原创 2014-11-16 13:09:07 · 3491 阅读 · 0 评论 -
SUSE Linux Enterprise 11 SP3 成功编译LLVM + Clang 3.4
基于前面安装成功GCC 4.8.2,安装LLVM+Clang遇到点波折In file included from /vobs/repo/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:54:In file included from /usr/include/sys/原创 2013-12-29 22:30:50 · 3518 阅读 · 0 评论 -
SUSE Linux Enterprise 11 SP3 成功编译安装GCC 4.8.2
################# Download GCC ###########################Download GCC 4.8.2 from http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.2/ (seems quite promising for speed)Supposed to be s原创 2013-12-29 22:23:50 · 8876 阅读 · 0 评论 -
支付宝面试算法题
所谓的对称数如12321,23432等整数,用C语言设计一个算法,输入一个整数,判断其是否对称数算法如下:bool is_wanted(const unsigned p_data) {unsigned data = p_data;unsigned new_data = 0;while(data / 10) {new_data *= 10;new_data += data原创 2013-10-13 07:58:33 · 1728 阅读 · 0 评论 -
Linux下DNS设置解决“ping: unknown host“问题
1. 设置默认路由,编辑/etc/sysconfig/network/routes (没有的话新建一个):192.168.1.1 - - eth02. 编辑/etc/resolv.confsearch localdomainnameserver 210.22.70.225nameserver 210.22.70.33. 编辑/etc/nsswitch.confh原创 2013-10-06 21:47:43 · 2805 阅读 · 0 评论 -
Windows 7配置VMware虚拟机使用无线网络
1. 共享无线网络给VMnet82. 更改VM Network Adapter为Bridged桥接模式3. ipconfig /all4. 修改/etc/sysconfig/network/ifcfg-eth0如下:BOOTPROTO='dhcp'STARTMODE='onboot'5. s原创 2013-10-06 13:45:54 · 1651 阅读 · 0 评论 -
Good .screenrc configuration for linux tool screen
## ~/.screenrc#defshell /bin/bash# not show welcome messagestartup_message off# define Ctrl-Zescape ^Zz# screen bufferdefscrollback 52400## show statushardstatus onhardstatus a原创 2013-09-19 11:23:55 · 1029 阅读 · 0 评论 -
Ubuntu 12.04 成功编译安装 GCC 4.8.1
成功的喜悦总是相似的,失败的原因却有千万种,以下照着做未必成功,但起码是某一个成功案例。。。sudo apt-get install libgmp-devsudo apt-get install libmpfr4 libmpfr-devsudo apt-get install libmpc-dev libmpc2sudo apt-get install g++-multilib原创 2013-08-12 23:32:01 · 1652 阅读 · 0 评论 -
移动硬盘安装Ubuntu 12.04 LTS
下载 Ubuntu 12.04 LTShttp://www.ubuntu.org.cn/download/server使用UltraISO写入硬盘镜像到移动硬盘(注意,整个移动硬盘都会被格式化)使用分区工具分出一个FAT32分区,存放下载的Ubuntu 12.04 LTS的ISO文件,这个在后面起关键作用。开机进入BIOS,选择移动硬盘启动,然后启动。这时候进入Ubuntu安装原创 2013-08-13 22:57:52 · 2749 阅读 · 0 评论 -
SUSE Linux Enterprise 12 自启动 apache2
ln -s /usr/lib/systemd/system/apache2.service /usr/lib/systemd/system/multi-user.target.wants/原创 2015-01-06 16:32:01 · 1273 阅读 · 0 评论