ALTER DATABASE Test_DB modify name = Howie --更改数据库名 EXEC sp_renamedb 'Howie' , 'Howie_Wee' --更改数据库名 更改上面这些时,需要保证没有其他人或者应用连接数据库,否则会报错(无法用排他锁锁定该数据库,以执行该 ...
                            
                            
                                分类:
数据库   时间:
2019-12-20 01:23:16   
                                阅读次数:
160
                             
                    
                        
                            
                            
                                    nginx.conf /etc/nginx/nginx.conf ######Nginx配置文件nginx.conf中文详解##### #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8; #全局错 ...
                            
                            
                                分类:
其他好文   时间:
2019-12-19 16:26:40   
                                阅读次数:
85
                             
                    
                        
                            
                            
                                    # pgrep cron947[root@localhost cron]# pgrep --help Usage: pgrep [options] <pattern> Options: -d, --delimiter <string> specify output delimiter -l, --l ...
                            
                            
                                分类:
其他好文   时间:
2019-12-18 11:04:43   
                                阅读次数:
122
                             
                    
                        
                            
                            
                                    nginx配置文件 配置文件结构 全局配置(user、worker_processes、error_log、pid) events(网络连接相关,worker_connections) http(最重要的部分,大部分功能放这里) server(虚拟主机相关) location(server里面) 全 ...
                            
                            
                                分类:
其他好文   时间:
2019-12-17 22:39:44   
                                阅读次数:
108
                             
                    
                        
                            
                            
                                css中编辑此样式: 1 2 3 4 .bg { background:url(图片地址) no-repeat center; background-size:contain; } 然后在你的div里引用这个样式就行了: 1 <div class="row bg"> 使图片不随滚动条滚动,即固定不动 ...
                            
                            
                                分类:
其他好文   时间:
2019-12-16 09:32:50   
                                阅读次数:
862
                             
                    
                        
                            
                            
                                    ''' 一只飘来飘去的小乌龟,在触碰到边框的时候,马上掉头转向。 ''' import pygameimport sys pygame.init()size = width, height =600, 600speed = [-2, 1]bg = (254, 254, 254)screen = py ...
                            
                            
                                分类:
编程语言   时间:
2019-12-12 15:25:09   
                                阅读次数:
119
                             
                    
                        
                            
                            
                                    1 ######Nginx配置文件nginx.conf中文详解##### 2 3 #定义Nginx运行的用户和用户组 4 user www www; 5 6 #nginx进程数,建议设置为等于CPU总核心数。 7 worker_processes 8; 8 9 #全局错误日志定义类型,[ debug ...
                            
                            
                                分类:
其他好文   时间:
2019-12-07 12:40:47   
                                阅读次数:
237
                             
                    
                        
                            
                            
                                es报错:Native controller process has stopped - no
                            
                            
                                分类:
其他好文   时间:
2019-12-02 18:48:55   
                                阅读次数:
386
                             
                    
                        
                            
                            
                                一,操作系统的帮助命令:01,man----------获取命令/参数帮助等信息2,help----------获取命令参数信息写的格式—heip/-help/-h/--h3,bash,:,.,[,alias,bg,bind,break,builtin,caller,cd,command,compgen,complete,compopt,continue,declare,dirs,disown,e
                            
                            
                                分类:
系统相关   时间:
2019-12-02 15:11:23   
                                阅读次数:
123
                             
                    
                        
                            
                            
                                    ELK 日志分析 1. 为什么用到 ELK 一般我们需要进行日志分析场景:直接在日志文件中 grep、 awk 就可以获得自己想要的信息。但在规模较大的场景中,此方法效率低下,面临问题包括日志量太大如何归档、文本搜索太慢怎么办、如何多维度查询。需要集中化的日志管理,所有服务器上的日志收集汇总。常见解 ...
                            
                            
                                分类:
其他好文   时间:
2019-12-02 13:12:46   
                                阅读次数:
156