由买买提看人间百态

topics

全部话题 - 话题: sudo
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
a****9
发帖数: 418
1
来自主题: Linux版 - ubuntu10.10 cups升级出问题
现在情况:
> sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to
correct the problem.
> sudo dpkg --configure -a
dpkg: error processing cups (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
cups
> sudo apt-get install --reinstall cups
无法progress,停在那里不动了
有人碰到这个问题么
l*******G
发帖数: 1191
2
来自主题: Linux版 - 如何重新控制一个进程
Screen help:
http://www.rackaid.com/resources/linux-screen-tutorial-and-how-
http://news.softpedia.com/news/GNU-Screen-Tutorial-44274.shtml
GNU Screen is a free terminal multiplexer that allows console users to run
any number of text-based applications, interactive command shells, curses-
based applications, text editors etc, within a single terminal. Similar to
VNC, screen enables you to start applications from one computer, reconnect
from another computer and continue using the same applicatio... 阅读全帖
x*********s
发帖数: 5554
3
来自主题: Linux版 - 问一个白痴安装问题
话说为了接光驱,把本来接/dev/sda装windows的硬盘拔了,接上光驱,安装centos,
拔掉光驱,接上装有windows的硬盘。
然后直接起动,进入一个只有centos信息的grub。如果改变启动磁盘顺序,还能进入一
个有以前windows+ubuntu信息的grub。
我想将两个grub合并,但总是失败,下面分别贴两个grub.cfg的信息和磁盘信息,看看
有没有大侠帮帮忙,看看怎么能把windows+ubuntu的grub信息写到centos的grub里面去:
###########################
sudo cat /boot/grub/grub.cfg
menuentry 'Ubuntu, with Linux 2.6.32-33-generic' --class ubuntu --class gnu-
linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --... 阅读全帖
G*****h
发帖数: 33134
4
来自主题: Linux版 - 为毛 Ubuntu 不能 hibernate?
居然是故意 disable 了。。。
你们都没发现?
http://www.upubuntu.com/2012/04/how-to-bring-back-missing-hiber
sudo add-apt-repository ppa:upubuntu-com/system
sudo apt-get update
sudo apt-get install hib-precise
When the installation is complete, reboot your system:
sudo reboot
y**b
发帖数: 10166
x**l
发帖数: 64
6
来自主题: Programming版 - 请教:属于google不到答案的问题

FT,还是错的。请接着改。
---我改为两个lfence夹一个rdtsc,如果你还觉得不正确,麻烦你明示你认为正确的办法.
+++++++++++++
请问你是在 Intel 工作吗?你能用 Intel 内部结构去
推断 CPU 的行为而忽视 Intel 手册。
如果你对 1000 cycle 的误差感兴趣,
为什么你不按照 Intel 建议的方式使用 rdtsc 和 rdtscp?
----我始终不认为这1000个cycle是由于rdtscp/rdtsc造成的,道理很简单,最终计算的
是两次clock值的difference,而不是绝对值,在一个working()和gap()交替执行的循环
中,不管out-of-order execution怎么跳,rdtsc测测了误差都不会造成一种是working()
的时间是
1100左右, 1100左右, 1100左右,1100左右,1100左右,...
另一种是
2500左右, 2500左右, 2500左右, 2500左右, 2500左右, ....
++++++++++++++++++++++++++++++++++++
你前面根本没有给... 阅读全帖

发帖数: 1
7
有谁在ubuntu上成功安装过xband?
https://www.youtube.com/watch?v=dixb0lrwx0k上只要预装
#---------------requirements------------------------------------
sudo apt-get install rasmol
sudo apt-get install tclx
sudo apt-get install xterm
sudo apt-get install gnuplot
而官方网页上要求
http://ebert.cup.uni-muenchen.de/index.php?option=com_content&view=article&id=10&catid=4&Itemid=7&lang=en
requirements
standard tools:
xmgrace
rasmol
gnuplot
dataexplorer
tcl-manual
fortran 95 compatible compiler (e.g. intel fortran compiler)
ex... 阅读全帖
a*****s
发帖数: 2663
8
来自主题: HiFi版 - DLNA server还是挺简单的。
最近一直在玩onyx 400f,和ableton live。x-z9跳回来在那里被冷落了不少天,只是
偶尔放放cd。瞟了一眼x-z9的manual,我这个老土第一次听说DLNA,很陌生,所以那个
network option也没去试。今天终于从storage翻出来长点的网线把x-z9连上了router
。然后就开始狗这个DLNA,暂时不想折腾xp或者vista,就拿ubuntu开刀了(
opensolaris估计还要等一段时间):
sudo apt-get install ushare
sudo nano /etc/ushare.conf (添加共享目录,enable DLNA)
sudo service ushare restart
在x-z9上network setup选DHCP就可以播放共享目录里面的music啦!
原来就这么简单!internet radio效果也很不错哦。
美中不足的就是不支持ape。嗯,有空要把俺的ape都转成flac!
x****d
发帖数: 1766
9
打了,不灵,问管理员,人家让sudo一下,说提高速度一定要用sudo,su=速 do=度。
啥意思呀?麻烦楼主弄个sudo 版本的吧。拜托了。
x**l
发帖数: 64
10
sample code我放在这个link
https://onedrive.live.com/?cid=96AAD7C8AEF82405&id=96AAD7C8AEF82405!108
用这个命令可以在linux上用gcc 4.4或者更高版本build
g++ -O3 -std=c++0x -march=native -ftemplate-depth-1025 main_inline.cpp -o a_
inline_opt.out
参考启动命令分别是这样的
短时延
sudo numactl --physcpubind=3 --membind=0 ./a_inlin_opt.out 1 0
长时延
sudo numactl --physcpubind=3 --membind=0 ./a_inlin_opt.out 1 2999999999
启动后还需要用 "sudo -f -p [priority] 改变调度策略,然后按任意键继续.
谢谢大家了.
编辑:
SSA指出clock测量方法不准确,虽然最后结果还是类似,但为排除意外,我还是将
onedriver上的sample co... 阅读全帖
l******r
发帖数: 3472
11
来自主题: shopping版 - dropbox自己就可以刷容量
This is what I did:
1) having my referal and unlink dropbox
2) disconnect wireless
3) use sudo ifconfig 2wire43 down sudo ifconfig hw ether 00:00...
sudo ifconfig 2wire43 up
4) connect wirelss
5) use refer link to continue ...
I found that my mac is still the same.
j****8
发帖数: 35
12
用 CD boot Ubuntu,开个terminal,打
sudo fdisk /dev/sda
打 “p” 列出 partition, 打“q”跳出,打“h”出所有命令。
试试其他的,
sudo fdisk /dev/sdb
sudo fdisk /dev/sdc
等等。
先決定 win7 h的盘在,或 ubuntu 盘在,之后便是boot机问题了…
E***e
发帖数: 3430
13
来自主题: Hardware版 - Ubuntu NAS简单方案
装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser
E***e
发帖数: 3430
14
来自主题: Hardware版 - Ubuntu NAS简单方案
装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser
m*********e
发帖数: 37
15
告诉我没有这个文件?太奇怪了,重新下载了几次都不行,换其他linux没有问题。
root@dreamer618:/usr/lib/jvm# ./java_ee_sdk-5_03-linux-nojdk.bin
-bash: ./java_ee_sdk-5_03-linux-nojdk.bin: No such file or directory
加上sudo也不对
root@dreamer618:/usr/lib/jvm# sudo ./java_ee_sdk-5_03-linux-nojdk.bin
sudo: unable to execute ./java_ee_sdk-5_03-linux-nojdk.bin: No such file or
directory
高手们指教了!
c******n
发帖数: 4965
16
来自主题: Java版 - trick to use JMX on EC2
many java applications are written as JMX MBeans
but EC2 presents many problems for JMX
1) normally you have only port 22 open, changing security group is a hassle
if you are just debugging for one shot.
2) the second port used by JMX is determined dynamically, so you don't know
which port to open
3) JMX is going to figure out the *internal* ip of EC2 and let your JMX
client to connect to RMI on that IP, which can not be reached.
so to solve these
1) use ssh tunnel, + iptables on client
2) http:... 阅读全帖
p********y
发帖数: 111
17
发现只能用sudo su, 不管是 sudo su 还是 su
都出现一个"# ",然后Tab键不能用,以前的命令看不到,而且安装软件时很多linux命令
都找不到,到ubuntu论坛一看,原来8.10就是这样设计强迫大家用sudo, 我f***.
各位高手请告诉我如何像以前ubuntu版本那样用root account,谢谢
y****e
发帖数: 19
18
root priority 就是要sudo了吧, 然后 好像么撒变化似的..
ellery@ellery-Ubuntu:~$ sudo chown ellery:ellery *
[sudo] password for ellery:
ellery@ellery-Ubuntu:~$ ls -l /home/ellery/.aMule
total 88
-rw-r--r-- 1 root root 3786 2009-03-07 00:01 amule.conf
-rw-r--r-- 1 root root 5 2009-03-06 05:11 clients.met
-rw-r--r-- 1 root root 5 2009-03-06 23:49 clients.met.BAK
-rw-r--r-- 1 root root 365 2009-03-06 05:08 cryptkey.dat
-rw-r--r-- 1 root root 5 2009-03-06 05:11 emfriends.met
drwxr-xr-x 2 root root 4
y****e
发帖数: 19
19
我的理解是 /.aMule/ 下面还有两个目录 分别是 Temp 和 Incoming 的权限
不对.
然后按照之前的做法弄一下就是这样了 ..
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule
chown: cannot access `/.aMule': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule/
chown: cannot access `/.aMule/': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ sudo chown ellery:ellery /.aMule/
chown: cannot access `/.aMule/': No such file or directory
ellery@ellery-Ubuntu:~/.aMule$ cd ~/.aMul
T****i
发帖数: 191
20
来自主题: Linux版 - 卸载texmaker的问题
装了一个texmaker用的不爽想换kile,我就用
sudo apt-get remove --purge texmaker
sudo apt-get autoremove
sudo apt-get autoclean
应该是卸载了吧,可是怎么感觉硬盘空间没有增加多少呢,好像texmaker挺大的吧。。
m*********g
发帖数: 273
21
来自主题: Linux版 - Virtual host的问题
Here is a brief introduction I wrote sometime ago. Should be helpful.
I am running debian/sid on my old laptops. Since virtualbox is not
officially available for Debian Etch, this instruction is debian/testing or
debian/sid only.
Step 1 Install VirtualBox
Need to install VirtualBox Open Source Edition(virtualbox-ose).
$ sudo apt-get install virtualbox-ose virtualbox-ose-sources module-
assistant
$ sudo module-assistant prepare virtualbox-ose
$ sudo module-assistant auto-install virtualbox-ose
Th
A*******i
发帖数: 75
22
来自主题: Linux版 - 安装Gnuplot和GMV的问题
我是用virtualbox装的ubuntu,新手上路才两天
主要针对计算的,所以想装个Gnuplot
下载了压缩包,解压,然后按照顺序
sudo ./configure --prefix=/usr/local/gnuplot
sudo make
sudo make install
到make都一切正常
make install最后时候出现问题,提示说没法拷贝一个gnuplot.info文件到/usr/local
/gnuplot/info文件夹
不过我在/usr/local/gnuplot/bin下找到了执行文件gnuplot
执行gnuplot,进去以后用plot命令画一个简单的文件,可是没有任何图形返回
是不是我还要装一些其它的软件?
另外我还想装一个GMV也是画图的
在网站上下载了
LINUX OpenGL version
提示说
The linuxogl version will dynamially link with OpenGL shared libraries.
Add the library path to LD_LIBRARY_PATH.
The f
J********a
发帖数: 5208
23
copy the file somewhere, e.g. /usr/share/fonts/ttf
enter the dir
sudo mkfontscale
sudo mkfontdir
sudo fc-cache
m********o
发帖数: 129
24
$ sudo apt-get install im-switch fcitx
$ sudo im-switch -s fcitx -z default
$ im-switch -s fcitx -z default
$ sudo gedit /usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
修改
"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:th:zh"

"/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so"
"xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:th:zh"
重启x
如果fcitx字体不正确,打开gedit,选择gb10830打开~/.fcitx/config,修改相应配置

to
the
n******r
发帖数: 718
25
来自主题: Linux版 - ubuntu用着用着就没声音了。
maybe this will work for you:
1. Open a terminal.
2. Type: "sudo /etc/init.d/alsa-utils stop" and press Enter.
3. Type: "sudo alsa force-reload" and press Enter.
4. Type: "sudo /etc/init.d/alsa-utils start" and press Enter.
x****u
发帖数: 44466
26
来自主题: Linux版 - 给不能用chrome的同学
你要是不sudo安装,它会不会自己sudo?

sudo
i*****e
发帖数: 1359
27
如果你用gnome
sudo apt-get install ubuntu-desktop
如果你用kde
sudo apt-get remove kubuntu-desktop
如果你用xfce
sudo apt-get remove xubuntu-desktop
f***8
发帖数: 641
28
读readme了~~~
1、我就按照readme,首先sudo apt-get install python-gtk2
然后把python-gst0.10、python-gobject、graphviz也都sudo apt-get install上,最
后的一个xdot python interactive dot viewer (sudo easy_install xdot)我不会用
easy_install我就没管它。。。
2、我cd到~/gst-gengui里面去,然后./setup.sh,terminal说Detected python2.6,
installing to /usr/local/lib/python2.6/dist-packages/gstgengui,于是我就cd到
这个文件夹里面,然后在terminal里面运行 python gstmanager.py。
这时报错:
Traceback (most recent call last):
File "gstmanager.py", line 10, in
import gobjec... 阅读全帖
s*******n
发帖数: 730
29
来自主题: Linux版 - Ubuntu 10.10无线网问题
802.11n+intel网卡吧
sudo mv /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf /etc/modprobe.d/
intel-5300-iwlagn-disable11n.conf.bak
sudo rmmod -f iwlagn
sudo modprobe iwlagn
或者换成802.11g
S*A
发帖数: 7142
30
That is wrong, here is what I get:
$ chkconfig --list | grep ssh
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
In any case. If you don't have ssh and want to enable that:
sudo yum install -y openssh-server
sudo chkconfig sshd on
sudo service sshd start
That should do it.
n******7
发帖数: 12463
31
来自主题: Linux版 - 完了,server要被我搞崩了
centos5
手动升级libz.so.1.2.3 to libz.so.1.2.5
rm了/usr/lib64/ 的两个 soft links: libz.so, libz.so.1
结果我是sudo这样做的,想创建新的link的时候不能再sudo了。。
连建立新的ssh connection都不能了,需要libz.so.1 。。。
我不是root,要变成root也得先sudo su -
这下傻眼了。。
N**********d
发帖数: 9292
32
来自主题: Linux版 - git真是耗内存啊。。。
$ sudo swap on
sudo: swap: command not found
这是啥概念?要装软件?
$ sudo swapon -a
swapon: /dev/sda2: read swap header failed: 无效的参数
c******n
发帖数: 4965
33
来自主题: Linux版 - how to do this iptables setup?
just run this on your linux box,
################################
# following is yahoo.com address
EXTERNAL_BOX_IP=67.195.160.76
PORT=10000
sudo iptables -t nat -F
sudo iptables -t nat -A OUTPUT -d $EXTERNAL_BOX_IP -p tcp --dport $PORT -j
DNAT --to-destination 127.0.0.1
sudo iptables -t nat -A POSTROUTING -p tcp --dport $PORT -j MASQUERADE
###############################
then do nc -l 10000
as a fake server
then do nc 67.195.160.76 10000
and type a bunch of characters
you will see that the... 阅读全帖
c******n
发帖数: 4965
34
来自主题: Linux版 - trick to use JMX on EC2 (转载)
【 以下文字转载自 Java 讨论区 】
发信人: creation (努力自由泳50m/45sec !), 信区: Java
标 题: trick to use JMX on EC2
发信站: BBS 未名空间站 (Fri Sep 16 01:46:21 2011, 美东)
many java applications are written as JMX MBeans
but EC2 presents many problems for JMX
1) normally you have only port 22 open, changing security group is a hassle
if you are just debugging for one shot.
2) the second port used by JMX is determined dynamically, so you don't know
which port to open
3) JMX is going to figure out the *internal* ip of EC2 and le... 阅读全帖
z****s
发帖数: 192
35
从你的fstab的代码看,你似乎装了ntfs-3g,
这样Linux系统可以读写ntfs分区的数据。
从你加在fstab的那行看,如果你的文件夹/workshop
不是空的,或者不存在,你就无法把你的数据分区
mount到/workshop。
另外你能直接在fstab里用me代替你的uid和gid吗?
【要知道你的uid和gid号可用如下Linux命令查找:
id
或者
id your_user_name
当然your_user_name应该换为你的用户名。】
其实你只要在Debian下,应该可以随便mount你的分区到你
的空文件夹里的。你是不是可以用下面的命令试一试
sudo fdisk -l
先找出你要mount的分区,然后
sudo mount -t ntfs-3g /dev/sdax /my_empty_dir
或者干脆
sudo mount /dev/sdax /my_empty_dir
这里sdax中的“x”是你的设备号,如/dev/sda1 /dev/sda2 等等。
这个/dev/sdax应该是你的数据分区所在的设备号。
/my_empty_dir是你事先建好的文件夹... 阅读全帖
K*******n
发帖数: 607
36
来自主题: Linux版 - Fedora 有个疑惑
最近装了个Fedora 22,自己折腾折腾。通常我要是安装包裹都要问我sudo 密码。但是
有个feature是如果你敲的命令没有安装,命令行会自动提示你要不要安装,这个很方
便。
但是我发现这种情况下从来没有问过sudo密码啊?我还属于新手级别,这些安装应该都
是去了root下的/usr 了啊,不要sudo 密码岂不是谁都可以装了?
x**l
发帖数: 64
37
来自主题: Programming版 - 请教:属于google不到答案的问题
sample code我放在这个link
https://onedrive.live.com/?cid=96AAD7C8AEF82405&id=96AAD7C8AEF82405!108
用这个命令可以在linux上用gcc 4.4或者更高版本build
g++ -O3 -std=c++0x -march=native -ftemplate-depth-1025 main_inline.cpp -o a_
inline_opt.out
参考启动命令分别是这样的
短时延
sudo numactl --physcpubind=3 --membind=0 ./a_inlin_opt.out 1 0
长时延
sudo numactl --physcpubind=3 --membind=0 ./a_inlin_opt.out 1 2999999999
启动后还需要用 "sudo -f -p [priority] 改变调度策略,然后按任意键继续.
谢谢大家了.
h*****a
发帖数: 1992
38
来自主题: Unix版 - Solaris 8 Companion CD 安装问题
最近老板不知道从哪里搞来一台古董SUN Ultra 10 Workstation,叫我给他装机。偶是菜
鸟, 装Solaris 8 Companion CD (就是里面有gnu gcc, wget, sudo等等工具的那个碟
)出问题了。明明在安装的时候选了wget, sudo的,但是装完了以后怎么也找不到wget和
sudo的命令在哪里。gcc反而找的到,在/opt/bin下面。
哪位大虾知道是怎么回事啊? 谢过了先 //bow
e*i
发帖数: 10288
39
来自主题: CellularPlan版 - Freedompop:使用linphone打SIP电话
我来总结一下吧。 Credit to everseen @ mitbbs.com
1 用 $5 的 Raspberry Pi 0 W 配合没有图形界面的 raspbian 即可,MicroSD 卡只要
2GB 即可。
2 sudo apt-get install linphone
sudo apt-get install alsa-utils alsa-oss
sudo modprobe snd-dummy
3 写一个 script,命名为 jzer,内容大致如下: (FP 是个鸡贼公司,我们要比它更
鸡贼,因此文件名为 jzer)
linphonecsh init
sleep 2
linphonecsh register --username account01 --host fp.layered.net --password
password01
sleep 5
linphonecsh dial "sip:[email protected]"
sleep 10
linphonecsh hangup
linphonecsh register --username a... 阅读全帖
d********g
发帖数: 10550
40
来自主题: _voip版 - [Help] install asterisk from core.
$ which gcc
看下gcc在哪里,没有的话装(我一般喜欢装g++,顺便就把gcc装了)
$ sudo apt-get update; sudo apt-get upgrade; sudo apt-get install g++
gcc一般在/usr/bin/,所以不大可能是$PATH没设好
p*********w
发帖数: 23432
41
来自主题: ChinaNews版 - 把CNNIC的假证书扫地出门zz
把CNNIC的假证书扫地出门zz
by GFW BLOG 功夫网与翻墙
来源:http://www.librehat.info/04/wipe-out_cnnic-ca/
为什么要将CNNIC扫地出门,事情真的有这么严重?
网上传输的任何信息都有可能被恶意截获。尽管如此,我们仍然在网上保存着很多重要
的资料,比如私人邮件、银行交易。这是因为,有一个叫着 SSL/TLS/HTTPS 的东西在
保障我们的信息安全,它将我们和网站服务器的通信加密起来。
如果网站觉得它的用户资料很敏感,打算使用 SSL/TLS/HTTPS 加密,必须先向有 CA (
Certificate Authority) 权限的公司/组织申请一个证书。有 CA 权限的公司/组织都
是经过全球审核,值得信赖的。
发生了什么事
最近,CNNIC——对,就是那个臭名昭著的利用系统漏洞发布流氓软件的、就是那个使
劲忽悠 CN 域名又突然停止域名解析的 CNNIC (中国互联网络信息中心),它——偷偷
地获得了 CA 权限!在所有中文用户被隐瞒的情况下!
意味着什么
意味着 CNNIC 可以随意造一个假的证书给任何网站,替换网站... 阅读全帖
m*t
发帖数: 7490
42
来自主题: Military版 - 坑爹的GFW,无法用google
转:
谷歌打不开 google打不开,与中国大陆封杀有关,但是主要是因为最近google服务器
在全球范围内重新进行了布局调整。
解决办法是只要修改用户本地计算机hosts文件就可以了。
一、Windows系统修改hosts文件的方法
windows系统hosts文件在本地电脑C盘,路径是:C:WindowsSystem32driversetc
用记事本txt文件打开hosts文件。
(如果提示没有管理权限的话,可把hosts文件复制,粘贴到电脑的桌面。在电脑桌面
上双击hosts文件,用记事本打开,添加代码修改,保存,再把桌面上这个hosts文件复
制,粘贴到C:WindowsSystem32Driversetc 文件夹里,电脑提示“是否替换”,点击“
是”,替换原来的hosts文件。)
(如果没找到hosts文件,可在本帖末尾下载一个新hosts,复制到C:
WindowsSystem32Driversetc 文件夹里。)
在hosts文件中把鼠标光标移到最下面那行代码末尾,回车换行,再添加进如下代码(
代码前面不加 # ):
203.208.46.176 0-focus-open... 阅读全帖
f***e
发帖数: 5443
43
来自主题: Military版 - 15分钟实现透明计算
http://bbs.sjtu.edu.cn/bbstcon,board,joke,reid,1422420197.html
张教授的透明计算想必大家(“技术人员”)也都观摩了,没观摩的就可以现在观摩:
张教授这种想法,实在是利国利民的好想法,可惜知识产权归中南大学、清华大学透明
计算实验室所有,我们怎么能够享受这种伟大的成果呢。
1.服务端的架设:
1) 张教授采用至强处理器,经我测试i3就可以跑啊,只要内存大点就行。
20年才能完成的技术,服务端的架设一定很高深的。所以大家要有心理准备,我这
里选用自主知识产权的国产Ubuntu操作系统来运行:
apt-get install guacamole-tomcat
apt-get install libvncserver-dev
服务端的架设到此结束。
2) 我们需要配置一下,执行:
#ln -s /var/lib/guacamole/guacamole.war /var/lib/tomcat6/webapps
这条命令其实上面的软件帮你搞好了
#mkdir /usr/share/tomcat... 阅读全帖
d*******o
发帖数: 5897
44
【 以下文字转载自 PDA 讨论区 】
发信人: DASON (DASON), 信区: PDA
标 题: TouchPad上镜像版Ubuntu免设置安装指南与中文显示+云输入法
关键字: TouchPad Ubuntu Chinese Gesture
发信站: BBS 未名空间站 (Thu Sep 8 01:41:52 2011, 美东)
更好的格式排版和图片/视频在:
http://bbs.zoopda.com/thread-79690-1-1.html
-------
前言
http://bbs.zoopda.com/data/attachment/forum/201109/08/132237hys
gjhyz.png.thumb.jpg
在TouchPad上卡片式运行的Ubuntu将带给你一个完整的操作系统,带有图形窗口界面,
LibreOffice可以媲美完全版的Microsoft Office,秒杀TP自带的QuickOffice甚至iPad
上所有的Office工具。当然也不能少了谷歌Chrome浏览器。你还可以在剩余空间安装其
他东西,比如vim编辑器等等。
你想尝试... 阅读全帖
F***Q
发帖数: 6599
45

first, make a bootable Linux (Ubuntu) flash drive using this tool
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-wi
turn off your computer, connect both your HDs, boot the linux from usb, then
open a terminal, run
sudo gparted
you will see a partition manager GUI, find out which drive is the old one (
say /dev/sda) and which one is the new drive (say /dev/sdb), then open a
terminal, run the following command
sudo dd if /dev/sda of /dev/sdb bs=100M conv=notrunc
this will take a... 阅读全帖
z*********n
发帖数: 94654
46
来自主题: LosAngeles版 - 快速批量制作大量epub的办法
最近总是求人找epub,有人给发来一些网站,书了不多,想看的没几部,准备自己做。
epub看起来比什么pdf, txt, html还是舒服多了,随便阅读器的epub client都能很舒
服地翻页看,不需要一直scroll
有linux的同学不妨学我这个小trick快速批量制作大量epub
第一步,上shuku.net,当然前提是这个网站有你想看的书。本人发现这里的书错别字
最少,排版最舒服,将来转换称epub最爽
找到你要看的输,比如西游记
http://www.shuku.net:8080/novels/xiyouji/xiyouji.html
然后鼠标放在第一回上,地址是
http://www.shuku.net:8080/novels/xiyouji/x001.html
最后一回,地址是
http://www.shuku.net:8080/novels/xiyouji/x100.html
然后
for i in `seq -w 001 100`; do wget http://www.shuku.net:8080/novels/xiyouji/x$i.html; cat x$i... 阅读全帖
e****e
发帖数: 3450
47
来自主题: SanFrancisco版 - 找熟悉用mac 编程的帮忙
我按这个readme来的
Software Requirements
=====================
1. GCC is required to compile most tools.
2. FASTA-Clipping-Histogram tool requires Perl, the "PerlIO::gzip",
"GD::Graph::bars" modules.

Installing the perl modules can be accomplised by running:
$ sudo cpan 'PerlIO::gzip'
$ sudo cpan 'GD::Graph::bars'

3. FASTX-Barcode-Splitter requires the GNU Sed program.

4. FASTQ-Quality-Boxplot and FASTQ-Nucleotides-Distribution requires the
'gnuplot' program.
Installation
=====
s*******n
发帖数: 730
48
windows:
start -> run -> type in 'cmd' click ok->
type in 'ipconfig /release' press enter
type in 'ipconfig /renew' press enter
linux:
sudo dhclient -r
sudo dhclient
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)