只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-05-28 16:06 PrimerPlus 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 30 Days of Node Inside this article! Introduction Console and its types New Console Clear Console Count console Count reset console Console error Cons 阅读全文
posted @ 2020-05-28 12:17 PrimerPlus 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 在编程领域中,模块是自包含的功能单元,可以跨项目共享和重用。它们使开发人员的生活更加轻松,因为我们可以使用它来增加应用程序的功能,而不必亲自编写这些功能,它还让我们可以组织和解耦代码,从而使应用程序更加容易理解、调试和维护。 那么如何使用Node.js中的模块呢,下面主要介绍如何导出和导入 不同的模 阅读全文
posted @ 2020-05-27 17:01 PrimerPlus 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 30 Days of Node Introduction Regular Expressions or regex or regexp or sometimes also referred to as rational expressions are : A sequence of characte 阅读全文
posted @ 2020-05-27 11:52 PrimerPlus 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 30 Days of Node Introduction Node.js gives the functionality of File I/O by providing wrappers around the standard POSIX functions. In Node.js, File I 阅读全文
posted @ 2020-05-27 01:14 PrimerPlus 阅读(70) 评论(0) 推荐(0) 编辑
摘要: Inside this article! Introduction Installation Hello World Simple Server Serve String Serve HTML Serve JSON Serve PDF Serve Audio Serve Video Summary 阅读全文
posted @ 2020-05-26 17:56 PrimerPlus 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Mostly all modern day web applications have some sort of data storage system at the backend. For example, if you take the case of a web shopping appli 阅读全文
posted @ 2020-05-25 18:07 PrimerPlus 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 一、下载并编译Redis 二、配置开机自启动Redis服务 将redis 6.0.3/utils目录下的redis_init_script脚本拷贝到/etc/init.d下修改名字为redis 三、编辑redis文件,在文件头部添加以下注释 四、拷贝redis.conf文件到/etc/redis目录 阅读全文
posted @ 2020-05-25 11:46 PrimerPlus 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Generic Binary Install MySQL 1、如果未在本地安装依赖库,则数据目录初始化以及后续的服务器启动步骤将会失败。安装libaio库的代码如下 2、添加mysql组和mysql用户。所有的文件和目录应该在mysql用户下 3、解压二进制文件 4、制作软连接 5、MySQL各个目 阅读全文
posted @ 2020-05-25 11:22 PrimerPlus 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 一、本地YUM源 1、 备份源文件 2、挂载镜像 开机挂载 3、编辑YUM源仓库文件 新增以下内容 4、清理YUM缓存, 重建YUM仓库 二、配置CentOS YUM源 1、备份源文件 2、下载CentOS Base.repo 到/etc/yum.repos.d/ 3、清理YUM缓存,重建YUM仓库 阅读全文
posted @ 2020-05-25 10:37 PrimerPlus 阅读(2706) 评论(0) 推荐(0) 编辑