Solution:
sudo gedit/etc/network/interfaces
Auto Dsl-provider changed into #auto dsl-provider
In addition, all DSL-related statements are commented, restarted, OK.
To set a static IP method:
Ubuntu's network parameters are saved in
1. Configure network adapters by DHCP
Edit File/etc/network/interfaces:
sudo vi/etc/network/interfaces
Use the following line to replace the line about eth0:
# The primary network Interface-use DHCP to find we address
Auto Eth0
Iface eth0 inet DHCP
"Chapter I."
Before, there was the smell of FreeBSD in the Web server domain has a fast stability such as "rock-solid" high-performance, as an important part of the Unix BSD family, has excellent network and security performance, software rich,
#fdisk/dev/sdb
Enter Fdisk mode:
Command (M for help):p//View new hard disk partitions
Command (M for help): N//Create a new partition
Command Action
e extended//input E to create an extended partition
P primary partition (1-4)//input p for
Many times we need to look at the log file for the application, but there are usually a lot of logs from our previous applications, and sometimes it's a bit laborious to look at the logs generated by the current application, and we might want to
Description of the phenomenon:Encryption on Windows is normal, Linux on the normal, decryption occurs when the following exception:
Copy Code code as follows:
Javax.crypto.BadPaddingException:Given final block not properly padded
Inter-process Communication overviewInterprocess communication has the following objectives:1, the data transmission, a process needs to send it to another process, the amount of data sent between a byte to a few m;2, sharing data, multiple
Set up this server, so that intranet users through the server and external communication; The basic principle for intranet users through the FreeBSD Gateway routing function (route) and external network communication, server security and virus
Chown Modify user and user group properties for files and folders
1. To modify the owner of the file HH.C. This user modified to Sakia all
Chown Sakia hh.c
This applies the HH.C user access rights to the Sakia as the owner
2. Change the
First download bind from http://download.chinaunix.net/download/0001000/6.shtml, I downloaded is bind-9.3.2.tar.gz
The files I downloaded are placed in the/OPT/SRC directory
Go to directory to decompress
[root@linux src] #tar zxvf bind-9.3.2.tar.gz
ln
This is a very important Linux command, please be sure to be familiar with. Its function is for a file in another location to establish a link, the most common parameter is-s, the specific use is: Ln-s source file Destination file.
When we need
In the process of learning Linux, installing Linux is the first hurdle for every beginner. In the middle of the process, the biggest confusion is to partition the hard disk. Although the various versions of Linux now offer a friendly graphical
Suppose you need to transfer all the PHP files in the ipaddr directory from gb2312 to UTF8
CD ipaddr
Find./-type f-name "*.php" |while read Line;do
Echo $line
Iconv-f gb2312-t UTF-8 $line > ${line}.utf8
MV $line ${line}.gb2312
MV ${line}.utf8
DTC compiler: The device tree source DTS file is compiled as a binary file DTB.DTC compiler's role: is to the device tree source file syntax check, according to the Linux kernel requirements to check each node and attributes, the device tree source
Sed is a good file processing tool, itself is a pipeline command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work. Now with Python simple implementation of the main sed
First install and configure the software Sambasudo yum install samba samba-clientVim/etc/samba/smb.confFind the security line and change the # comment symbol toSecurity = Share #共享模式Add the following code:[Share]Comment = sharePath =/home/test
Linux and linux commands
[Root @ localhost ~] #
Root -- username localhost -- local ~ -- Different users in the home directory # -- the current user is the administrator $ -- Common User
Command Format: Command [Options] [parameters]
Pwd -- Current
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