
Linux上服务器
LazyCat--懒猫
天行健,君子以自强不息。地势坤,君子以厚德载物。
展开
-
linux du 查看文件夹大小
linux du 命令简单使用,查看文件夹大小原创 2021-12-14 10:26:39 · 10440 阅读 · 0 评论 -
nginx require(): open_basedir restriction in effect.
require(): open_basedir restriction in effect. File(............) is not within the allowed path(s): (/......./public/:/tmp/:/proc/) 错误https://lnmp.org/install.html 在使用lnmp一键安装后布置项目报如上错误修改cd /usr/loca...原创 2018-04-17 15:39:21 · 2427 阅读 · 0 评论 -
centos 7 vsftpd 安装
centos 7 配置vsftpd服务 centos 7 配置ftp原创 2016-11-17 09:51:19 · 429 阅读 · 0 评论 -
centos7 设置静态IP 备份
TYPE="Ethernet"BOOTPROTO="static"DEFROUTE="yes"PEERDNS="yes"PEERROUTES="yes"IPV4_FAILURE_FATAL="no"IPV6INIT="yes"IPV6_AUTOCONF="yes"IPV6_DEFROUTE="yes"IPV6_PEERDNS="yes"IPV6_PEERRO原创 2016-11-23 14:25:48 · 647 阅读 · 0 评论 -
nginx 配置 支持 index.php/login方法
nginx 配置 支持 index.php/login类似方法简易配置原创 2016-11-18 14:12:52 · 8709 阅读 · 0 评论 -
ubuntu 12.04 安装ssl 自签名证书
1. 启用 ssl 模块[plain] view plaincopyprint?sudo a2enmod ssl 2. 安装openssl[plain] view plaincopyprint?sudo apt-get install openssl 3. 创建CA签名(不使用密码去除-des3选项)[plain] view plaincopypri原创 2015-12-03 09:40:16 · 2876 阅读 · 0 评论 -
vsftpd.conf备份
# Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable.原创 2015-08-06 15:19:55 · 428 阅读 · 0 评论 -
Ubuntu 12 用vsftpd 配置FTP服务器
1、apt-get update;apt-get install vsftp;2、配置vi /etc/vsftp.conf文件#禁止匿名访问anonymous_enable=NO#接受本地用户local_enable=YES#允许上传write_enable=YES#用户只能访问限制的目录chroot_local_user=YES#设置固定目录,在结原创 2015-07-14 15:02:47 · 816 阅读 · 0 评论 -
UBUNTU编译安装SVN
cd /usrmkdir svnappmkdir yuancd yuan 获得安装文件tar zfxv apr-1.5.2.tar.gztar zfxv apr-util-1.5.4.tar.gztar zfxv subversion-1.9.2.tar.gztar zfxv zlib-1.2.8.tar.midownload.gzcd apr-1.5.2./confi原创 2015-10-10 15:56:01 · 1236 阅读 · 0 评论 -
linux svn authorization failed错误
找了半天错误原因authorization failed错误主要是conf/auth文件配置错误,可以参考如下配置:### This file is an example authorization file for svnserve.### Its format is identical to that of mod_authz_svn authorization### file原创 2015-10-09 17:05:16 · 10241 阅读 · 0 评论 -
Ubuntu中定时
vi /etc/crontab# /etc/crontab: system-wide crontab# Unlike any other crontab you don't have to run the `crontab'# command to install the new version when you edit this file# and files in /etc/c原创 2015-09-10 16:33:10 · 446 阅读 · 0 评论 -
Linux添加/删除用户和用户组
本文总结了Linux添加或者删除用户和用户组时常用的一些命令和参数。1、建用户:adduser phpq //新建phpq用户passwd phpq //给phpq用户设置密码2、建工作组groupadd test转载 2015-08-06 15:47:51 · 557 阅读 · 0 评论 -
ubuntu 12.04安装ffmpeg
1、下载ffmpeg-2.6.3.tar.bz2、last_x264.tar.bz2、yasm-1.2.0.tar.gz2、libx264需要yasm,所以先安装yasm3、安装ffmpeg的依赖包libfaac、libmp3lame、libtheora、libvorbis、libxvid、libxext、libxfixesapt-get install libfaac-dev原创 2015-05-21 10:34:44 · 3047 阅读 · 0 评论 -
ubuntu 定时、开机启动例子
# /etc/crontab: system-wide crontab# Unlike any other crontab you don't have to run the `crontab'# command to install the new version when you edit this file# and files in /etc/cron.d. These files原创 2015-08-11 10:45:24 · 1046 阅读 · 0 评论 -
ubuntu 远程链接mysql
授权1、登录 mysql -uroot -p 1234562、use mysql;3、GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;(可根据自己需要授权)4、检查/etc/mysql/my.cnf中bind-address设置,看是绑定的IP,根据实际情况设定(设原创 2015-05-25 10:08:27 · 712 阅读 · 0 评论 -
Ubuntu 桌面版 桥接设置
设置Ubuntu侨联备份点击add原创 2015-05-18 09:38:29 · 1267 阅读 · 0 评论 -
ubuntu远程连接
1、首先运行sudo apt-get update 2、sudo apt-get install openssh-server (如不执行步骤1、则可能出现错误)3、ps -e | grep ssh如果发现有sshd这个说明ssh server成功启动了。在链接时出现错误,帐号密码正确,就是链接不上有人提出解决方案,先卸载openssh-server,然后在重新安装原创 2015-05-18 10:55:37 · 654 阅读 · 0 评论 -
ubuntu 12.04上安装ffmpeg命令找不到
在ubuntu 12.04上安装ffmpeg后命令ffmpeg不管用把编译后文件中/usr/local/ffmpeg/bin/ffmpeg文件复制到/usr/ bin当中使用命令成功ffmpeg -version出现ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers由此得出在安装其他软原创 2015-05-28 15:16:12 · 5566 阅读 · 2 评论 -
SVN搭建
一、SVN默认安装目录/usr/bin二、创建仓库 svnadmin create /home/svnrepo/home/svnrepo为所创建仓库的路径,理论上可以是任何目录三、修改配置文件/home/svnrepo/conf/svnserve.conf代码转载 2011-08-29 13:25:19 · 402 阅读 · 0 评论