Linux Configuration Management

Source: Internet
Author: User

Debian7 configuring Broadcom NIC Driver

1. Add a source for "non-open source software"

# deb Http://http.debian.net/debian/wheezy main contrib Non-free

2. Update the list of available packages

# Apt-get Update

3. Then download the linux-headers and Broadcom driver packages

# Apt-get Install linux-headers-$ (uname-r|sed ' s,[^-]*-[^-]*-,, ') broadcom-sta-dkms

4. Uninstalling the conflict module

# modprobe-r B44 b43 b43legacy SSB Brcmsmac

5. Loading the WL module

# modprobe WL
Centos/debian using 163 source

Follow the links below to guide the operation.

Debian image Use Help

CentOS Image Use Help

Ubuntu off standalone graphics

After the terminal obtains administrator privileges, enter the following command.

# vi/etc/rc.local

Add the following two lines at exit 0; Before

# echo IGD >/sys/kernel/debug/vgaswitcheroo/switch
# echo OFF >/sys/kernel/debug/vgaswitcheroo/switch
Debian7 Save current screen brightness

1. Adjust the screen brightness using the method that suits your computer. For example, I press FN+F2 to make the screen brightness moderate, my Computer model is HP ENVY4-1007TX.

2. Use the cat command to find out what the current screen brightness value is.

$ cat/sys/class/backlight/intel_backlight/brightness

I output the result is 2900, well, you have to remember your own, because the computer is not the same.

3. Write a command in/etc/rc.local that automatically sets the screen brightness when the power is on. Do not forget that the administrator is logged in before writing.

#调节屏幕亮度 # echo 2900 >/sys/class/backlight/intel_backlight/brightness

It's a good habit to write notes.

4. Save the file.

finish!

Debian7 installing Bluefish Web Development Tools Method One:

Obtained directly from the source.

$ sudo aptitude install bluefish

Method Two:

To get the best experience, we should download the latest version.

2.1. Add an up-to-date source

$ sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list-N-p/etc/apt/sources.list.d

2.2. Update the list of available packages

$ aptitude Update

2.3. Installing dependent Packages

$ sudo apt-get install wgdd-archive-keyring

2.4. Installing Bluefish

$ sudo apt-get install bluefish

Install Eclipse

1. Download the compressed package from the official website

Eclipse Downloads

2. Move into the download directory folder, for example my user name is love.

$ cd/home/love/downloads
$ sudo tar-zxvf eclipse-standard-kepler-sr1-linux-gtk-x86_64.tar.gz

4. Move the extracted folder into the/usr/local/bin

# MV Eclipse/usr/local/bin

5. (If you are the same as me, it is the XFCE desktop) on the desktop Create icon.

Right-click Desktop--Create Lanucher

Both 6.Name and comment are filled with eclipse.

7. Click on the icon to the right of the command

File System, usr, local, eclipse-double-click Eclipse

8. Set up working Directory (work path), and you'll create a good one in/home/love.

9. Set icon.

Select Image File in the drop-down box. You can find it by locating it in the/usr/local/eclipse.

OK the basic of the setup is finished, click Create.

All right, it's done!

Eclipse installation PDT Expansion

Preface: Someone compiled PHP like under Zend Studio, someone compiled PHP like under Vim, some people like in ... In short, can compile PHP tools quite a lot, and I only like to use Eclipse, because it open source, free! The key is to use a worthy heart, enjoy open source, contribute to open source!

Well, to the point, the installation of the Eclipse PHP extension is only a simple step!

1. Open in Eclipse's toolbar

Help, Install New software

Then enter the following URL

http://download.eclipse.org/tools/pdt/updates/3.2-nightly

Note that this URL applies only to eclipse Kepler

If your eclipse version is Juno, then you can enter the following!

http://download.eclipse.org/tools/pdt/updates/nightly

I'm not lying to you, are you? Really just another step, the end of this episode!

Debian completely removes software commands
# Apt-get Purge <package name>

This removal is more thorough than apt-get remove.

Debian7 Installing Chrome Browser preface

If you get it directly from the source, you'll get Chromium, which is the open source version of Chrome. So, in order to get the original chrome, we do this.

1. Download the. deb package to the website.

Chrome Browser Official Download

2. Move closer to the download directory. For example, my user name is love.

$ cd/home/love/downloads

3. Resolve Package Dependencies

# sudo apt-get install Libxss1 libcurl3

4. Installation

# sudo dpkg-i google-chrome-stable_current_amd64.deb

5. Now that the installation is complete, if you are a XFCE desktop environment, you can find the icon in this way.

Internet Applicationsmenu

All right, it's over.

Debian7 Install Flash method one:

1. After modifying the source, you can aptitude directly. If you do not know how to modify the source, refer to the above.

# Aptitude Install Flashplugin-nonfree

2. After the installation, update it!

# Update-flashplugin-nonfree--install

Okay, here's the way to do it. You can use the browser's Flash plugin.

Method Two:

1. Visit this link.

Adobe Flash Player

2. Download the tar.gz Package

3. Go to your Downloads folder, for example my user name is love.

$ cd/home/love/downloads

4. Unzip

$ tar xvf install_flash_player_11_linux.i386.tar.gz

5. Copy the Past

# CP–RV USR/USR

6. Create a folder in the root directory of the Iceweasel browser

# Mkdir–v/usr/lib/iceweasel/plugins

7. Copy it in

# CP Libflashplayer.so/usr/lib/iceweasel/plugins

8. (optional) If the Chromium browser is installed, copy the

# CP Libflashplayer.so/usr/lib/chromium/plugins

Well, it's all done here.

Debian7 Installing Chromium Browser

1. Installing chromium

# sudo aptitude install chromium chromium-l10n


2. Modify the system settings to make the Chromium browser the default browser.

Applications Menu, Settings, Settings Manger, Preferred applications, Web Browser

3. Select Other in the dropdown box

4. Enter

Chromium
OK, it's done!

DEBIAN7 English environment, Chromium browser Chinese font becomes a block problem

Summary

In the English environment, the enthusiastic installation of the Chromium browser, enter Baidu to find the Chinese characters are all turned to square! Baidu a bit, some people say is the browser character encoding to change to UTF-8. But when I tried it, it didn't work. I think the problem in the lack of fonts, and installed a few Chinese fonts, sure enough to solve the problem.

1. Install Wen Quan song body

# sudo aptitude install xfonts-wqy# sudo aptitude install Ttf-wqy-zenhei Ttf-wqy-microhei

2. Install the uming song body

# sudo aptitude install fonts-arphic-uming ttf-arphic-uming

Restart, then open the Chromium browser, OK!

Debian7 Post-installation configuration (IBUs IME)

IBUs is a similar input method to SCIM, both of which allow users to enter Chinese. You have several IBUs input methods to choose from.

1. Installing the Ibus-pinyin Input method

# sudo aptitude install Ibus-pinyin

After installation, restart, manually add Pinyin Input method: System menu, setting->ibus settings, select Input Method, Chinese---pinyin---Add.

2. If you do not like Ibus-pinyin you can also choose Ibus-googlepinyin

# sudo aptitude install ibus# sudo aptitude install Ibus-googlepinyin

Similarly, after loading, restart, manually add Google Pinyin Input Method: System menu, set->ibus settings, select Input Method, Chinese->google Pinyin---Add.

Here, the Pinyin input method has been set. finish!

Linux Configuration Management

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.