Automatic Setup of LAMP environment for Linux server Shell code sharing

The LAMP (Linux-Apache-MySQL-PHP) website architecture is currently a popular Web framework, including: Linux operating system, Apache Network Server, MySQL database, perl, PHP, or Python programming language. all components are open-source software

Install LAMP in LINUX

Lamp linux Installation Summary 1. Insert a CD or ISO file 2. install it in text mode. input: text3, skip the CD check Skip4, and WelcometoCentOS! Ok5: Select English6 as the language, us7 as the keyboard, and prompt: The device will be initialized,

TCP will bypass the program

Tcp will preferentially read/etc/hosts. alow file, and then read/etc/hosts. in the deny file, allow has a higher priority than deny. for example, when hosts. the allow file contains the sshd: 192.168.0.8 entry, hosts. when the sshd: 192.168.0.8

Linux kernel version, system version, and number of system digits (32or64)

1. run the following command to view the kernel version: 1) [root @ q1test01 ~] # Cat/proc/versionLinuxversion2.6.9-22. ELsmp (bhcompile@crowe.devel.redhat.com) (gccversion3.4.4200507213.4.4-2) # 1SMPMonSe... 1. run the following command to view the

File Server SAMBA

Windows network neighbor file sharing protocol: SMB/CIFSSMB: service information block protocol ServerMessageBlockCIFS: Universal Internet file system CommonInternetFileSystemNETBIOS: Windows host name resolution broadcast form name resolution

Linux command-view file content

Label: cat: displays the file content starting from the first line; tac: displays the content starting from the last line. it can be seen that tac is in the opposite alphabetical order of cat; nl: displays the output row number when displaying; more:

Common SSH commands in LinuxVPS

Directory operation: rm-rfmydircdmydircd-cd... cd ~ Mvtoolstoolln-stoolbaccp-atool/home/vpser/www file operation: rmgo.tar findmt. cgidf & amp; ndash; h decompression: tarxvfwordpress.tar-tvf... Directory operation:Rm-rf mydirCd mydirCd-Cd ..Cd ~Mv

Tcp-wrapper and telnet knowledge points

Tcpwrapper is based on tcpd process access control. this is a mechanism that is simpler than iptables to set access control. it only needs to be in/etc/hosts. allow and/etc/hosts. you can simply set the two deny files to implement certain access

Linux scheduled task execution method at command and crontab service

In Linux, you can run the at command and the crontab service regularly. (1) if we only want to run a specific task with the at command, we need to use the at monitoring program. Setting the at command is very easy. it indicates the time at which the

What are the meanings of linux4-bit permissions?

I have been in touch with linux for a while, and a permission problem keeps me depressed. It cannot be found on the Internet (it is estimated that the keyword is incorrect). This is the 0777. what does the first 0 mean. I recently read a book (Linux

Nginx primary and primary load balancing architecture

When talking with some friends about Nginx + Keepalived technology, although I have successfully implemented the Nginx + Keepaived project for many times, these are all work with a single-master Nginx, since Nginx is only in the backup state for a

Usage of Sed commands in Linux

1. Introduction to Sed sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called patternspace. then, the sed command is used to process the content

NFS server configuration

NFS (Network File System) server configuration function: folder sharing is developed by sun. 1. check whether the NFS server is installed. RedHatEnterpriseLinux5 is installed by default. how can this problem be checked, run the following command:

Centos Chinese font installation

I 've been playing redhatas and 5.x recently installed the VM and got a centos to learn about it. as a result, there is no Chinese font... Can I beat the prawns if I leave them here. Solution ----------------------------------- install Chinese

Linux startup process

Because of the different BIOS functions, it consists of two parts: the POST code runtime service. After the POST is completed, it will be cleared from the memory, but the BIOSruntime service will be retained for the target operating system. In order

Common SecureCRT commands

Common commands: 1. ls only lists file names (which is equivalent to dir and dir can also be used)-A: lists all files, including hidden files. -L: a list that contains most attributes of a file. -R: recursive display. -- Help: the help of this

Yum full parameters

Some common commands are summarized as follows: 1. install yuminstall all install yuminstallpackage1 install the specified installation package1yumgroupinsallgroup1 installer group group12 update and upgrade yumupdate all update

Common linux commands 2

Sh code Lastlogin: SatSep1014: 57: 042011from192. 168.0.142 [root @ oplinux ~] # Ifconfigeth0Linkencap: EthernetHWaddr00: 0C: 29: 3A: 22: CAinetaddr: 192.168.91.128Bcast: 192.168.91. Sh codeLast login: Sat Sep 10 14:57:04 2011 from

Security log configuration (retain history logs)-linux server

In linux, you can use the history command to view all the user's historical operation records. Without additional configuration, the history Command can only view user operation history, but cannot distinguish between user and operation time. The

The magic of "&" in shell -- implementing multi-process concurrency

A simple dd script is written for testing, as follows #! /Bin/shfor (i1; I & lt; 5; I ++); do {ddif/mnt/ufstest/test $ I. when running tsof/dev/nullbs480K} done, dd can only read one file at the same time, which does not work for me. I wanted to

Total Pages: 2732 1 .... 1244 1245 1246 1247 1248 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.