Pre-exam Preview (Ubuntu equipped)

Source: Internet
Author: User
Tags sublime text

These days before the exam, while now do not want to preview, write a point before you want to write something.

Post some small things that people think are useful in Ubuntu after the installation. But very miscellaneous, mainly to take to the future of their own look, and let now bored I have a little thing to do.

First of all, the Ubuntu website to download the image, should be careful not to download Kylin version (Ubuntuk what the ghost of level six did not have to spell), there are suggestions for TLS, such as 12.04,14.04 what ghost.

Then is to make a U disk boot, Ubuntu has its own "Startup Disk Creator" Things, Windows can be used with UltraISO tools, OS X, too poor to buy, interested can fund me, I do not mind:)

Here comes the point.

First, the terminal update source + update operating system

sudo apt-get updatesudo apt-get upgrade

Second, open system settings = "Language support, update the language what ghost, enter the password what Ghost

Third, open the Software center, search Amazon, uninstall, search flash, install

Iv. installation of Terminator

sudo Install Terminator

Five, install Sogou input method

Go to official website http://pinyin.sogou.com/linux/?r=pinyin download the corresponding version of the Deb package

Install Gdebi-core, Sogou Input Method

sudo Install gdebi-coresudo gdebi sogou_pinyin_linux_*.deb

Unregister the operating system, system settings = "Language support, language keyboard input system, the IBUs changed to FCITX, log off the operating system, you can

If it is not possible to install Gdebi test First update the source, can not install the Input method test first remove FCITX things

sudo apt-get updatesudo apt-get remove--purge fcitx*sudo apt-get--purge Autoremove

Six, to install some strange things, self-Baidu is what ghost

sudoApt-getInstallVimsudoApt-getInstallTree
sudo apt-get Install VLC sudoApt-getInstallUnrarsudoApt-getInstallindicator-MultiloadsudoApt-getInstallgpartedsudoApt-getInstallIndicator-cpufreq
sudoAdd-apt-repository Ppa:atareao/atareao
sudoApt-get Update
sudoApt-getInstallMy-weather-indicator
sudoAdd-apt-repository Ppa:tualatrix/ppa
sudoApt-get Update
sudoApt-getInstallUbuntu-tweak

Seven, set wallpaper

Terminal sudo ubuntu-tweak settings

Set right button to open the terminal of the current directory

Go to the specified folder

CD ~/.local/share/nautilus/scripts/

New file "Open-terminal"

Vim open-terminal

Add the following content

#!/bin/bash## This script opens a gnome-terminalinchThe directory YouSelect. # # Distributed under the terms of the GNU GPL version2or later## Installinch~/.gnome2/nautilus-scripts or ~/nautilus/scripts# need to be running Nautilus1.0.3+to use scripts.# when a directory is selected, go there. Otherwise go to current# directory. If Morethan one directory is selected, show error.if[-N"$NAUTILUS _script_selected_file_paths"]; ThenSet $NAUTILUS _script_selected_file_pathsif[$#-eq1]; ThenDestination=" $"# Go tofile's directory if it'S Afileif[!-D"$destination"]; ThenDestination="' DirName"$destination"`"fiElsezenity--error--title="Error-open Terminal here" --text="You can only select one directory."Exit1fiElseDestination="' echo"$NAUTILUS _script_current_uri"| sed ' s/^file:\/\/// '"fi# It's only possible to go to local directoriesif[-N"' echo"$destination"grep ' ^[a-za-z0-9]\+: '"]; Thenzenity--error--title="Error-open Terminal here" --text="Only local directories can used."Exit1fiCD"$destination"exec x-terminal-emulator

Plus Execute permissions

sudo chmod +x open-terminal

Nine, download Bcloud

Https://github.com/LiuLang/bcloud-packages download the appropriate Deb package on GitHub

sudo dpkg-i bcloud_*sudoinstall

X. Installation of VirtualBox

Download the Deb package on the official website https://www.virtualbox.org/wiki/Linux_Downloads

sudo dpkg-i virtualbox*.deb

Download the appropriate expansion pack installation on the website

Virtual Win7 and stuff like that to communicate with most people.

Xi. Installing the video driver

12, install vim or sublime text plug-ins, or install a variety of codeblocks,eclipse and other Ides

Something that might be used

First, about shortcuts

1, the operation sequence is: first open the directory "/usr/share/applications/", in this directory to find the required program chart, copy to the desktop on it, you can not use the Cut command.
2. If you want to create a shortcut to a file or directory and put it on the desktop, just press the right button on that file or directory and select "Make link" in the pop-up menu to copy the generated link to the desktop in a cut-down manner.

Second, about the flow monitoring

The nethogs is a network traffic monitoring tool under the terminal, which is unique in that it can show the bandwidth consumption of each process, which makes it more intuitive to obtain network usage. It supports IPV4 and IPV6 protocols, supports local network cards, and PPP links.
sudo apt-get install Nethogs
Use
sudo nethogs eth0 (or ppp0)
The program requires root permissions, the default is to monitor the Eth0 network card, so the direct input sudo nethogs can also, if there are multiple network adapters, you must specify. If you do not know your network card name, you can use the Ifconfig command to view it.


Third, about decompression

Tar can decompress GZ and BZ, see Help for details

The problem of garbled encoding is generally caused by coding problems, you can add encoding parameters when extracting, such as Unzip-o GBK *.zip

Four, the double system changes the partition causes the error

Ubuntu14.04 and Windows8.1 dual system. changing partitions under Windows, including creating new partitions, deleting partitions, merging partitions, and so on, can cause Ubuntu grub to find no partitions to enter the Grub rescue mode.
① Find the system boot partition
Grub rescue> ls
Hd0 (Hd0,msdos) (Hd0,msdos?) ... (Hd0,msdos?)
By entering such as LS (Hd0,msdos?), if the system prompts Unknow filesystem is not looking for
My is the hint ... ext2
② set the path (assuming the found partition is (HD0,MSDOS6))
Grub rescue> set root= (HD0,MSDOS6)
Grub rescue> set prefix= (HD0,MSDOS6)/boot/grub
③ Loading Module
Grub rescue> Insmod Normal
Grub rescue> Normal
④ Update Boot
Open terminal after entering Ubuntu
sudo update-grub
sudo grub-install/dev/sda

Not to be continued .... 20150617

Pre-exam Preview (Ubuntu equipped)

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.