内容简介:新主机配置清单
openresty
官网:https://openresty.org/cn/linux-packages.html
vim /etc/yum.repos.d/OpenResty.repo:
[openresty] name=Official OpenResty Repository baseurl=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/epel-$releasever-$basearch/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/openresty/openresty/pubkey.gpg enabled=1 enabled_metadata=1
yum install openresty
Vim
插件管理工具: https://github.com/VundleVim/Vundle.vim
MySQL:
yum install mariadb-server mariadb -y yum install mysql-devel systemctl enable mariadb
vim /etc/my.conf:
[mysqld] # 省略其他,增加下面一行配置 character-set-server = utf8 [mysql] # 省略其他,增加下面一行配置 default-character-set = utf8
systemctl start mariadb /usr/bin/mysqladmin -u root password 'new-password' mysql -uroot -p 'new-password'
create database myblog; GRANT ALL PRIVILEGES ON myblog.* TO 'the5fire'@'localhost' IDENTIFIED BY '123456';
导入数据: mysql -uthe5fire -p '123456'
> user myblog > source myblog.sql
Python
yum install python-devel yum install python-setuptools easy_install pip pip install virtualenv
Redis
yum install redis
no root user
useradd the5fire passwd 'suibianshishenmeba'
su - the5fire chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
----EOF-----
扫码关注,或者搜索微信公众号:码农悟凡
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
JSP 应用开发详解(第二版)
飞思科技产品研发中心 / 电子工业出版社 / 2004-1-1 / 55.00
本书结合JSP和Servlet的最新规范,从基本的语法和规范入手,以经验为后盾,以实用为目标,以实例为导向,以实践为指导,深入浅出地讲解了JSP 开发中的种种问题。以精简的内容介绍了JSP的语法、Servlet技术、JDBC技术、标签库技术、表达式语言、Struts、JavaServer Face等技术;对于JSP开发中常遇到的典型的难点,专门设置了专题进行集中讨论。本书的最后一篇围绕一个电子商务......一起来看看 《JSP 应用开发详解(第二版)》 这本书的介绍吧!