Let's take a look at an example:
[root@local opt] #ls-al
The Ls-al command is all files that list directories, including hidden files. The filename of the hidden file is the first character '. '
-rw-r--r--1 root root 08-02 14:54
#CentOS Install Nginx Server #
1, if not installed GCC development tools, please install first: Yum groupinstall-y "Development Tools"
2, download the new version of the nginx:http://nginx.org/en/download.html,Download to Local: wget
Nginx CentOS Service boot Setup
Create a service file
Taking Nginx as an example
Vim/lib/systemd/system/nginx.service
Insert content in Nginx.service
[Unit]
Description=nginx
after=network.target
[service]
type=forking
execstart=
CentOS Boot Custom Script
Sometimes we need to set up a script on the server so that he can start it on his own. The method is as follows:
cd/etc/init.d VI youshell.sh #将youshell. SH modified for your own foot name
Write your own script and save
Docker is an open source application container engine that allows developers to package their apps and dependencies into a portable container, and then publish it to any popular Linux machine or virtualization. Containers are completely using the
Install the system and related services httpd,mysql,php, a run code, found php5.3 in the spilt function can not be used, the code inside a lot of use Ah, hurriedly online find out, there is no yum install php5.2 or change the dead code.
I found it.
System upgrade to CentOS 7 after the total feeling iptables strange, for example, no matter how to save the restart after the initialization, even if I finally issued a big trick when the start of the command:First iptables-save >/etc/iptables.rules
Cleaning up the boot-up service
Shows the startup status of all running levels for all services#chkconfig –listStop all services starting at run Level 3#for Oldboy in ' chkconfig–list |grep 3:on |awk ' {print $} ';d o chkconfig–level 3 $oldboy
Although it's simple to build SVN on windows, it's not very efficient, of course, compared to Linux. However, it's very cumbersome to build SVN on Linux, so today's article is a step-by-step lesson on how to build svn on CentOS.
The installation
I started to learn Linux these days because I used windows so I installed a virtual machine. Here, I installed the virtual machine VMware9.0 download address and the Chinese method.
Http://www.linuxidc.com/Linux/2012-11/73743.htm
and give a centos5
Experimental environment:
Linux CentOS 5.5 Units
IP Address: 192.168.99.99
Test Purpose:
To install a DNS deployment pack
Create forward and reverse zones. Test to verify DNS success.
Create a record, PTR pointer;
Deployment process:
1, view
Execute the PS-EF |grep tomcat output as follows Sun 5144 1 0 10:21 pts/1 00:00:06/java/jdk/bin/java-djava.util.logging.manager=org.apache.juli.classloaderlogmanager
1. Download VMware2. Ready the image file for CentOS3. Open VMware to create a new virtual machineSelect Custom Advanced and press NextContinue to the nextChoose to install the operating system laterClient OS Select Linux, version select CentOS
Recently, git has been used for code release and version management online, but it has never been recorded before. This is recorded from today.On linux (the current article uses centos, ubuntu uses apt-get, which is not described here) there are two
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