A little unaccustomed to csh under FreeBSD. although we can temporarily switch from bash to bash, it seems troublesome to do this once every time, use the chsh command to modify the default shell of FreeBSD: FreeBSD #
Today, I scanned the linux server and found some security risks in the httpd service. because a new version of apache has been installed before, the httpd service that comes with linux installation does not have to be left in the system. As a result,
Userwwwwww; # define the users running Nginx and the worker_processes8; # Number of processes. Generally, the number of processes is smaller than the number of CPUs. # [Debug | info | notice | warn | error | crit]
& Nbsp; change the permitted execution format for reading, writing, and executing a file or directory: chmod [-R] modename (name can be a file name or directory name; mode can be 3 8-digit numbers, or use the ls-l command to list the literal
After the ports and src are upgraded, the infrastructure is complete. now let's compile the kernel. Go to the kernel configuration file directory # cd/usr/src/sys/i386/conf # mkdir/root/kernels # cpGENERIC/root/kernels/IM. RD. BJ # ln-s/root/kernels/
1) Check the current zombie process information # ps-ef | grepdefunct | grep-vgrep | wc-l175 # top | head-2top-15: 05: 54up97days, & nbsp; 4 users, & nbsp; loadaverage: 0.66, 0.45, 0.39 Tasks: 829 total ,&
1) Check the current zombie process
1. users: & nbsp; adduserphpq & nbsp; & nbsp; & nbsp 1. user creation:
Adduser phpq // Create a phpq user
Passwd phpq // set a password for the phpq user
2. create a working group
Groupadd test // create a test workgroup
3. create a user and add a
& Nbsp; characters cannot be deleted when you have been using XSHELL or SRT for ftp login. ^ H is displayed when you press backspace for the wrong character each time. you can only press enter and enter the character again, which is depressing,
In linux inter-process communication, message transmission is mainly divided into pipelines, FIFO, and message queue (1) pipelines are created by the pipe function and provide a single (one-way) data stream. The pipe function returns two file
In our daily work, we will encounter various scenarios. merging two different domains into the same domain involves migration of user configuration files. The following are the specific implementation steps. Log on to the user's computer using an
Memcache is often used to accelerate the processing of applications. you don't need to say much about memcache, that is, adistributedmemoryobjectcachingsystem. since it is a system for storing things, you must have a place to store it, let's call it
Watch is a very practical command. basically all Linux distributions have this tool. like a name, watch can help you monitor the running results of a command, saving you the need to run it manually over and over again. Directly connect to the
1. Experiment 1: Signal Communication description: use signal communication to communicate between parent and child processes and brother processes. solution: Send a SIGCHLD signal to the parent process at the end of the sub-process, the parent
LVS is short for LinuxVirtualServer. it is often used as a load balancer in B/S network applications in the actual environment. it works in the layer-7 network model, the network layer, that is to say, in the IP layer, because data processing is
Ctrl + C: Send the SIGINT signal. by default, the process ends, but the process itself can redefine the behavior of receiving the signal. Ctrl + Z: Send the SIGSTOP signal, the process is only stopped, then send the SIGCONT signal, and the process
Official Address: gossip MS/MSERGEANT/xml-parser-2.34.tar.gz?tarzxvfxml-parser-2.34.tar. g
Official Address: http://projects.gnome.org/dia/InstallFirst install XML-Parser:Http://search.cpan.org/CPAN/authors/id/M/ MS/MSERGEANT/XML-Parser-2.34.tar.gz
Go to the Ubuntu official website to see several versions that can be downloaded: alternate (text installation), desktop9 (desktop), netbook (netbook), and server (server ). A reason for using server: 32-bit systems can use 4 GB or more memory, up
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