1.chmod commandChmod is a very important command that changes the access rights of a file or directory. Users use it to control access to files or directories.1.1 Text Setting methodchmod [who] [+ | - | =] [mode] File nameWho's value:
U:
Replace the Ari Yum1. Download wgetYum install-y wget 2. Back up the default YumMv/etc/yum.repos.d/etc/yum.repos.d.backup3. Set up a new Yum directoryMkdir/etc/yum.repos.d 4. Download the Alibaba Yum configuration to this
Linux Beginner-selinux articleSELinux is a mandatory access control (MAC) security system, the most outstanding new security system in the history of Linux. For the Linux security module, the SELinux function is the most comprehensive, the test is
Common symbols~ Login User's current home directory. Current directory.. Top level directory of current directoryCD-Returns the last directory; Command delimiter# indicates a comment? Wildcards represent any one character* Wildcard denotes any
1st Log garbled:JDK Reference set java reference parameter add "-dfile.encoding=utf-8-dsun.jnu.encoding=utf-8"Add the above parameter to the java_opts variable in catalina.sh and restart the Tomcat,ok.If not: Install Chinese language pack yum
The compression formats commonly used in Linux are. zip. gz. bz2. tar.gz. tar.bz2One,. zip1. Command formatZip compressed filename source file name (zip file to current directory)Zip-r compressed file name source directory name (compressed directory
DemandA machine can access the external network, B machine and a machine in the same intranet, now let B machine through a machine to access the external network.Steps1. Add a NIC to the virtual machine.If there is no segment name, click the ' LAN
Linux system modifies the Jenkins default home directoryBecause the default home directory space for Jenkins is too small, the default directory needs to be modified in production to other directories. In a Linux environment, the Jenkins home
CentOS7 's firewall has been replaced by firewall, here are some records, here are some commands:To add an exception port:# Firewall-cmd--add-port=8080/tcpTo remove an exception port:# Firewall-cmd--remove-port=8080/tcpTo view the exception port:#
1. Review the ProcessPs-ef | grep keyword/* keyword for service name */NETSTAT-UNLTP | grep keyword/* keyword is a service name or a port */2. Kill the ProcessKILL-9 Process Number/* Operation be cautious */3. Paging to view filesCat file name |
Swap configuration method under Linux environmentScene:Install a CentOS6.5 operating system this afternoon and forget to configure the swap partition. After looking at how to install the system, add and remove swap partitions.Here's how:1. Memory
[Email protected] ~]# Mysql-urootMariaDB [(None)]> SHOW DATABASES;MariaDB [(none)]> QUITTo change the password for the database account:mysqladmin [-u user name] [-p[old password]] password ' new password 'Import/Restore to database:MySQL [-u user
On the internet to see jetty feel very NB on the deployment of play, a long experience.Download Jetty9 AddressHttp://www.eclipse.org/jetty/previousversions.htmlYou can pick your own version here, I choose the 9 version hereHere I put the jetty in
Install Zookeeper:: http://mirror.bit.edu.cn/apache/zookeeper/The ZK node is preferably an odd number, which makes it easy to select the leader node in the node;Upload the zookeeper-3.4.10 installation package to the/software directory:TAR-ZXVF
ObjectiveInstalling virtual machines with VMware This is generally known and easy to operate. In this paper, we mainly use the subsequent related configuration of virtual machine. And record the problems encountered during use and some techniques.
A very old question, finding a suitable Linux distribution is more important than simply pointing out which Linux version is popular. Why do you say that? Let's set a scenario: You have a user, most likely, he used to work on a Windows or MAC system
Modify the firewall configuration needs to modify/etc/sysconfig/iptables This file, if you want to open which port, add a bar inside.-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 1521-j ACCEPTYes, where 1521 is the port number to open,
Threads are a popular programming abstraction for parallel execution on modern operating systems. When multiple threads in a program are forked to execute multiple streams, these threads share specific resources (such as memory address space, open
I'm just here to introduce Windows access to Linux1.linux server, MySQL configuration1.mysql Service port number, open port number, so that IP access to the server2. Turn on MySQLSet Remote access PermissionsIt means that someone else wants to
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