随笔分类 -  linux服务

linux服务器安装
Redis-Codis构建集群并优化
该文被密码保护。

posted @ 2018-05-14 09:28 超哥* 阅读(0) 评论(0) 推荐(0)

源码编译安装php7.0.5
摘要:源码编译安装php7.0.5 源码包下载地址 http://219.239.26.3/files/4255000007F687B2/cn2.php.net/distributions/php-7.0.5.tar.gz 安装epel扩展yum源 [root@xuegod63 ~]# rpm -ivh 阅读全文

posted @ 2016-05-14 17:01 超哥* 阅读(555) 评论(0) 推荐(0)

RHEL6.5源码安装mysql-5.7.11
摘要:源码编译mysql-5.7.11 下载地址: http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.11.tar.gz http://liquidtelecom.dl.sourceforge.net/project/boost/boost/1.59. 阅读全文

posted @ 2016-05-14 16:58 超哥* 阅读(289) 评论(0) 推荐(0)

解决apache启动错误"httpd:Could not reliably determine..."
摘要:启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl s 阅读全文

posted @ 2016-05-14 16:25 超哥* 阅读(1780) 评论(0) 推荐(0)

postfix-mysql-sasl-courier-httpd
摘要:courier-authlib dovecot postfix postdrop extmail mysql 系统版本6.7 软件版本 httpd-2.2.15-47.el6.centos postfix-3.1.0 extman-1.1 extmail-1.2 mysql 5.6.30 dovec 阅读全文

posted @ 2016-05-14 15:46 超哥* 阅读(268) 评论(0) 推荐(0)

centos删除系统自带的httpd
摘要:centos删除系统自带的httpd 1、[root@localhost etc]# rpm -qa|grep httpd,查看与httpd相关软件包。 httpd-tools-2.2.15-15.el6.centos.i686 httpd-2.2.15-15.el6.centos.i686 www 阅读全文

posted @ 2016-05-14 15:02 超哥* 阅读(438) 评论(0) 推荐(0)

linux下卸载apache方法小结
摘要:方法一 复制代码 代码如下: root@server ~]# rpm -qa|grep httpd httpd-2.2.3-11.el5_2.centos.4 httpd-manual-2.2.3-11.el5_2.centos.4 说明:rpm –qa | grep mysql 命令是为了把mys 阅读全文

posted @ 2016-05-14 15:01 超哥* 阅读(374) 评论(0) 推荐(0)

nginx 代理
摘要:nginx 代理: server { listen 80; server_name yiitest yiitest.com; error_log /var/log/www/yiitest_error.log; access_log /data/logs/nginx/wslm_access.log; 阅读全文

posted @ 2016-05-14 13:30 超哥* 阅读(276) 评论(0) 推荐(0)

imagick API 中文说明
摘要:下面是 imagick API 中文说明 : imagick 类 imagick::adaptiveblurimage 向图像中添加 adaptive 模糊滤镜 imagick::adaptiveresizeimage 自适应调整图像数据依赖关系 imagick::adaptivesharpenim 阅读全文

posted @ 2016-05-14 13:28 超哥* 阅读(1470) 评论(0) 推荐(0)

MySQL命令行操作
摘要:一:alter table用来创建普通索引,unique索引或primary key索引 普通索引:alter table t1 add index in_name(name) --t1表中的那么字段添加索引名为in_name 唯一索引:alter table t1 add unique(name) 阅读全文

posted @ 2016-05-14 13:21 超哥* 阅读(1021) 评论(0) 推荐(0)

虚拟机添加硬盘自动挂载
摘要:fdisk -l /dev/sdb Command (m for help): m Command (m for help): p Command (m for help): n Command action e extended p primary partition (1-4) p Partit 阅读全文

posted @ 2016-05-14 13:15 超哥* 阅读(355) 评论(0) 推荐(0)

linux添加开机自启动脚本
摘要:一、在/etc/rc.local中添加 如果不想将脚本粘来粘去,或创建链接什么的, 则: step1. 先修改好脚本,使其所有模块都能在任意目录启动时正常执行; step2. 再在/etc/rc.local的末尾添加一行以绝对路径启动脚本的行; 如: $ vim /etc/rc.local #!/b 阅读全文

posted @ 2016-05-14 13:08 超哥* 阅读(235) 评论(0) 推荐(0)

memcache
摘要:sudo apt-get install memcached 启动该服务: memcached -d -m 128 -p 11211 -u root 这里需要说明一下memcached服务的启动参数: -p 监听的端口 -l 连接的IP地址, 默认是本机 -d start 启动memcached服务 阅读全文

posted @ 2016-05-14 13:06 超哥* 阅读(158) 评论(0) 推荐(0)

linux查看系统的日志的一些实用操作
摘要:last -a 把从何处登入系统的主机名称或ip地址,显示在最后一行。 -d 指定记录文件。指定记录文件。将IP地址转换成主机名称。 -f 指定记录文件。 -n 或- 设置列出名单的显示列数。 -R 不显示登入系统的主机名称或IP地址。 -x 显示系统关机,重新开机,以及执行等级的改变等信息 以下看 阅读全文

posted @ 2016-05-14 13:04 超哥* 阅读(195) 评论(0) 推荐(0)

MySQL主从同步
摘要:my.cnf配置文件 /etc/my.cnf mysql数据库位置 datadir=/var/lib/mysql 1,修改mysql数据库的数据文件存储路径 cp /usr/share/mysql/my-default.cnf /etc/my.cnf (如果/etc下没有my.cnf) 停用mysq 阅读全文

posted @ 2016-05-14 13:03 超哥* 阅读(112) 评论(0) 推荐(0)

Linux压缩/解压缩命令使用方法
摘要:Linux压缩/解压缩命令使用方法 compress 命令 [root@ASM01 ~]# compress [-dcr] 文件或目录 参数: -d :用来解压缩的参数 -r :可以连同目录下的文件也同时给予压缩[此参数慎用比较危险] -c :将压缩资料输出成为 standard output (输 阅读全文

posted @ 2016-05-14 13:01 超哥* 阅读(836) 评论(0) 推荐(0)

Linux 系统挂载数据盘
摘要:下面的操作将会把数据盘划分为一个分区来使用。 1、查看数据盘 在没有分区和格式化数据盘之前,使用 “df –h”命令,是无法看到数据盘的,可以使用“fdisk -l”命令查看。如下图: [root@Image /]# fdisk -l Disk /dev/xvda: 21.5 GB, 2147483 阅读全文

posted @ 2016-05-14 12:59 超哥* 阅读(131) 评论(0) 推荐(0)

linux如何挂载U盘
摘要:挂u盘之前,运行命令cat /proc/partitions,看看现在系统中有哪些分区。插上u盘以后,再次运行上述命令,看看多出来什么分区... 阅读全文

posted @ 2016-05-14 12:52 超哥* 阅读(2524) 评论(0) 推荐(1)

lnmp源码搭建
只有注册用户登录后才能阅读该文。

posted @ 2016-05-14 12:48 超哥* 阅读(4) 评论(0) 推荐(0)

导航