1. About the installation of MUD under Linux: First, have a V22PRE11 such a for Linux Mudos source code, then in its decompressed directory, there is a src directory, the following is the source code, you need to the build.mudos Permissions Configuration and then run, then run: gmake install, installation, after installation, you should install Driver and Addr_Server, two executables and a config.example configuration file in the bin directory in the previous directory. Download a for Linux Mudlib places the World folder under the Mudlib of the previous directory, then according to the libness, the configuration of the file for config.example is different, you need to pay attention to the file file, Maybe some LIB does not, you need to manually add such a TMP folder in the xyj450, add a TMP folder on the ADM / below and a swapfile of the following SwapFile, you can
Startup is very simple: in the bin directory: ./ driver config.example can then Ctrl Z, type: BG is transferred to the background, then Jobs, check the background running situation, and the FG returns the front desk to review the operation.
2. A small script, you can automatically run the process to close, then restart the process #! / Bin / bash #! / Usr / local / bin / xxx / bin / kill $ (PS AX | grep xxx | grep 9999 Cut -D '' -f1) / bin / kill $ (PS AX | GREP XXX | GREP 9999 | CUT -D '' -f2) / bin / KILL $ (PS AX | GREP XXX | GREP 9999 | CUT -D '' -f3) / usr / local / bin / xxx
3. A variety of ways to get Unicom's WAP mobile phone number: (extracted, not necessarily used) Mobile = Request.serverVariables ("http_x-up-caling-line-id") Mobile1 = request.serverVariables ("X-Up-Calling -Line-ID ") Mobile2 = Request.serverVariables (" http_x_up_subno ") Mobile3 = Request.ServerVariables (" DeviceID ") Mobile4 = Request.ServerVariables (" http_deviceid ")
After the product is online, the X-Up-Calling-Line-ID field can get about 70% mobile phone number.
4.Linux partition:
/ 100-150M / SWAP 1024M / VAR 500M / USR 5120M / TMP 300M / HOME Remaining Space
/ HOME is the partition / usr of the user stored files to store applications / var is a partition / TMP stored temporary file / TMP stored for temporary files such as logs and messages, print jobs, multiple logs for installation / delete programs or other operations. The most typical is PHP session
5. Back up files from a machine to another machine [root @ xxx] # SCP -R XXX / XXX.XXX.XXX.XXX:/XXX/