1. the local machine is not connected to the Internet. Set yum to search for vi/etc/yum from the local device. repos. d/Centos-Media.repo2. mount isomount/dev/cdrom/mnt/cdrom3.yum install yum-yinstallsamba * -- skip-broken4. modify the configuration
To know which components are installed, run the command rpm-qa | grephttpdrpm-qa | grepmysqlrpm-qa | grepphp to view the locally installed apache, mysql, and php services. If the returned result is null, the service is not installed on the local
Run the following command to install Apache2: run yum-yinstallhttpd. after you press enter, yum will prompt the httpd version that has been installed and update it automatically. if not, the httpd version is automatically installed. Note that enter
Mysql is set as the linux service cp/usr/local/mysql/share/mysql. server/etc/init. d/mysqldchkconfig -- addmysqldchkconfig -- level2345mysqldonchownmysql: mysql-R/usr/local/mysql/se mysql is set as the linux service cp/usr/local/mysql/share/mysql.
Pipeline and redirection 1 in linux: the idea of pipeline linux is to collect many small programs, each of which has special expertise. The load task is not completed by large software, but by Shell mechanism, combined with many small programs. Only
In Linux, FTP file transfer is used. here we will briefly record how to use ftp to implement file transfer in windows and ftp. 1. set up an FTP server. Www.2cto.com we download an FTP tool. 3 CDaemoon is recommended here. Of course you can...
In
ELF magic number parsing in Linux: In Linux, we can usually use the readelf command to view ELF file information. For example, the www.2cto. comELF file contains 32-bit and 64-bit versions. The structure information of the 32-bit version is as
A file descriptor is a simple integer used to indicate the files and sockets opened by each process. The first open file is 0, the second is 1, and so on. A Unix operating system usually imposes a limit on the number of files that can be opened by
Centosel6_X64 install postfixTMAIL5.0.1 first install centosel6 minimum or software workstation www.2cto.com first after installing the system, delete the built-in MYSQLPOSTFIXHTTPDrpm-qa | grepmysql | xargsrpm-e -- nodepsr... centos el6_X64 install
Determine whether a process exists based on the pid # The first column of the command ps-af is the process idwww.2cto.com # $ {pid}, and then judge $? Whether the value is 0 or not. if the value is 0, ps-ax | awk & #39; {print $1} & #39; | grep-e &
Concise Linux command line notes 6: rmdirrmdirwww.2cto. comrmdir can only be used to delete empty directories. usage rmdir [option]... directory... 2. common parameter-p recursively delete directory-v shows detailed information about deletion 3.
Process context VS interrupt context kernel space and user space are two working modes of modern operating systems. kernel modules run in kernel space, while user-mode applications run in user space. They represent different levels and have
When the Linux kernel is loaded, the kernel module vmlinz (about 5 MB) does not know the hard disk. Originally, the kernel needs to write the same content as the loader to load non-essential modules. Non-essential functions of the www.2cto.com
Svn: version Library xxx does not exist | svn: Nosuchrevisionxxx & quot; data loss caused by unexpected server interruptions when such an error occurs, for example: the version already submitted to the server is 100. after the server is powered off,
The first problem that occurs after the project is deployed to linux is the exception error generated during tomcat startup: java. io. fileNotFoundException: Mirrors. log (Permissiondenied) www.2cto.com this error is caused by my log4j.
Light VIM (3): delete this section to see how to delete it. The delete command is relatively simple, however, to delete www.2cto.com more efficiently, you need to delete x from the position of the cursor in conjunction with the various moving
Generally, this-bash: make: commandnotfound prompt appears, because the mini installation is minimized during system installation. if the system does not install common commands such as make and vim, directly install yum;
Function description: sets or displays environment variables. Syntax: export [-fnp] [variable name] [variable setting value] Supplementary Note: When executing a program in shell, shell provides a set of environment variables. Export allows you to
Introduction to AIX environment variables and the use of [plain] environment variables are the variables set in the operating system environment, applicable to user processes throughout the system; environment variables can be set in commands,
Nginx sets the whitelist www.2cto.com based on the end number of the website user. In fact, this requirement is very common. a new function is developed. First, you need to test run the function on the website. Therefore, you need to set a whitelist
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