1. Configure a static Ubuntu IP address for the NICVi/etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.0.5 gateway 192.168.0.254 NETMA SK 255.255.255.0 Dns-nameservers 223.6.6.62. Modify the download
After installing Tomcat on Linux, the client input address HTTP://IP address is inaccessible and port 80 cannot be accessed.Because Linux firewall is turned off by default, Port 80. Therefore, to be able to access port 80, you can use two ways, one
First, Linux view the current state of the firewall1) View firewall status:/etc/init.d/iptables statusTo temporarily turn off the firewall:/etc/init.d/iptables stopPrevent firewalls from starting at system startup/sbin/chkconfig--level 2345 iptables
Shutdown and restart commands 1)shutdown-h now No special case, use this command- H turn off the machine- R Restart shutdown-r now command name:shutdownCommand path: /sbin/shutdownExecute Permissions: Root 2)rebootCommand name: rebootCommand
D: Catalogue-: General DocumentsL: Link FileB: Block device filesC: Character fileP: Pipeline FileS: Socket file rwx Permissions:to the file:r: read: Cat more less tail headw: write: Vimx: Executeto the directory:RX:CD +lsWX:RM MVrw: no meaningr:W:x:
TypeOf Basic Introduction
1 typeof(x)This is how it is used, and X can be a data type or an expression . Its role is similar to sizeof, which is that it works when the compiler translates from a high-level language, such as C, into assembly
First, download the JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlView Linxu number of system bits:getconf long_bitAccording to the number of bits of the system, download the corresponding version, mine is 64-bit:Second,
# total number of cores = number of physical CPUs X number of cores per physical CPU# Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads# View the number of physical CPUscat/proc/cpuinfo| grep
/bin inside is generally the ordinary executable program, and/sbin in the System Management program and service program s should be the word systemthe general role of each directory in Linux systemsRecord one: Linux each directory is actually a file,
A library is essentially a binary format of executable code that can be loaded into memory for execution. Two kinds of library static library and dynamic libraryStatic Library: This type of library name is generally libxxx.a, XXX is the name of the
Install Visual Studio Code in Ubuntu
Microsoft unexpectedly released Visual Studio Code and supported major desktop platforms, including linux. If you are a web developer who needs to work in Ubuntu, you can easily install Visual Studio Code.
I
Linux shell Command 1, linuxshell command
1 [root @ hadoop-namenode-1 iebd] cd/filename jump to the filename folder
2 [root @ hadoop-namenode-1 iebd] ls displays all files and folders under the Directory
3 [root @ hadoop-namenode-1 iebd] ifconfig
Linux Study Notes (MySql operations)
Forget the MySql password:
Edit the mysql main configuration file my. cnf and add the parameter skip-grant in the [mysqld] Field
Restart the Database Service so that you can access the database without
Familiar with SELinux Functions
Now, playing with the SELinux system has some value. For example, we use a strictly qualified ora Core 4 release. Most of these examples can basically run on Red hat Enterprise Linux version 4 or Fedora Core 5.
File encryption and decryption in Linux Security Mechanism
[What is encryption and decryption]Encryption: it refers to the process of converting plaintext into a ciphertext. It is to use a special algorithm to change the original information data so
Configure the local YUM source in RHEL6.5
1. Create a rhel-debuginfo.repo. If yes, back up and delete it.
cd /etc/yum.repos.d rm rhel-debuginfo.repo vi rhel-debuginfo.repo
Insert the following content:
[Server] name = Red Hat Enterprise Linux
Samba service has no access permission
After you have configured the Samba service on CentOS for several days, the following problems may occur:
At first, I thought it was my smbpasswd-a root command that didn't add the user to it. After that, I
Cross-server/client BACKUP command: rsync usage
Recently, we often need to deploy environments on a new server. Many things can be backed up directly from other servers without re-downloading and installing them.
The rsync command is used: first
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