Month: October 2014
Ubuntu系统的VPS安装桌面环境-远程登录
1.首先我们要先升级一下软件源给安装桌面环境做准备。 执行命令:apt-get update 2 2.安装桌面环境或窗口管理器: apt-get install xubuntu-desktop 这将为Ubuntu安装XFCE 桌面环境。 3.下面接着来安装XRDP,安装了XRDP之后,我们就可以直接使用windows系统自带的远程桌面工具来连接我们的服务器了。 apt-get install xrdp apt-get install vnc4server tightvncserver 4.我们在root目录下新建一个文件.xsession文件。 内容为: xfce4-session 4.安装完毕以后,执行以下命令 service xrdp restart 5.我们在root目录下新建一个文件.xsession文件。 内容为: xfce4-session
利用scp传输文件
利用scp传输文件 1、从服务器下载文件 scp username@servername:/path/filename /tmp/local_destination 例如scp codinglog@192.168.0.101:/home/kimi/test.txt 把192.168.0.101上的/home/kimi/test.txt 的文件下载到 /tmp/local_destination 2、上传本地文件到服务器 scp /path/local_filename username@servername:/path 例如scp /var/www/test.php codinglog@192.168.0.101:/var/www/ 把本机/var/www/目录下的test.php文件 上传到192.168.0.101这台服务器上的/var/www/目录中 3、从服务器下载整个目录 scp -r username@servername:remote_dir/ /tmp/local_dir 例如:scp -r codinglog@192.168.0.101 /home/kimi/test /tmp/local_dir 4、上传目录到服务器 scp -r /tmp/local_dir username@servername:remote_dir 例如: scp -r test codinglog@192.168.0.101:/var/www/ 把当前目录下的test目录上传到服务器 的/var/www/ 目录 refer:http://blog.csdn.net/ssihc0/article/details/7544573 edit a little bit
service agreement
This Application Service Usage Agreement This application You are welcome to use this application software products free of charge/purchase, we will be dedicated to provide you with more comprehensive, better quality service. This Agreement applies to all software products sold by the Company. Please read the terms of this Agreement carefully before you …
privacy policy
This application privacy policy This application Visitors should read this statement carefully before accepting the application services. Visitors’ access to the App and their use of the App in various ways will be deemed to be an uncontested endorsement of the entire contents of this Statement. 1. Visitors shall act …
ccache修改目录以及提高android源码 编译速度参考
转自:blog.csdn.net/liucheng2009/article/details/7874331 看了embedded android发现这个ccache的使用方式,可以加速我们c与c++的编译速度原理就是中间文件的一个缓存,是同一个.o文件的话就省去再次编译的速度。 p 介于android中c与c++文件数量能占到刚不到一半,所以这个速度还是能省下很多的。 看到原理大概也就是知道这个东西第一次编译是没有效果的,只有开启ccache后编译一次后就会有效果。 使用方式: 添加环境变量: 1.$ export USE_CCACHE=1 #建立缓存目录 2.$ export CCACHE_DIR=~/.ccache 设置缓存大小: 3.$cd android/ 4.$prebuilt/linux-x86/ccache/ccache -M 20G You can watch ccache being used by doing the following: $ watch -n1 -d prebuilt/linux-x86/ccache/ccache -s
android5.0需要jdk1.7—jdk/java版本与Android源码编译中的错误以及update-alternatives –install 最后参数
转自:www.cnblogs.com/rainduck/p/3718227.html m.blog.chinaunix.net/uid-22235894-id-1782002.html android5.0需要jdk1.7- 677 sudo update-alternatives –config javap 678 sudo update-alternatives –config java 679 sudo update-alternatives –config javac 680 sudo update-alternatives –config javaws 681 sudo update-alternatives –config javadoc 682 sudo update-alternatives –config jar 错误一:javap未指向有效的java版本 Traceback (most recent call last): File “../../base/android/jni_generator/jni_generator.py”, line 1065, in <module> sys.exit(main(sys.argv)) File “../../base/android/jni_generator/jni_generator.py”, line …
android5.0需要jdk1.7—jdk/java版本与Android源码编译中的错误以及update-alternatives –install 最后参数 Read More »
电脑开机哔哔哔警告响可能内存条没插好
出现键盘误操作现象。
ubuntu下检测温度应用-Psensor
ubuntu下检测温度应用-Psensor
Linux命令echo -e
-e加上后\起到转义作用,比如\n代表回车 p