Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Ubuntu Network configuration Software Source

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you the example analysis of Ubuntu network configuration software source, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Sudo pppoeconf pon dsl-provider poff

Enter sudo gedit / etc/ppp/options at the terminal to change lcp-echo-failure 4 to lcp-echo-failure 40 in the pop-up document because there is an obvious flaw in the default setting of the Ubuntu network. The number of lcp-echo-failure is set to 4 and lcp-echo-interval is set to 30 seconds. In other words, if the ADSL server does not return the echo-reply signal within 120 seconds, it will think that there is something wrong with the Ubuntu network and immediately break the reconnection, which makes people very unhappy.

Other common Ubuntu network configurations

Sometimes the graphical interface configuration Ubuntu network does not work, you can use the command line configuration IP command line configuration as follows.

Sudo gedit / etc/network/interfaces DHCP DHCP configuration is as follows (assuming access to the Internet through eth2) # The primary network interface-use DHCP to find our address auto eth2 iface eth2 inet dhcp / / designated as dhcp and then restart sudo / etc/init.d/networking restart Static IP static IP address configuration is as follows (assuming access to the Internet through eth2) # The primary network interface auto eth2 iface eth2 inet static / / designated as static address 192.168.3.90 / / IP address gateway 192.168.3.1 / / Gateway netmask 255.255.255.0 / / Subnet mask also needs to restart sudo / etc/init.d/networking restart DNS if necessary Configure DNS sudo gedit / etc/resolv.conf nameserver 192.168.3.2

2. Ubuntu network software source

Enter and run at the terminal

Sudo cp / etc/apt/sources.list / etc/apt/sources.list.backup (back up the current list of sources for later recovery when needed) sudo gedit / etc/apt/sources.list (modify the list of sources in the sources.list file)

To prevent incomplete packages in unofficial sources, add the following official source at the end of the sources.list file. If deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse does not have this source, you will be prompted not to find it when you install some software, such as w32codecs, and then save the edited file and execute the following command to update. Sudo apt-get update # this step is to update your source list, after the source change must be performed (if the update speed is very slow, please change the source sudo gedit / etc/apt/sources.list) sudo apt-get dist-upgrade # this step is to update the software, and then continue to set up the software. Sometimes you may need to use: sudo apt-get-f install to repair the installation

three. The Ubuntu network adds the terminal to the right-click menu:

Sudo apt-get install nautilus-open-terminal

four. Open a folder with root permissions

Sudo apt-get install nautilus-gksu

Right-click the file or folder and select to open it as an administrator!

To view the hidden file is: Ctrl+ H

5.Ubuntu Network installation Chinese support and input method SCIM

Note to update the source update system first, and then install Chinese support and input method SCIM when these Chinese packages are installed, make sure that the following Default Language is chinese (china), then save, press ctrl+alt+backspace to log out, restart X-windows (graphical interface), after restart, the interface becomes Chinese.

It is recommended to set up the input method first, because the default scim input method may conflict with realplay, acrobat reader, openoffice and other programs, so use scim-bridge to replace scim. Install scim-bridge and scim-qtimm. Please make sure that you have set up the Chinese environment correctly, open the terminal, execute the following command, or use Synaptic Software Manager to search for "scim-bridge" and "scim-qtimm" and mark the installation.

Input at the terminal

Sudo im-switch-s scim- z default sudo apt-get install scim-qtimm sudo apt-get install scim scim-pinyin scim-tables-zh im-switch scim-qtimm scim-bridge scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-agent edits the scim configuration file gksu gedit / etc/X11/xinit/xinput.d/scim generated by im-switch

Change the default GTK_IM_MODULE=scim to GTK_IM_MODULE= "scim-bridge". In addition, the following settings are made in the scim input method:

Scim Settings-> Global Settings-> uncheck the scim setting before embedding the pre-edited string into the client-> gtk- > uncheck the embedded candidate word marks. In fact, the SCIM input method will conflict with some programs, so configure the file after some software is installed. If you want to use other input methods, you can install and set up the fcitx input method (recommended under Kubuntu)

UBUNTU7.10 supports reading and writing of NTFS partitions by default, if you find that you can't find a Chinese file. The solution is as follows: enter at the terminal

Sudo apt-get-y-force-yes install ntfs-3g sudo apt-get-y-force-yes install ntfs-config [- x / usr/bin/ntfs-3g] & & sudo ln-sf / usr/bin/ntfs-3g / sbin/mount.ntfs gksudo ntfs-config & set + v [img] http://www.ubfchina.cn/upload/article/200709141946291.png[img]

Just press the picture above and choose to finish it.

6. Font

Sudo apt-get install wqy-bitmapfont

After installation, you should be able to find WenQuanYi Bitmap Song fonts in the font manager.

Add / remove programs with "Microsoft Core Fonts", then [* item-appearance-font], change all fonts to Arial. Restart. The English font is much better.

7. Solve the Chinese garbled of PDF electronic documents

Sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional

Complete

8. Set up the Firefox browser

First install the flash playback plug-in and enter: sudo apt-get install flashplugin-nonfree at the terminal

You can also download it here and install it after download:

Tar-zxvf install_flash_player_9_linux.tar.gz

Cd install_flash_player_9_linux/

Sudo. / flashplayer-installer

Common plug-ins and extensions for Firefox:

Download downthemall with multiple threads:

Https://addons.mozilla.org/en-US/firefox/addon/201

Http://addons.mozine.cn/firefox/89/

Watch mediawarp https://addons.mozilla.org/en-US/firefox/addon/1879 online

Http://addons.mozine.cn/firefox/116/

Download the tool FlashGot: http://addons.mozine.cn/firefox/7/

Https://addons.mozilla.org/en-US/firefox/addon/220

The Ubuntu network opens the web page more quickly. Type about:config in the firefox browser address bar.

Find the following options to modify:

Network.dns.disableIPv6-> true

Network.http.pipelining-> true

Network.http.pipelining.maxrequests-> 8 (8mur24 this is my own setting)

Network.http.proxy.pipelining-> true

9. Install the JAVA environment

Sudo apt-get install sun-java6-jre

Install JDK

Sudo apt-get install sun-java6-jdk

Set the current default java interpreter

Sudo update-alternatives-config java

Enter the number in front of the line containing "sun"

Install the browser's JAVA Plugin (optional)

Sudo apt-get install sun-java6-plugin

Install the RAR compression / decompression program

Enter: sudo apt-get install rar at the terminal

Establish a soft link

Sudo ln-fs / usr/bin/rar / usr/bin/unrar

In this way, as long as you type unrar on the command line, you can extract or compress the files, and after installation, the archive manager also integrates rar components.

10.Ubuntu Network installation and compilation tool

It is recommended to install gcc,g++,make and so on.

Sudo apt-get install build-essential

The above is all the contents of the article "sample Analysis of Ubuntu Network configuration Software Source". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 250

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report