Ubuntu dot Summary, update ...

Source: Internet
Author: User
Tags sqlite database

Transferred from: http://blog.csdn.net/zxz_tsgx/article/details/39713627

Yesterday re-installed Ubuntu14.04 64-bit version, but also by some basic operation/settings to be afraid of, before the installation of the time did not record down, after a time to forget, and then continue to tinker again, no trouble, so this time try to record down;

Install Input Method ==! This whole day did not pretend to Sogou, using Google Pinyin, of course, the first is to open language support to update, and install Chinese (simplfied) language supports (I installed the e-version system), and select the system input method for IBUs: [Java]View Plaincopy
    1. sudo apt-get install Ibus-pinyin
    2. sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
    3. sudo apt-get install Ibus-googlepinyin ibus-sunpinyin
The rest of the reference Baidu experience; P.S. Trial for a period of time, found that googlepinyin in 14.04 still have some problems, such as unable to page forward, back to the second page when you need to click ".", in addition, in Youdao Cloud Notes Web page version of the text, will always be more than a lot of words, inexplicable, And then thinking again to install Sougou Pinyin, the results suggest that the installation succeeded is not to call out, quirks before the installation of Googleyinpin by the Sunpinyin to get out, use up without those problems, but the new problem is not able to play yue,xue and other sound ... Hey, also can be happy with the Chinese character exchange p.s.2 about Sunpinyin dozen Yue,xue,que and other words, put in see this paste; Chromium support Flash browser has been using Google's, more accustomed to, chromium is installed through Ubuntu Software Center, but the default does not support Flash Player, Prompt to jump to Adobe player's download page after opening a page with Flash http://get.adobe.com/flashplayer/?no_redirect, previously selected apt for Ubuntu 10.04+ Installed through the Software center, but this has been prompted to find (64-bit problem?), there is no way, can only be installed manually:
[Java]View Plaincopy
    1. sudo apt-get install Pepperflashplugin-nonfree
[Java]View Plaincopy
    1. sudo update-pepperflashplugin-nonfree--install
For the Firefox browser, you can use other methods, on the Adobe download page just select ". tar.gz for other Linux" to download the offline package, extract three files: Readme,libflashplayer.so,usr directory, In the Readme written method (online said also applicable to other browsers, but I was not successful, character so poor ...):
[Java]View Plaincopy
    1. sudo cp./libflashplayer.so/usr/lib/mozilla/plugins/
