1. 程式人生 > >Nginx 1.2.0安裝 PHP 5.4.3(FastCGI)+MySQL 5.5.24

Nginx 1.2.0安裝 PHP 5.4.3(FastCGI)+MySQL 5.5.24

  1. ;;;;;;;;;;;;;;;;;;;;;
  2. ; FPM Configuration ;
  3. ;;;;;;;;;;;;;;;;;;;;;
  4. ; All relative paths in this configuration file are relative to PHP's install
  5. ; prefix (/usr/local/webserver/php). This prefix can be dynamicaly changed by using the
  6. ; '-p' argument from the command line.
  7. ; Include one or more files. If glob(3) exists, it is used to include a bunch of
  8. ; files from a glob(3) pattern. This directive can be used everywhere in the
  9. ; file.
  10. ; Relative path can also be used. They will be prefixed by:
  11. ; - the global prefix if it's been set (-p arguement)
  12. ; - /usr/local/webserver/php otherwise
  13. ;include=etc/fpm.d/*.conf
  14. ;;;;;;;;;;;;;;;;;;
  15. ; Global Options ;
  16. ;;;;;;;;;;;;;;;;;;
  17. [global]
  18. ; Pid file
  19. ; Note: the default prefix is /usr/local/webserver/php/var
  20. ; Default Value: none
  21. pid = run/php-fpm.pid
  22. ; Error log file
  23. ; If it's set to "syslog", log is sent to syslogd instead of being written
  24. ; in a local file.
  25. ; Note: the default prefix is /usr/local/webserver/php/var
  26. ; Default Value: log/php-fpm.log
  27. ;error_log = log/php-fpm.log
  28. ; syslog_facility is used to specify what type of program is logging the
  29. ; message. This lets syslogd specify that messages from different facilities
  30. ; will be handled differently.
  31. ; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
  32. ; Default Value: daemon
  33. ;syslog.facility = daemon
  34. ; syslog_ident is prepended to every message. If you have multiple FPM
  35. ; instances running on the same server, you can change the default value
  36. ; which must suit common needs.
  37. ; Default Value: php-fpm
  38. ;syslog.ident = php-fpm
  39. ; Log level
  40. ; Possible Values: alert, error, warning, notice, debug
  41. ; Default Value: notice
  42. ;log_level = notice
  43. ; If this number of child processes exit with SIGSEGV or SIGBUS within the time
  44. ; interval set by emergency_restart_interval then FPM will restart. A value
  45. ; of '0' means 'Off'.
  46. ; Default Value: 0
  47. ;emergency_restart_threshold = 0
  48. ; Interval of time used by emergency_restart_interval to determine when
  49. ; a graceful restart will be initiated. This can be useful to work around
  50. ; accidental corruptions in an accelerator's shared memory.
  51. ; Available Units: s(econds), m(inutes), h(ours), or d(ays)
  52. ; Default Unit: seconds
  53. ; Default Value: 0
  54. ;emergency_restart_interval = 0
  55. ; Time limit for child processes to wait for a reaction on signals from master.
  56. ; Available units: s(econds), m(inutes), h(ours), or d(ays)
  57. ; Default Unit: seconds
  58. ; Default Value: 0
  59. ;process_control_timeout = 0
  60. ; The maximum number of processes FPM will fork. This has been design to control
  61. ; the global number of processes when using dynamic PM within a lot of pools.
  62. ; Use it with caution.
  63. ; Note: A value of 0 indicates no limit
  64. ; Default Value: 0
  65. ; process.max = 128
  66. ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
  67. ; Default Value: yes
  68. ;daemonize = yes
  69. ; Set open file descriptor rlimit for the master process.
  70. ; Default Value: system defined value
  71. ;rlimit_files = 1024
  72. ; Set max core size rlimit for the master process.
  73. ; Possible Values: 'unlimited' or an integer greater or equal to 0
  74. ; Default Value: system defined value
  75. ;rlimit_core = 0
  76. ; Specify the event mechanism FPM will use. The following is available:
  77. ; - select (any POSIX os)
  78. ; - poll (any POSIX os)
  79. ; - epoll (linux >= 2.5.44)
  80. ; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
  81. ; - /dev/poll (Solaris >= 7)
  82. ; - port (Solaris >= 10)
  83. ; Default Value: not set (auto detection)
  84. ; events.mechanism = epoll
  85. ;;;;;;;;;;;;;;;;;;;;
  86. ; Pool Definitions ;
  87. ;;;;;;;;;;;;;;;;;;;;
  88. ; Multiple pools of child processes may be started with different listening
  89. ; ports and different management options. The name of the pool will be
  90. ; used in logs and stats. There is no limitation on the number of pools which
  91. ; FPM can handle. Your system will tell you anyway :)
  92. ; Start a new pool named 'www'.
  93. ; the variable $pool can we used in any directive and will be replaced by the
  94. ; pool name ('www' here)
  95. [www]
  96. ; Per pool prefix
  97. ; It only applies on the following directives:
  98. ; - 'slowlog'
  99. ; - 'listen' (unixsocket)
  100. ; - 'chroot'
  101. ; - 'chdir'
  102. ; - 'php_values'
  103. ; - 'php_admin_values'
  104. ; When not set, the global prefix (or /usr/local/webserver/php) applies instead.
  105. ; Note: This directive can also be relative to the global prefix.
  106. ; Default Value: none
  107. ;prefix = /path/to/pools/$pool
  108. ; Unix user/group of processes
  109. ; Note: The user is mandatory. If the group is not set, the default user's group
  110. ; will be used.
  111. user = nobody
  112. group = nobody
  113. ; The address on which to accept FastCGI requests.
  114. ; Valid syntaxes are:
  115. ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
  116. ; a specific port;
  117. ; 'port' - to listen on a TCP socket to all addresses on a
  118. ; specific port;
  119. ; '/path/to/unix/socket' - to listen on a unix socket.
  120. ; Note: This value is mandatory.
  121. listen = 127.0.0.1:9000
  122. ; Set listen(2) backlog.
  123. ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
  124. ;listen.backlog = 128
  125. ; Set permissions for unix socket, if one is used. In Linux, read/write
  126. ; permissions must be set in order to allow connections from a web server. Many
  127. ; BSD-derived systems allow connections regardless of permissions.
  128. ; Default Values: user and group are set as the running user
  129. ; mode is set to 0666
  130. ;listen.owner = nobody
  131. ;listen.group = nobody
  132. ;listen.mode = 0666
  133. ; List of ipv4 addresses of FastCGI clients which are allowed to connect.
  134. ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
  135. ; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
  136. ; must be separated by a comma. If this value is left blank, connections will be
  137. ; accepted from any ip address.
  138. ; Default Value: any
  139. ;listen.allowed_clients = 127.0.0.1
  140. ; Choose how the process manager will control the number of child processes.
  141. ; Possible Values:
  142. ; static - a fixed number (pm.max_children) of child processes;
  143. ; dynamic - the number of child processes are set dynamically based on the
  144. ; following directives. With this process management, there will be
  145. ; always at least 1 children.
  146. ; pm.max_children - the maximum number of children that can
  147. ; be alive at the same time.
  148. ; pm.start_servers - the number of children created on startup.
  149. ; pm.min_spare_servers - the minimum number of children in 'idle'
  150. ; state (waiting to process). If the number
  151. ; of 'idle' processes is less than this
  152. ; number then some children will be created.
  153. ; pm.max_spare_servers - the maximum number of children in 'idle'
  154. ; state (waiting to process). If the number
  155. ; of 'idle' processes is greater than this
  156. ; number then some children will be killed.
  157. ; ondemand - no children are created at startup. Children will be forked when
  158. ; new requests will connect. The following parameter are used:
  159. ; pm.max_children - the maximum number of children that
  160. ; can be alive at the same time.
  161. ; pm.process_idle_timeout - The number of seconds after which
  162. ; an idle process will be killed.
  163. ; Note: This value is mandatory.
  164. pm = dynamic
  165. ; The number of child processes to be created when pm is set to 'static' and the
  166. ; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
  167. ; This value sets the limit on the number of simultaneous requests that will be
  168. ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
  169. ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
  170. ; CGI. The below defaults are based on a server without much resources. Don't
  171. ; forget to tweak pm.* to fit your needs.
  172. ; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
  173. ; Note: This value is mandatory.
  174. pm.max_children = 5
  175. ; The number of child processes created on startup.
  176. ; Note: Used only when pm is set to 'dynamic'
  177. ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
  178. pm.start_servers = 2
  179. ; The desired minimum number of idle server processes.
  180. ; Note: Used only when pm is set to 'dynamic'
  181. ; Note: Mandatory when pm is set to 'dynamic'
  182. pm.min_spare_servers = 1
  183. ; The desired maximum number of idle server processes.
  184. ; Note: Used only when pm is set to 'dynamic'
  185. ; Note: Mandatory when pm is set to 'dynamic'
  186. pm.max_spare_servers = 3
  187. ; The number of seconds after which an idle process will be killed.
  188. ; Note: Used only when pm is set to 'ondemand'
  189. ; Default Value: 10s
  190. ;pm.process_idle_timeout = 10s;
  191. ; The number of requests each child process should execute before respawning.
  192. ; This can be useful to work around memory leaks in 3rd party libraries. For
  193. ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
  194. ; Default Value: 0
  195. ;pm.max_requests = 500
  196. ; The URI to view the FPM status page. If this value is not set, no URI will be
  197. ; recognized as a status page. It shows the following informations:
  198. ; pool - the name of the pool;
  199. ; process manager - static, dynamic or ondemand;
  200. ; start time - the date and time FPM has started;
  201. ; start since - number of seconds since FPM has started;
  202. ; accepted conn - the number of request accepted by the pool;
  203. ; listen queue - the number of request in the queue of pending
  204. ; connections (see backlog in listen(2));
  205. ; max listen queue - the maximum number of requests in the queue
  206. ; of pending connections since FPM has started;
  207. ; listen queue len - the size of the socket queue of pending connections;
  208. ; idle processes - the number of idle processes;
  209. ; active processes - the number of active processes;
  210. ; total processes - the number of idle + active processes;
  211. ; max active processes - the maximum number of active processes since FPM
  212. ; has started;
  213. ; max children reached - number of times, the process limit has been reached,
  214. ; when pm tries to start more children (works only for
  215. ; pm 'dynamic' and 'ondemand');
  216. ; Value are updated in real time.
  217. ; Example output:
  218. ; pool: www
  219. ; process manager: static
  220. ; start time: 01/Jul/2011:17:53:49 +0200
  221. ; start since: 62636
  222. ; accepted conn: 190460
  223. ; listen queue: 0
  224. ; max listen queue: 1
  225. ; listen queue len: 42
  226. ; idle processes: 4
  227. ; active processes: 11
  228. ; total processes: 15
  229. ; max active processes: 12
  230. ; max children reached: 0
  231. ;
  232. ; By default the status page output is formatted as text/plain. Passing either
  233. ; 'html', 'xml' or 'json' in the query string will return the corresponding
  234. ; output syntax. Example:
  235. ; http://www.foo.bar/status
  236. ; http://www.foo.bar/status?json
  237. ; http://www.foo.bar/status?html
  238. ; http://www.foo.bar/status?xml
  239. ;
  240. ; By default the status page only outputs short status. Passing 'full' in the
  241. ; query string will also return status for each pool process.
  242. ; Example:
  243. ; http://www.foo.bar/status?full
  244. ; http://www.foo.bar/status?json&full
  245. ; http://www.foo.bar/status?html&full
  246. ; http://www.foo.bar/status?xml&full
  247. ; The Full status returns for each process:
  248. ; pid - the PID of the process;
  249. ; state - the state of the process (Idle, Running, ...);
  250. ; start time - the date and time the process has started;
  251. ; start since - the number of seconds since the process has started;
  252. ; requests - the number of requests the process has served;
  253. ; request duration - the duration in s of the requests;
  254. ; request method - the request method (GET, POST, ...);
  255. ; request URI - the request URI with the query string;
  256. ; content length - the content length of the request (only with POST);
  257. ; user - the user (PHP_AUTH_USER) (or '-' if not set);
  258. ; script - the main script called (or '-' if not set);
  259. ; last request cpu - the %cpu the last request consumed
  260. ; it's always 0 if the process is not in Idle state
  261. ; because CPU calculation is done when the request
  262. ; processing has terminated;
  263. ; last request memory - the max amount of memory the last request consumed
  264. ; it's always 0 if the process is not in Idle state
  265. ; because memory calculation is done when the request
  266. ; processing has terminated;
  267. ; If the process is in Idle state, then informations are related to the
  268. ; last request the process has served. Otherwise informations are related to
  269. ; the current request being served.
  270. ; Example output:
  271. ; ************************
  272. ; pid: 31330
  273. ; state: Running
  274. ; start time: 01/Jul/2011:17:53:49 +0200
  275. ; start since: 63087
  276. ; requests: 12808
  277. ; request duration: 1250261
  278. ; request method: GET
  279. ; request URI: /test_mem.php?N=10000
  280. ; content length: 0
  281. ; user: -
  282. ; script: /home/fat/web/docs/php/test_mem.php
  283. ; last request cpu: 0.00
  284. ; last request memory: 0
  285. ;
  286. ; Note: There is a real-time FPM status monitoring sample web page available
  287. ; It's available in: ${prefix}/share/fpm/status.html
  288. ;
  289. ; Note: The value must start with a leading slash (/). The value can be
  290. ; anything, but it may not be a good idea to use the .php extension or it
  291. ; may conflict with a real PHP file.
  292. ; Default Value: not set
  293. ;pm.status_path = /status
  294. ; The ping URI to call the monitoring page of FPM. If this value is not set, no
  295. ; URI will be recognized as a ping page. This could be used to test from outside
  296. ; that FPM is alive and responding, or to
  297. ; - create a graph of FPM availability (rrd or such);
  298. ; - remove a server from a group if it is not responding (load balancing);
  299. ; - trigger alerts for the operating team (24/7).
  300. ; Note: The value must start with a leading slash (/). The value can be
  301. ; anything, but it may not be a good idea to use the .php extension or it
  302. ; may conflict with a real PHP file.
  303. ; Default Value: not set
  304. ;ping.path = /ping
  305. ; This directive may be used to customize the response of a ping request. The
  306. ; response is formatted as text/plain with a 200 response code.
  307. ; Default Value: pong
  308. ;ping.response = pong
  309. ; The access log file
  310. ; Default: not set
  311. ;access.log = log/$pool.access.log
  312. ; The access log format.
  313. ; The following syntax is allowed
  314. ; %%: the '%' character
  315. ; %C: %CPU used by the request
  316. ; it can accept the following format:
  317. ; - %{user}C for user CPU only
  318. ; - %{system}C for system CPU only
  319. ; - %{total}C for user + system CPU (default)
  320. ; %d: time taken to serve the request
  321. ; it can accept the following format:
  322. ; - %{seconds}d (default)
  323. ; - %{miliseconds}d
  324. ; - %{mili}d
  325. ; - %{microseconds}d
  326. ; - %{micro}d
  327. ; %e: an environment variable (same as $_ENV or $_SERVER)
  328. ; it must be associated with embraces to specify the name of the env
  329. ; variable. Some exemples:
  330. ; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
  331. ; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
  332. ; %f: script filename
  333. ; %l: content-length of the request (for POST request only)
  334. ; %m: request method
  335. ; %M: peak of memory allocated by PHP
  336. ; it can accept the following format:
  337. ; - %{bytes}M (default)
  338. ; - %{kilobytes}M
  339. ; - %{kilo}M
  340. ; - %{megabytes}M
  341. ; - %{mega}M
  342. ; %n: pool name
  343. ; %o: ouput header
  344. ; it must be associated with embraces to specify the name of the header:
  345. ; - %{Content-Type}o
  346. ; - %{X-Powered-By}o
  347. ; - %{Transfert-Encoding}o
  348. ; - ....
  349. ; %p: PID of the child that serviced the request
  350. ; %P: PID of the parent of the child that serviced the request
  351. ; %q: the query string
  352. ; %Q: the '?' character if query string exists
  353. ; %r: the request URI (without the query string, see %q and %Q)
  354. ; %R: remote IP address
  355. ; %s: status (response code)
  356. ; %t: server time the request was received
  357. ; it can accept a strftime(3) format:
  358. ; %d/%b/%Y:%H:%M:%S %z (default)
  359. ; %T: time the log has been written (the request has finished)
  360. ; it can accept a strftime(3) format:
  361. ; %d/%b/%Y:%H:%M:%S %z (default)
  362. ; %u: remote user
  363. ;
  364. ; Default: "%R - %u %t \"%m %r\" %s"
  365. ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
  366. ; The log file for slow requests
  367. ; Default Value: not set
  368. ; Note: slowlog is mandatory if request_slowlog_timeout is set
  369. ;slowlog = log/$pool.log.slow
  370. ; The timeout for serving a single request after which a PHP backtrace will be
  371. ; dumped to the 'slowlog' file. A value of '0s' means 'off'.
  372. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  373. ; Default Value: 0
  374. ;request_slowlog_timeout = 0
  375. ; The timeout for serving a single request after which the worker process will
  376. ; be killed. This option should be used when the 'max_execution_time' ini option
  377. ; does not stop script execution for some reason. A value of '0' means 'off'.
  378. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  379. ; Default Value: 0
  380. ;request_terminate_timeout = 0
  381. ; Set open file descriptor rlimit.
  382. ; Default Value: system defined value
  383. ;rlimit_files = 1024
  384. ; Set max core size rlimit.
  385. ; Possible Values: 'unlimited' or an integer greater or equal to 0
  386. ; Default Value: system defined value
  387. ;rlimit_core = 0
  388. ; Chroot to this directory at the start. This value must be defined as an
  389. ; absolute path. When this value is not set, chroot is not used.
  390. ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
  391. ; of its subdirectories. If the pool prefix is not set, the global prefix
  392. ; will be used instead.
  393. ; Note: chrooting is a great security feature and should be used whenever
  394. ; possible. However, all PHP paths will be relative to the chroot
  395. ; (error_log, sessions.save_path, ...).
  396. ; Default Value: not set
  397. ;chroot =
  398. ; Chdir to this directory at the start.
  399. ; Note: relative path can be used.
  400. ; Default Value: current directory or / when chroot
  401. ;chdir = /var/www
  402. ; Redirect worker stdout and stderr into main error log. If not set, stdout and
  403. ; stderr will be redirected to /dev/null according to FastCGI specs.
  404. ; Note: on highloaded environement, this can cause some delay in the page
  405. ; process time (several ms).
  406. ; Default Value: no
  407. ;catch_workers_output = yes
  408. ; Limits the extensions of the main script FPM will allow to parse. This can
  409. ; prevent configuration mistakes on the web server side. You should only limit
  410. ; FPM to .php extensions to prevent malicious users to use other extensions to
  411. ; exectute php code.
  412. ; Note: set an empty value to allow all extensions.
  413. ; Default Value: .php
  414. ;security.limit_extensions = .php .php3 .php4 .php5
  415. ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
  416. ; the current environment.
  417. ; Default Value: clean env
  418. ;env[HOSTNAME] = $HOSTNAME
  419. ;env[PATH] = /usr/local/bin:/usr/bin:/bin
  420. ;env[TMP] = /tmp
  421. ;env[TMPDIR] = /tmp
  422. ;env[TEMP] = /tmp
  423. ; Additional php.ini defines, specific to this pool of workers. These settings
  424. ; overwrite the values previously defined in the php.ini. The directives are the
  425. ; same as the PHP SAPI:
  426. ; php_value/php_flag - you can set classic ini defines which can
  427. ; be overwritten from PHP call 'ini_set'.
  428. ; php_admin_value/php_admin_flag - these directives won't be overwritten by
  429. ; PHP call 'ini_set'
  430. ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
  431. ; Defining 'extension' will load the corresponding shared extension from
  432. ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
  433. ; overwrite previously defined php.ini values, but will append the new value
  434. ; instead.
  435. ; Note: path INI options can be relative and will be expanded with the prefix
  436. ; (pool, global or /usr/local/webserver/php)
  437. ; Default Value: nothing is defined by default except the values in php.ini and
  438. ; specified at startup with the -d argument
  439. ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f [email protected]
  440. ;php_flag[display_errors] = off
  441. ;php_admin_value[error_log] = /var/log/fpm-php.www.log
  442. ;php_admin_flag[log_errors] = on
  443. ;php_admin_value[memory_limit] = 32M

相關推薦

Nginx 1.2.0安裝 PHP 5.4.3FastCGI+MySQL 5.5.24

;;;;;;;;;;;;;;;;;;;;;; FPM Configuration ;;;;;;;;;;;;;;;;;;;;;;; All relative paths in this configuration file are relative to PHP's install; prefix (/usr/

Ubuntu 16.04.2 LTS 安裝 jdk1.6 和 tomcat6

pass set 命令 arc 記錄 variable ogr ant pat 上一篇記錄和分享了jdk1.6 在Ubuntu 16.04.2 環境下的安裝配置,本文開始安裝和配置tomcat 6 2 安裝tomcat http://tomcat.ap

Yii 2.0 數據庫簡單操作

conf enables sel base attr brush 個數 對象 創建數據庫   開始使用數據庫首先需要配置數據庫連接組件,通過添加 db 組件到應用配置實現("基礎的" Web 應用是 config/web.php),DSN( Data Source Name

K8S 1.9.0二進制包部署

無法 emc mod tps -o cal text tor amd 4、k8s node#############kubelet cp kubelet /usr/bin/chmod 755 /usr/bin/kubeletmkdir -p /app/kubernetes/

K8S 1.9.0二進制包部署

alt ces map ima config -c tex sta ffffff 6、dashboard v1.8.0在kubernetes目錄下有src的壓縮包,解壓後在cluster/addons/dashboard 下有5個文件dashboard-controller

K8S 1.9.0二進制包部署

ble forward term ecs core bus des usr ets 5、flannel cp flanneld /usr/bin/chmod 755 /usr/bin/flanneldmkdir -p /app/flannel/conf/ vi /usr/l

Spring Boot 2.0官方文件之 Actuator

執行器(Actuator)的定義 執行器是一個製造業術語,指的是用於移動或控制東西的一個機械裝置,一個很小的改變就能讓執行器產生大量的運動。 An actuator is a manufacturing term that refers to a mechanical device for

Vue 2.0學習筆記:事件匯流排EventBus

許多現代JavaScript框架和庫的核心概念是能夠將資料和UI封裝在模組化、可重用的元件中。這對於開發人員可以在開發整個應用程式時避免使用編寫大量重複的程式碼。雖然這樣做非常有用,但也涉及到元件之間的資料通訊。在Vue中同樣有這樣的概念存在。通過前面一段時間的學習,Vue元件資料通訊常常會有父子元

零基礎開發OpenGL ES 2.0學習筆記-Android篇

看到蘋果應用商店的火爆,也想做點東西放在上面,現在終於有點時間,可是發現用到的技術都不會,要學的東西很多呀(真是落伍了)~ 身為一個JAVA程式設計師,IOS完全不懂,Android只會一些皮毛,OpenGL更是一竅不通。 所有的東西肯定都是以JAVA思想來寫,摻雜著自己的

動手做ASP.NET 2.0伺服器端控制元件——AutoCheckTreeView功能討論

感謝譚振林先生所著《道不遠人——深入解析ASP.NET 2.0控制元件開發》  ASP.NET現在使用的朋友是越來越多了,而其中一些很“方便”的控制元件事實上在實際使用過程中卻不是那麼方便。還好,我們有辦法改善它們,或者是繼承現有控制元件後擴充套件,或者是繼承Control

Go語言安裝及sublime text 3 IDE搭建

1. 下載go安裝包,直接選擇下一步下一步即可,之後環境變數會自動配置,需要修改一個環境變數的位置:GOPATH 根據自身的工作路徑進行設定即可 2. 開啟subline text 3; 3. 選擇 (1)按住鍵盤:ctrl+`(左上角的1鍵旁邊的那個鍵)輸入如下文

CentOS 7 下 PHP 7,MySQL 5.7 和 Nginx 1.8 的安裝與配置實用

下面將一步步在 CentOS 7 下 PHP 7,MySQL 5.7 和 Nginx 1.8 的安裝與配置。首先我的 CentOS 版本是7.0.1406 [[email protected] ~]# lsb_release -a LSB Version:  

centos7.5版本安裝nginx.1.14.0時需要安裝的依賴

這是我所使用的linux版本7.5的,建議大家在虛擬機器中安裝好linux之後快照備份一下 安裝好系統後想要安裝lnmp環境,先安裝nginx 我下的nginx的tar包是nginx-1.14.0這個版本 參考朋友寫的nginx原始碼安裝文章安裝nginx https://no

ruby 2.1.1 rails 4.2.0 安裝gemset 卻少 mysql ,command line tool for mac osx

Last login: Wed Aug 17 13:13:31 on ttys000 kevindeMacBook-Pro:~ kevin$ gem sources *** CURRENT SOURCES *** https://rubygems.org/ kevinde

4.Kali 1.0 / 2.0 安裝中文輸入法谷歌pinyin + 其他

1.kali預設是沒有中午輸入法的,需要自己安裝一下 2.首先我們先獲取root許可權 [email protected]:~$ su密碼: 3.安裝中文輸入法(apt-get 指令不會的同學可以學習一下基礎指令哦) [email protected]:/home/dnt#

Hadoop-2.6.0+Zookeeper-3.4.6+Spark-1.5.0+Hbase-1.1.2+Hive-1.2.0叢集搭建

前言 本部落格目的在於跟大家分享大資料平臺搭建過程,是筆者半年的結晶。在大資料搭建過程中,希望能給大家提過一些幫助,這也是本部落格的

centos7編譯安裝LNMP(nginx-1.16.0,mysql8.0.16,php-7.3.6)常見問題報錯及解決方法

LNMP的安裝與配置 nginx-1.16.0安裝及配置: 第一步:前往官網下載nignx原始碼包     下載完畢後上傳至伺服器(先安裝lrzsz) yum -y install lrzsz 安裝完畢後執行: rz 找到nginx包後點擊確定,即可上傳成功   第二步: 解壓

Centos 7 nginx-1.12.0編譯安裝

不知道 kill further .org yum rewrite err ice sof 參考:http://www.nginx.cn/install 也不知道我的系統是否有這些依賴包,試試吧?缺少哪些我就裝哪些吧,多踏點坑總是能學到點東西的. 獲取nginx包 ht

Light Image Resizer(5.1.2.0)圖片批量處理工具便攜已註冊版

dib html 清晰 adobe cut 當前 支持 IT 水印 之前也分享過這類圖片批量處理工具,都還可以,今天就在來分享一個,這次的ui界面雞哥感覺還行,今天介紹的這個工具是Light Image Resizer,它可以把一張或多張圖片批量改大小,只需要把那些圖片拖到

ubuntu 18.04 LTS 安裝nginx-1.14.0

http 安裝 zlib width spa user pen open idt 更新ubuntu18.04LTS到最新; Nginx官網下載nginx-1.14.0穩定版; 安裝相關依賴 make、gcc、g++、openssl、libssl-dev、zlib1g、zl