Posts

Showing posts from August, 2014

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