![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
迈刀bb
这个作者很懒,什么都没留下…
展开
-
linux中git源码编译并且配置远程仓库
1.下载链接:https://pan.baidu.com/s/1rK8c7WIAyuoHDo2eVruGMQ提取码:ax8a2.解压tar -zxvf --------.tar.gz3.编译make prefix=/usr/local/git allmake prefix=/usr/local/git install4.配置环境变量vim /etc/profile生效配置文件 source /etc/profile5.配置git信息 (1) . 设...原创 2020-07-19 19:17:04 · 366 阅读 · 0 评论 -
linux由于环境配错导致无法使用vim等常用命令的办法
直接在根目录下输入:export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin之后既可以vim等命令原创 2020-07-19 15:47:55 · 268 阅读 · 0 评论 -
Linux7.5+Docker+宝塔+Phpstrom完整创建的全过程。(一次安装全程无报错)
本章安装由linux7.5+docker+宝塔一.安装前的准备1.虚拟机Vm2.Linux7.5镜像文件ps:因为宝塔默认的挂载点是/www/wwwroot,所以在安装linux镜像时可以先创建一个挂载点/www。以下为安装linux7.5过程找到需要安装的镜像文件这里我安装的linux大小为20GB,可根据实际添加大小选择语言中文...原创 2018-10-08 14:30:35 · 3147 阅读 · 0 评论 -
centos7 ping: www.baidu.com: Name or service not known
[root@www ~]# ping www.baidu.comping: www.baidu.com: Name or service not known[root@www ~]#1、网络配置查看记住NAT设置中的子网IP、子网掩码、网关IP三项,接下来配置文件主要是这三项。2、编辑Linux中的网络配置文件vi /etc/sysconfig/network-s...转载 2018-10-03 17:02:57 · 20084 阅读 · 0 评论 -
phpstrom映射linux目录(虚拟机下)
以上配好后按ok确认就好!点击deployment查看!出现以下则表示配置ok。点击红色箭头的列表则可以进行编辑了。原创 2018-05-28 19:43:58 · 801 阅读 · 0 评论 -
redis登录客户端出现Could not connect to Redis at 127.0.0.1:6379: Connection refused的解决方法
1.开启redis服务端下载好redis安装包,解压安装之后,复制其配置文件redis.conf 到etc 文件夹下 cd /opt/redis-3.2.8 cp redis.conf /etc进入etc,找到redis.conf 并修改 daemonize no(第128行) 为 daemonize yes ,这样就可以默认启动就后台运行开启客户端要确保服务端启动 redis...转载 2018-05-21 10:32:22 · 36977 阅读 · 1 评论 -
windows访问虚拟机中的linux系统
1.下载git for windows并配置好git2.windows桌面下右击选择Git Bash here3.在终端输入ssh xxx@ip地址 并输入密码(xxx表示当前linux用户名,ip地址为linux中的ip,密码为linux登录密码)4.连接成功界面5.su命令切换高级权限使用6.切换普通权限通过windows访问下,可以下载更多需要的软件进linux啦。...原创 2018-05-20 20:26:50 · 2485 阅读 · 0 评论 -
Linux搭建lamp(Apache+PHP+Mysql环境)centos6.3版详细教程
文章目录一、 检查系统环境二、安装Apache、PHP、Mysql三、安装基本常用扩展包四、配置Apache、mysql开机启动五、配置Mysql六、测试环境七、小结一、 检查系统环境1、确认centos版本[root@localhost ~]# cat /etc/redhat-releaseCentOS Linux release 7.2.1511 (Core) 2、检查是否安装过apach...转载 2018-05-20 20:08:50 · 297 阅读 · 0 评论 -
查看CentOS上Apache位置,版本,停止,启动
查看Apache是否被安装:[root@asg11 ~]# find / -name 'httpd'/etc/sysconfig/httpd/etc/httpd/etc/logrotate.d/httpd/etc/rc.d/init.d/httpd/var/run/httpd/var/log/httpd/var/lock/subsys/httpd/usr/sbin/httpd/usr/lib64/...原创 2018-05-20 19:39:58 · 2076 阅读 · 0 评论 -
linux显示用户名 is not in the sudoers file的解决方法
在linux终端输入su root 回车后输入密码,然后输入visudo找到root ALL=(ALL) ALL,在下面添加一行XXXX ALL=(ALL) ALL 其中XXXX是你要加入的用户名称按ESC退出编辑状态输入 :wq!保存文件注:这个文件是只读的,不加“!”保存会失败。...原创 2018-05-20 14:48:44 · 4289 阅读 · 0 评论