![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
weixin_48031104
这个作者很懒,什么都没留下…
展开
-
Linux常用命令
1、查看文件 ls-s 详细信息 相当于ll-a 隐藏文件2、查看当前路径 pwd3、打开文件夹 cdcd ./当前没有了cd … 上层目录cd ~ 家目录4、创建文件 touch5、创建目录 mkdir-p 递归创建文件夹如mkdir -p 2/3/4创建了三层文件夹6、复制 cp 用法 cp [文件] [新文件名]-r 递归复制cp -r dir1 dir2dir 1 里面文件目录等直接复制7、移动 mv 也有改名的用法 mv [文件名] [新文件名]用法mv [原创 2020-06-03 17:09:33 · 78 阅读 · 0 评论 -
linux下如何设置php-fpm、mysql、nginx自启动
1、nginx自启动文件#!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse # proxy and IMAP/POP3 proxy server # processname: nginx # chkconfig: 2345 90 91 # de原创 2020-06-08 20:00:22 · 120 阅读 · 0 评论 -
windows条件下如何连接Linux的mysql数据库
先在linux中登录mysqlmysql -u用户名 -p密码更改mysql中的mysql库的user表use mysql;udata user set host='%' where user = 'root'select host,user from user;//刷新flush privileges;二、直接授权mysql -uroot -p123456grant all privileges on *.* to 'root'@'%' identified by '123456原创 2020-06-08 21:53:11 · 403 阅读 · 0 评论 -
配置nginx.conf
替换server部分 server { listen 80; server_name iwebshop.itcast.com; #静态请求处理的location location / { root html/iwebshop; index index.php index.html index.htm; } #动态请求处理的location原创 2020-06-08 21:56:29 · 75 阅读 · 0 评论 -
linux安装python出现的各种坑,如何顺利安装
python地址https://www.python.org/ftp/python/setuptools地址https://pypi.org/project/setuptools/#filespip地址https://pypi.org/project/pip/#files下载python文件然后解压然后开始编译直接安装即可,然后因为系统自带了python2.6所以这边要删掉之前的软链接,但是不用去卸载因为卸载完了yum 命令也废了删除之前的软链接rm -f /usr/bin/python原创 2020-06-18 16:22:56 · 228 阅读 · 0 评论 -
liunx启动jmeter-server
./jmeter-server -Djava.rmi.server.hostname=192.168.6.132原创 2020-06-13 20:17:52 · 493 阅读 · 0 评论