Posts

How to increase the speed of the WordPress in China

China banned Google's product. Therefore lots of the Google's product is very slow. WordPress use the googleapis.com to load the font. If we not banned this style, the website will be very slow. So I installed the plugin "Disable Google Fonts". It works in many themes. Reference: http://jingyan.baidu.com/article/17bd8e5213b6ff85ab2bb8bf.html

Install cdt 8.4.0 in eclipse luna

If you installed eclipse, you can install cdt to develop C program. You have to finish the installment of Eclipse. (Reference: http://hi.baidu.com/sf_chipan/item/e38ed5db1378666bdcf9be3f) Go into the website: http://www.eclipse.org/cdt/downloads.php Find the software repository url of related eclipse, such as: http://download.eclipse.org/tools/cdt/releases/8.4 Then open eclipse luna, select "help", and "install new software". then select "Add", the "Name" is "cdt", the location is the "repository url" Then you can add the cdt. What's more, you should install g++ For example: “sudo apt-get install g++”

The software I have installed on Ubuntu

The software I have installed on Ubuntu: (OK)1.Google Chrome (OK)2.Apache 2.4.29 (/usr/sbin/apachectl -v) (OK)3.Mysql 5.5.38 4.Input: fcitx, fcitx-sogou, fcitx-anthy (OK)5.Vim (Full) (OK)6.Java OpenJDK 8 and Java 8 sudo apt install openjdk-8-jdk sudo add-apt-repository ppa:webupd8team/java sudo apt update sudo apt install oracle-java8-set-default sudo update-alternatives --config java (OK)7.Eclipse 201809 JavaSE (OK)8.Eclipse Plugin CDT 9.5.4 (OK)9.Gcc 7.3.0, Make 4.1 (sudo apt-get install build-essential) (OK)10.FileZilla 3.28.0 (sudo apt install filezilla) (OK)11.powertop 2.9 (sudo apt install powertop) 12.git 1.9.1 (not config) (OK)13.KVM (Refer to: http://sharadchhetri.com/2014/10/09/install-kvm-kernel-based-virtual-machine-ubuntu-14-04-lts-desktop/) (OK)14.Wireshark (Configure method refer to: http://www.cnblogs.com/ddtpower/archive/2012/12/20/ubuntu_wireshark_dumpcap.html) 15.Android Development Environment 1.0.1 16.Goagent 3.1.21 (OK)17.Visual Studio Code ...

install/start/restart/stop apache and mysql

#####Install mysql: $ sudo apt-get install mysql-server mysql-client "after install, you should set the root password" #####Install Apache: $ sudo apt-get install apache2 and use Chrome to see "http://localhost" #####start/restart/stop Apache $ sudo /etc/init.d/apache2 start $ sudo /etc/init.d/apache2 restart $ sudo /etc/init.d/apache2 stop #####start/restart/stop Mysql $ sudo /etc/init.d/mysql start $ sudo /etc/init.d/mysql stop $ sudo /etc/init.d/mysql restart

Install Ubuntu 18 in Thinkpad X240s (Dual boot)

1.Download the Ubuntu 18.04.01 (About 1Gb). 2.Burn the Ubuntu 18 to a DVD (Use the outsite DVD-ROM). 3.Reboot the System. Start from DVD-ROM. 4.Install Ubuntu 18. 5.Do not connect to the Wifi, because the intel wireless LAN Adapter 7260 driver is wrong. 6.Make a partition, my partition is /boot : 1Gb,logical,ext4 / : 18Gb,logical,ext4 swap : 8Gb,logical,swap (same as memory) /home : 25Gb,logical,ext4 7.Select "Device for boot loader installation": the "/boot" disk that you just created. 8.Create the User id and password. 9.Install. 10.Reboot the computer, MBR is still the Windows. 11.Install the free software EasyBCD 2.2. 12.Click "Add New Entry", Select find "Linux" by "Grub2", Save. 13.Reboot the computer. You can enter the Ubuntu 18, by Windows MBR. 14.Use "apt-get update" to update the driver and software. 15.Install software. Now the Computer does not have any problem. The problem of Intel wireless LAN Adapter 2760 driver...

2010 European Champion Final in Madrid

One of my favorite football teams: Holland football team. Brasil world cup, Sneijder and Robben's golden times is end. The words below is why I like this holland football team. It is in 2010 European Champion. 本赛季开始前 当新银河战舰再次起航 高调喊出要在自己的主场夺去欧冠的宣言时 有两个荷兰人却顶着被清洗的帽子 黯然离开了伯纳乌 当C罗卡卡们带着创纪录身价到来 斯内德和罗本的转会总和却还不及埃托奥和伊布交换的偏头 曾经的阿贾克斯骄傲埃因霍温明珠 到哪里都是核心球员的他们 却要像失败者一样离去 慕尼黑的酒家没有放缓小飞侠的脚步 米兰城的奢华没有侵蚀斯内德的雄心壮志 一年之后 银河战舰在八分之一决赛折戟沉沙 罗本却用绝杀将拜仁送入决赛 斯内德则用助攻让国米重现风采 他们将昂着头重新踏上伯纳乌的草坪 他们无需证明什么 当他们走上赛场的一刻 没有怨恨没有怀念 剩下的只有对荣誉的渴望 和对各自球队的感恩 他们没有约定 他们心照不宣

The Problem "The volume 'boot' has only 0 bytes disk space remaining"

Reference URL Question Statement: After a recent update by Ubuntu 12.04's "Update Manager", I'm getting an alert saying: The volume "boot" has only 0 bytes disk space remaining Solutions: 1. To see the current kernel in use: uname -r 2. To see the usage of the "/boot": df -h /boot 3. To see all installed kernels: Type sudo apt-get remove linux-image- and than press Tab twice. 4. Next remove some of the old Kernel, e.g.: sudo apt-get remove linux-image-3.2.0-27-generic-pae linux-image-3.2.0-29-generic-pae ... Don't delete all kernels! Only the old ones. In My case: There are: linux-image-3.11.0-15-generic linux-image-3.11.0-17-generic linux-image-3.11.0-18-generic linux-image-3.11.0-19-generic linux-image-3.11.0-20-generic linux-image-3.11.0-24-generic linux-image-3.11.0-26-generic linux-image-3.13.0-32-generic I had removed: linux-image-3.11.0-17-generic linux-image-3.11.0-18-generic linux-image-3.11.0-19-generic linux-image-3.11.0-20-generi...