Linux - 安装 SSH服务 Linux

一、开启SSH服务。使用命令 sudo /etc/init.d/ssh start 来开启服务 显示:sudo /etc/init.d/ssh:找不到命令 说明没安装 SSH服务 二、安装 SSH服务, 1、更新源:sudo apt-get update 更新安装源 2、安装SSH服务:sudo apt-get install open...
Le无忧 发布于 

Linux - Apache服务常见配置文件 Linux

文件名称 作用 /etc/httpd 服务目录 /etc/httpd/conf/httpd.conf 主配置文件 /var/www/html 网站数据目录 /var/log/httpd/access_log 网站数据目录 /var/log/httpd/error_log 错误日志 /etc/httpd/conf.d 附加模块...
Le无忧 发布于 

备案

备个案
Le无忧 发布于 

设置vim 永久显示行号

syntax on "syntax enable filetype plugin indent on set clipboard=unnamed,unnamedplus set smarttab set autoindent set number set title set noswapfile "set lazyredraw set ttyfast " s...
Le无忧 发布于 

Apache

vhost.conf 配置 访问 http 时跳转到 https Listen 80 NameVirtualHost *:80 <VirtualHost *:80> #DocumentRoot /var/www/html ServerName t.apios.ltd ServerAlias t.apios.ltd RewriteEngine o...
Le无忧 发布于 

Linux Linux

查看是否安装apache服务 apachectl -v //或 httpd -v 重启httpd服务 systemctl restart httpd 关闭、开启 systemctl stop httpd //关闭 systemctl start httpd //开启 修改HOSTS文件 # vim /etc/hosts
Le无忧 发布于 

Linux 常用命令 - ping命令详解 Linux

1、每隔0.6秒ping一次,一共ping 5次: ping -c 5 -i 0.6 apios.ltd 2、指定次数后停止ping: ping -c 3 qq.com 3、访问网址: curl https://apios.ltd
Le无忧 发布于 

composer 卸载扩展或删除扩展包

查看当前所有安装的扩展包 composer show -i 卸载扩展包,使用 composer remove composer remove topthink/think-image
Le无忧 发布于 

phpstorm调试XDebug 超时问题

phpstorm+xdebug+apache 调试代码时,一分钟就超时处理: 修改配置文件: 1.php.ini 设置xdebug, 增加 xdebug.remote_cookie_expire_time = 3600 max_execution_time=3600 max_input_time=3600 default_socket_timeout = 3...
Le无忧 发布于 

Linux 压缩/解压 Linux

tar格式压缩和解压 (1)打包归档格式: tar -cvf examples.tar files|dir 说明: -c, --create create a new archive 创建一个归档文件 -v, --verbose verbosely list files processed 显示创建归档文件的进程 -f, --file=ARCHIVE u...
Le无忧 发布于