360doc--dzh1121的文章360doc--dzh1121的文章
http://m.ahfyzs.com/rssperson/175261.aspx
360doc (http://m.ahfyzs.com)zh-cn360doc--個(gè)人圖書館FIX: SUDO: PORT: COMMAND NOT FOUND
http://m.ahfyzs.com/content/16/0314/06/175261_541995462.shtml
2016/3/14 6:12:12
FIX: SUDO: PORT: COMMAND NOT FOUND.On Mac OSX, I’m on Yosemite, if you’ve installed MacPorts with the package installer and have the same issues that I encountered I’ve got the fix. Part of the problem is that MacPorts binaries are installed in /opt/local/bin, so you just need to add this path to your PATH environment variable. Example with your user, add to your $HOME/.profile:
Mac Install PyQt 4 (not 5)
http://m.ahfyzs.com/content/16/0314/03/175261_541989189.shtml
2016/3/14 3:02:47
How to Setup Hadoop 2.6.0 (Single Node Cluster) on CentOS/RHEL and Ubuntu
http://m.ahfyzs.com/content/16/0227/15/175261_537798285.shtml
2016/2/27 15:39:46
How to Setup Hadoop 2.6.0 (Single Node Cluster) on CentOS/RHEL and Ubuntu。export HADOOP_HOME=/home/hadoop/hadoopexport HADOOP_INSTALL=$HADOOP_HOMEexport HADOOP_MAPRED_HOME=$HADOOP_HOMEexport HADOOP_COMMON_HOME=$HADOOP_HOMEexport HADOOP_HDFS_HOME=$HADOOP_HOMEexport YARN_HOME=$HADOOP_HOMEexport HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/nativeexport PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin.
CentOS as a Guest OS in VirtualBox
http://m.ahfyzs.com/content/16/0227/14/175261_537778727.shtml
2016/2/27 14:13:55
CentOS as a Guest OS in VirtualBoxInstalling Guest Additions.If DKMS (Dynamic Kernel Module Support) is installed it will be used and will simplify kernel upgrades.Replace "kernel-devel" with "kernel-PAE-devel" if using a PAE kernel on CentOS-5.If you are not using a standard CentOS kernel, you must acquire and install the source for your kernel from wherever you got the kernel.
第一部:http://v.youku.com/v_show/id_XNTk4MjM1MDUy.html.第二部:http://v.youku.com/v_show/id_XNTk5NTU5NzIw.html.第三部:http://v.youku.com/v_show/id_XNjA0MjMwMDYw.html.附加篇:http://v.youku.com/v_show/id_XNjA2NDc4OTgw.html.Please enable JavaScript to view the &a href="http://disqus.com/?ref_noscript"&
How to use Latex in Blogger
http://m.ahfyzs.com/content/15/1119/17/175261_514358799.shtml
2015/11/19 17:30:39
How to use Latex in Blogger.<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">MathJax.Config({ extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], jax: ["input/TeX", "output/HTML-CSS"], tex2jax: { inlineMath: [ [''$'',''$''], ["\\(","\\)"] ], displayMath: [ [''$$'',''$$''], ["\\[","\\]"] ], }, "HTML-CSS": { availableFonts: ["TeX"] }});
activate/ deactive Django virtualEnv on Mac
http://m.ahfyzs.com/content/15/0907/10/175261_497428804.shtml
2015/9/7 10:53:49
activate/ deactive Django virtualEnv on Mac學(xué)習(xí)鏈接在這里。建立好了django_env之后,我們每次要激活的時(shí)候。$source bin/activate反之,則直接在目錄下 deactivate即可。因此,可能需要重新install django- Activate virtualenv: using $ source bin/activate- Install Django: using (yourenvnamehere)$ pip install django.
Install Python3 on OS X, virtualenv & virtualenvwrapper
http://m.ahfyzs.com/content/15/0907/10/175261_497421378.shtml
2015/9/7 10:21:51
Install Python3 on OS X, virtualenv &virtualenvwrapper.However, there is one important remark about the version of pyvenv you have installed: only if you installed Python 3.4 or latter, pyvenv will also install pip when creating a new virtual environment.$ mkvirtualenv --python=python3_path myenvwhere python3_path is the path of python3, which can be found with.$ pythonyou activate python 3!
The Best Free Screen Recorder - Ubuntu
http://m.ahfyzs.com/content/15/0826/01/175261_494758704.shtml
2015/8/26 1:48:51
Does Mikogo run with 64bit Linux?
http://m.ahfyzs.com/content/15/0816/11/175261_492060290.shtml
2015/8/16 11:35:01
Does Mikogo run with 64bit Linux?If you get an error such as:./mikogo: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directoryyou have to to install the 32bit libraries with the following command:sudo apt-get install ia32-libs.sudo apt-get install libgtk2.0-0:i386 libnss3:i386 libcurl3-gnutls:i386 libidn11:i386 libpango1.0-0:i386 libpangox-1.0-
How to install Mikogo in Ubuntu 12.04
http://m.ahfyzs.com/content/15/0815/13/175261_491782728.shtml
2015/8/15 13:19:42
How to install Mikogo in Ubuntu 12.04Note;wget http://download.mikogo4.com/mikogo.tar.gz.sudo mv mikogo4.5 /usr/lib/sudo ln -s /usr/lib/mikogo4.5/mikogo /usr/bin/mikogo.Now, every time you want to open Mikogo from terminal, just type “mikogo” and hit enter.Save as this icon and move it to /usr/lib/mikogo4.5/:sudo gedit /usr/share/applications/mikogo.desktop.Icon=/usr/lib/mikogo4.5/mikogo.png.
Virtualbox not seeing any usb devices in the usb filters settings
http://m.ahfyzs.com/content/15/0815/04/175261_491717532.shtml
2015/8/15 4:52:11
Virtualbox not seeing any usb devices in the usb filters settingsThis may help you access the USB devices in your guest OS hosted in Ubuntu。sudo apt-get install gnome-system-tools。Click Manage Groups, find vboxusers, click properties, add your own user name and any other desired users to the vboxusers group.
How to deploy Web-CAT automatic grading system on Ubuntu 14.04
http://m.ahfyzs.com/content/15/0813/14/175261_491388122.shtml
2015/8/13 14:42:02
Configuration: /etc/tomcat7/Logs: /var/logs/tomcat7/Cache: /var/cache/tomcat7/Default apps root (where to place your apps): /var/lib/tomcat7/webapps/Tomcat Admin app: /usr/share/tomcat7-admin/Go to tomcat admin interface, upload the war file and deploy the app:After the tomcat admin finishes processing web-CAT war file successfully, you should see this message at the top:
void addEntry(int hash, K key, V value, int bucketIndex) { //獲取bucketIndex處的Entry Entry<K, V> e = table[bucketIndex]; //將新創(chuàng)建的 Entry 放入 bucketIndex 索引處,并讓新的 Entry 指向原來的 Entry table[bucketIndex] = new Entry<K, V>(hash, key, value, e); //若HashMap中元素的個(gè)數(shù)超過極限了,則容量擴(kuò)大兩倍 if (size++ >= threshold) resize(2 * table.length); }
Mac firefox不能播放 (Safari可以)
http://m.ahfyzs.com/content/15/0524/10/175261_472857336.shtml
2015/5/24 10:58:53intellij idea hadoop mapreduce 開發(fā)調(diào)試
http://m.ahfyzs.com/content/15/0505/16/175261_468257891.shtml
2015/5/5 16:29:48
intellij idea hadoop mapreduce 開發(fā)調(diào)試。在idea中的hadoop程序開發(fā)(MAC或Linux)4.配置構(gòu)件(artifacts):名稱(name),類型(Type),構(gòu)件時(shí)重新編譯打包(Build on make),輸出目錄(Output directory),輸出規(guī)劃(Output Layout),選擇當(dāng)前模塊的輸出構(gòu)件。8.配置運(yùn)行參數(shù):main函數(shù)為RunJar,運(yùn)行參數(shù)為(①wordcount.jar構(gòu)件的的jar包,②主類,③參數(shù)一:輸入,④參數(shù)二:輸出),保存,OK。