This guide will help you establish an ADSL network connection with the PPPoE Ethernet modem under Ubuntu 6.06 LTS (Dapper Drake).
1. Introduction
Although networking with routers is common, we sometimes need to use PPPoE directly to connect to ADSL (sometimes called DSL) modem.
Of course, first of all you have to pay a good money to netcom or telecommunications network operators, the line to connect well. Modem on the "
The previous issue of this series describes how to use a specific domain language (DSL) to capture domain idiomatic patterns. This issue will continue with this topic to showcase various DSL build methods.
In the next book, in Domain specific Languages, Martin Fowler will explain the difference between the two DSLs. External DSLs can build a new syntax that requires tools such as Lexx and Yacc or ANTLR to
1. Download and decompress jdk1.7.0 _ 67, and put it in the/usr/local/lib/JVM directory.
Tar zxvf jdk1.7.0_67.tar.gz
Sudo MV jdk1.7.0 _ 67/usr/local/lib/JVM
2. Edit ~ /. Add the following content to the bashrc file.
The content after java_home is your custom JDK storage directory
Export java_home =/usr/local/lib/JVM/jdk1.7.0 _ 67
Export jre_home =$ {java_home}/JRE
Exportclasspath =.: $ {java_home}/lib: $ {jre_home}/lib
Export path =$ {java_home}/bin: $ path
3. Set the default JDK version
Sudo
1) Download jdk-6u45-linux-x64.bin.tar.**2) put it in a directory and unzip it.3) Execute the following commandchmod +x Jdk-6u45-linux-x64.bin./jdk-6u45-linux-x64.binMkdir-p/USR/LIB/JVMMV JDK1.6.0_45/USR/LIB/JVMUpdate-alternatives--install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_45/bin/java" 1Update-alternatives--install "/usr/bin/javac" "Javac" "/usr/lib/jvm/jdk1.6.0_45/bin/javac" 1Update-
program runs, of course, can not find the corresponding class. The company compiled server is actually configured with multiple JDK versions, and Android compilation is the JDK version set when setting environment variables.Compiling android4.4 uses jdk1.6, and compiling android5.0 uses jdk1.7, which involves switching the JDK version at any time. First to see how to set the JDK environment variables, Baidu Search to get the answer is to modify the ~/.BASHRC or modify the/etc/profile file to co
://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
You can download the latest version of the JDK.
2. Unpack first
sudo tar zxvf./jdk-8u72-linux-x64.tar.gz
Then use MV to move to the directory you want to reach, such as:
MV jdk1.8.0_72 * * * * * (target location)
3. Setting Environment variables
Edit the. bashrc file.
Enter the following command at the terminal:
Vim ~/.BASHRC
At the end of the file, add the following lines of code:
Export JAVA_HOME=XXX (JDK install
If there is more than one Java version installed (sometimes some software installed itself), how to easily switch it. In addition to the common settings environment variables, today learned a new way to switch:Update-alternatives--config JavaUpdate-alternatives--config JavacAlso, how to install your own Java version:sudo update-alternatives--install/usr/bin/java
kinds of links: Hard link (hard link) and soft link (also known as symbolic link, that is, soft link or symbolic link). Links for Linux systems to solve the shared use of files, but also brings the hidden file path, increase the security of permissions and save storage, and other benefits. If an inode number corresponds to multiple file names, these files are referred to as hard links. In other words, a hard link is one file that uses multiple aliases (the following figure hard link is an alias
You can use the LS command to see that Python binaries are available in your system as follows.
$ ls/usr/bin/python*
/usr/bin/python/usr/bin/python2/usr/bin/python2.7/usr/bin/python3/usr/bin/python3.4/ usr/bin/python3.4m/usr/bin/python3m
Perform the following command to view the default Python version information:
$ python--version
python 2.7.8
1. Modify Python version based on User:
To modify the Python version for a particular user, simply create an alias (alias) und
Tags: des style http color java using OS StrongRecently need to do JSP project, deployed in Ubuntu, the weekend time to configure the Nginx + PHP + mysql + phpmyadmin + tomcat environment, from the Windows C # turn around, how much some do not adapt, estimated to go the whole stack direction. By the way, the introduction of the configuration method, complete under the console. 1.1 Common
Start Terminal
Ctrl+alt+t
Using the root user
Sudo–sh
View process
Atitit. GroupBy LINQ Implementation (1)-----LINQ Framework Selection java. net PHPThe implementation method is as follows1. Dsl/java8 Streams AP, targeted query API, recommended 12. Linq::: DSL 1 for like SQL1.1. linq4j (JDK6 ok,jdk7 compilation error , horse jar download ) 11.2. Quaere: LINQon Java ( new sourcecode) 11.3. Josql is also API 2 similar to Quaere1.4.. Net LINQ 23. SQL parsing 24. Lambda 25.
I. OverviewADSL is an asymmetric version of DSL that uses digital coding to obtain maximum data transfer capacity from existing copper telephone lines without interfering with conventional voice services on the same line. The reason for this is that it transmits data in frequencies other than telephone voice transmissions. That is, users can call or send faxes while surfing the internet, which will not affect the quality of the call or reduce the spee
In Ubuntu, if you have more than one Java version installed (sometimes some software installs itself), how can you easily switch? In addition to the common settings environment variables, today learned a new way to switch:Update-alternatives--config JavaUpdate-alternatives--config JavacAlso, how to install your own Java version:sudo update-alternatives--install/u
When you install Debian Linux, the installation process may also provide you with multiple Python versions available, so there will be multiple Python executable binaries in the system. You can use the LS command to see that Python binaries are available in your system as follows.
$ ls/usr/bin/python*
/usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 / usr/bin/python3.4 /usr/bin/python3.4m /usr/bin/python3m
Perform the following command to view the default Python vers
problem is the readability of the code. It is not easy to immediately see what this code wants to achieve, so it needs to be carefully checked for omission or not being strictly in line with the requirements. When requirements change, it is desirable to know exactly where the code needs to be modified and, as a modification, to be confident that it will not affect other functions. Meta-programming concepts are used to solve this problem.Pragmatic Programmer (pragmatic programmer?) The meta-prog
Reading directory:1. requirement background (the Model metadata setting item should be bound to the View instead of the ViewModel) 1. 1. determine the scope of the problem domain (you can use DSL to manage the problem domain, provided that the domain model is locked) 2. migrate ViewModel settings to an external configuration file (extended Model metadata provider) 2. 1. implement the metadata provider (simple example) 1. requirement background (the Mo
Atitit. Summary of the powerful concepts and methods used to improve the efficiency and quality of software development
1. Three worst problems in mainstream programming 1
1.1. A long time from understanding the problem to implementation 1
1.2. Understand and maintain code 2
1.3. High learning curve 2
1.4. poor scalability 2
1. CoC 2
2. dsl 2
3. DSM 3
4. 4gl 3
5. Generative programming (GP) 3
5.1. Development for reuse and reuse 3
6. Introduction of
DSLpppoe server Construction
I. Main content:
Build your own pppoe server through the LAN, and the DSL router completes pppoe dial-up Internet access through the pppoe server.
Ii. Material preparation:
1. A computer installed with linux (ubuntu is used for testing)
2. a dslam Device
3. a DSL
3. Build Steps
3.1 Topology
The computer has dual-nic, eth0 is connected to DSLAN, and eth1 is connected to the rou
Atitit. GroupBy LINQ Implementation (1)-----LINQ Framework Selection java. net PHPImplementation methods have such as the following1. Dsl/java8 Streams AP, targeted query API, recommended 12. Linq::: DSL 1 for like SQL1.1. linq4j (JDK6 ok,jdk7 compilation error , horse jar download ) 11.2. Quaere: LINQon Java ( new sourcecode) 11.3. Josql is also API 2 similar to Quaere1.4..Net LINQ 23. SQL parsing 24. La
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.