[Java]View Plaincopy
    1. sudo cp-r./usr/*/usr/
Then restart Firefox to do it;

Installing WPS

The system comes with the LibreOffice use is always not as convenient as WPS (of course, the most satisfied or msoffice, but not use ...); First of all, of course, to the official website to download the software, I am under the Deb version of Alpha (WPS-OFFICE_9.1.0.4751~A15_I386.DEB), because my 64bit system, and WPS is not yet out of the corresponding version, it requires 32-bit library support, Unfortunately, 14.04 has not had the so-called Ia32-libs:

  1. After switching to the download directory:
    [Plain]View Plaincopy
      1. sudo dpkg-i wps-office_9.1.0.4751~a15_i386.deb
    Will be prompted with errors, regardless, the effect is as follows:
    [Plain]View Plaincopy
    1. [Email protected]:~/downloads$ sudo dpkg-i wps-office_9.1.0.4751~a15_i386.deb
    2. (Reading database ... 198766 files and directories currently installed.)
    3. Preparing to unpack Wps-office_9.1.0.4751~a15_i386.deb ...
    4. Unpacking Wps-office (9.1.0.4751~A15) over (8.1.0.3724~B1P2) ...
    5. dpkg:warning:unable to delete old directory '/usr/share/fonts/wps-office ': Directory not empty
    6. Dpkg:dependency problems prevent configuration of Wps-office:
    7. Wps-office depends on libglib2.0-0.
    8. Wps-office depends on LIBSM6.
    9. Wps-office depends on Libxrender1.
    10. Wps-office depends on LIBFONTCONFIG1.
    11. Dpkg:error Processing Package Wps-office (--install):
    12. Dependency Problems-leaving unconfigured
    13. Processing triggers for hicolor-icon-theme (0.13-1) ...
    14. Processing triggers for Gnome-menus (3.10.1-0UBUNTU2) ...
    15. Processing triggers for desktop-file-utils (0.22-1UBUNTU1) ...
    16. Processing triggers for Bamfdaemon (0.5.1+14.04.20140409-0UBUNTU1) ...
    17. Rebuilding/usr/share/applications/bamf-2.index ...
    18. Processing triggers for mime-support (3.54UBUNTU1) ...
    19. Processing triggers for shared-mime-info (1.2-0UBUNTU3) ...
    20. Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
    21. Errors were encountered while processing:
    22. Wps-office
  2. To install a dependent library:
    [Plain] view plaincopy
    1. sudo apt-get-f Install
    After the installation is ready to open WPS, the first time a little wait, in addition, I opened the spreadsheet will be prompted by the lack of formula to display the required number of fonts, their own to Baidu search "Symbol-fonts_1.1_all.deb", there is a download, Then double-click the installation can now use WPS normally;
    In addition, add a small point, after downloading the file, check the integrity of the file, common MD5 and SHA1 code, Ubuntu comes with the corresponding command:
    [Plain] view plaincopy
    1. Md5sum Your_file
    [Plain] view plaincopy
    1. Sha1sum Your_file
JDK installation has been written to not repeat, see here; Add GBK support see this article; Modify resolution screen resolution is too high 1920*1080, the font appears very small, so you need to modify the next resolution, but my system "system settings" does not have "display" option, can only be modified by other methods: P.S. After the test found that the restart is back to the original, Have time to find a way to write files, then update ...
  1. Get current resolution information by command XRANDR:
    [Plain]View Plaincopy
    1. [Email protected]:~$ Xrandr
    2. Screen 0:minimum x, maximum 32767 x 32767
    3. LVDS1 Connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
    4. 1920x1080 60.0*+ 59.9
    5. 1680x1050 60.0 59.9
    6. 1600x1024 60.2
    7. 1400x1050 60.0
    8. 1280x1024 60.0
    9. 1440x900 59.9
    10. 1280x960 60.0
    11. 1360x768 59.8 60.0
    12. 1152x864 60.0
    13. 1024x768 60.0
    14. 800x600 60.3 56.2
    15. 640x480 59.9
    16. 1440x900_60.00 59.9
    17. 1400x1050_60.00 60.0
    18. VGA1 disconnected (normal left inverted right x axis y axis)
    19. 1440x900_60.00 59.9
    20. VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    21. Hdmi-1-1 disconnected
    22. 1600x1024_60.00 (0x114) 135.5MHz
    23. H:width 1696 end 1864 total 2128 skew 0 clock 63.7KHz
    24. V:height 1024x768 Start 1027 end 1037 total 1063 clock 59.9Hz
    25. 1360x768_60.00 (0x119) 84.8MHz
    26. H:width 1360 start 1432 End 1568 Total 1776 skew 0 clock 47.7KHz
    27. V:height 768 Start 771 end 781 total 798 clock 59.8Hz
    The line marked with * is my current resolution;
  2. use the CVT command to generate screen resolution and refresh rate under xorg.conf
    [plain]  view plaincopy 
    1. [EMAIL PROTECTED]:~$ CVT 1360 768  
    2. # 1360x768 59.80  Hz  (CVT)  hsync: 47.72 khz; pclk: 84.75 mhz  
    3. modeline  "1360x768_60.00"    84.75  1360 1432 1568  1776  768 771 781 798 -hsync +vsync  
    "Modeline" Later information needs to be used, there is no set refresh rate, if necessary, the format is as follows:
    [plain]  view plaincopy 
    1. CVT 1024 768 75  
    The refresh rate is refreshed at 75Hz;
  3. Add new Mode
    [Plain] view plaincopy
    1. Xrandr--newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798-hsync +vsync
  4. Add to
    [Plain] view plaincopy
    1. Xrandr--addmode LVDS1 "1360x768_60.00"
  5. Set resolution
    [Plain] view plaincopy
    1. Xrandr--output LVDS1--mode "1360x768_60.00"
    If it is VGA, change "LVDS1" to "VGA1"

    However, you can use Xrandr to specify the resolution directly, without the hassle:
    [Plain] view plaincopy
    1. Xrandr-s 1024x768
    In the first step above we are realistic with the list of resolutions available for LVDS1, they are ordered sequentially, the first ordinal is 0, and then increments down, so you can test which resolution is most appropriate by the following method:
    [Plain] view plaincopy
    1. Xrandr-s 0
    Given the parameter "0", the default resolution is restored.

Install the MySQL official website has the complete installation operation, I choose is apt installs the way: Download the Deb program: http://dev.mysql.com/downloads/repo/apt/Installation steps: http://dev.mysql.com/doc/ Mysql-apt-repo-quick-guide/en/briefly record the steps;
  1. After switching to the download directory:
    [Plain] view plaincopy
    1. sudo dpkg-i./mysql-apt-config_0.2.1-1ubuntu14.04_all.deb
    The version selection dialog box pops up during installation:

    After selecting OK, I choose the 5.6 version here;
  2. Update:
    [Plain] view plaincopy
    1. sudo apt-get update
  3. Installing Mysql-server
    [Plain] view plaincopy
    1. sudo apt-get install Mysql-server
    The installation process will let you set the root account password, I am testing for myself, so directly emptied;
  4. Check the running status of the MySQL service:
    [Plain] view plaincopy
    1. sudo service MySQL status
    The display is running:
    [Plain] view plaincopy
    1. * MySQL Community Server 5.6.21 is running
    command to start/stop the MySQL service manually:
    [Plain] view plaincopy
    1. sudo service MySQL stop
    2. sudo service MySQL start
  5. The installation is complete and you can go to MySQL test:[plain] view plaincopy
    1. Mysql-u Root
    I do not have a password set here, so enter, when there is a password
    [Plain] view plaincopy
    1. Mysql-u root-p
    Enter the password, you will be entered;
  6. Other commands:
    A. Switch version:
    [Plain] view plaincopy
    1. sudo dpkg-reconfigure mysql-apt-config
    ......
    In short, it seems that apt installation method is much simpler than offline installation, even the account/group does not need to create, MySQL other operations I will have another article summary, there is not much to say;
    Add a sentence, you can install a UI management interface, I am using Navicat for MySQL, to download the extract here, command line to start;
    By the way, the common SQLite database on Android, also loaded, two code things:
    [Plain] view plaincopy
    1. sudo apt-get install Sqlite3
    The common s3db format is it, but only the command line, along with a GUI version:
    [Plain] view plaincopy
    1. sudo apt-get install Sqlitebrowser
    This is still relatively humble, there is a sqlitman good
    [Plain] view plaincopy
    1. sudo apt-get install Sqliteman
    Or search for the installation directly in the Software center;

Unzip zip file name garbled
    1. Follow Unar:
      [Plain] view plaincopy
      1. sudo apt-get install Unar
    2. Check that the file name in the zip is OK:
      [Plain] view plaincopy
      1. Lsar Ws_secure_pay_sdk.zip
      If no garbled, then OK can be directly decompression;
      If not correct, you need to develop the appropriate code, Simplified Chinese is usually GB18030 or GBK, Traditional Chinese can try to Big5-hkscs:
      [Plain] view plaincopy
      1. LSAR-E GB18030 Ws_secure_pay_sdk.zip
      When the display is correct, unzip:
      [Plain] view plaincopy
      1. UNAR-E GB18030 Ws_secure_pay_sdk.zip
After installing Kubuntu grub can not find Win7 this want to install openSUSE13.1, the results start U disk has been a problem, and finally installed a KUbuntu14.10, because previously reserved separate partition, so not to install the KDE environment, but directly to complete a system, But after the installation, the original Win7 startup item in Grub can not be found, it only to recognize the Ubuntu, Khan ... The processing method is relatively simple, let grub again discover the system on the hard disk, then update grub is OK;
    1. Restart your computer and go to the recovery mode of the last system you installed (it's the grub file that works, like I'm going into the Kubuntu recovery mode, otherwise invalid);
    2. There will be a menu options table (==! forgot to take photos), choose the GRUB option, the system will automatically search the hard disk system;
    3. End of search, choose Resume, System reboot, grub list should be Win7.
Next, because I used to use Ubuntu,kubuntu only occasionally taste fresh, and grub by default the system as the default startup item, here to modify:
    1. To modify the Grub file:
      [Plain] view plaincopy
      1. sudo gedit/etc/default/grub
      If Kubuntu, then use the Kate or VI editor, or the same, need to enter the GRUB system, and then modify the grub file (this is nonsense ...);
      [Plain] view plaincopy
      1. Grub_default=0
      The default is 0, which changes to the number of boot items you see in grub, such as my Ubuntu row 4th, which is changed here to 3;
    2. Update Grub:
      [Plain] view plaincopy
      1. sudo update-grub
      Restart can be;
Install PDF reader usually prefer to read, because my phone screen is not large, the PDF is not suitable for reading on the above, zooming/flipping what is not convenient, only with a PDF reader, but still like to choose from the Calibre ebook manager, installation also did not say anything, in the Software Center search can be installed; Before also tried Adobe/foxit version, but either too big too card, or still no bookmark editing function, so all give up, calibre support format is more, at least I commonly used epub,mobi OK; Installing the front end ide-brackets [Plain]View Plaincopy
    1. sudo add-apt-repository ppa:webupd8team/brackets
    2. sudo apt-get update
    3. sudo apt-get install brackets
You can also download the Deb package installation, address: https://github.com/adobe/brackets/releases

Ubuntu dot Summary, update ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.