Wesley13 Wesley13
2年前
Ubuntu18开启redis服务自启动
设置redis服务开机自启动。1.创建配置文件夹sudomkdir/etc/redissudocp/usr/local/redis/redis.conf/etc/redissudocp/etc/redis/redis.conf/etc/redis/6379.conf2.
Wesley13 Wesley13
2年前
ubuntu ftp服务
aptgetinstallvsftpdaptgetupdatevi/etc/apt/sources.listvim /etc/vsftpd.confservicevsftpdrestart\
Wesley13 Wesley13
2年前
Linux下MySQL自启动
命令echo"servicemysqldstart"/etc/rc.local或者进入/etc/目录,直接vimrc.local编辑rc.local文件,在最后一行添加“servicemysqldstart”,保存退出bash:/etc/rc.local:Permissiondenied分析:bash返回 /etc/rc
Stella981 Stella981
2年前
CentOS7.2部署采集系统
rmrf/etc/yum.repos.d/\scproot@192.168.48.81:/etc/yum.repos.d/\/etc/yum.repos.d/vim/etc/hosts(添加10.0.153.222mirrors.tvmining.com)rpmivhkerneldevel3.10.0327.e
Stella981 Stella981
2年前
Linux上ssh免秘钥互登
两台机器分别为:master:192.168.1.10sever1:192.168.1.201、检查机器名和连通性a.查看/etc/hostnameroot@mastermastermore/etc/hostnamemastermaster@sever1~$more/etc/host
Wesley13 Wesley13
2年前
Ubuntu安装NGINX+PHP
禁止IP6协议vi/etc/modprobe.d/blacklist.conf底部追加blacklistipv6修改软件仓库源mv/etc/apt/sources.list/etc/apt/sources.list.bakvi/etc/apt/sources.listUbuntu14
Stella981 Stella981
2年前
Linux常用软件启动、停止、重启命令
一、PHP启动命令:/usr/local/php5/sbin/phpfpm停止命令:pkillphpfpm二、MySQL启动命令:/etc/init.d/mysqldstart停止命令:/etc/init.d/mysqldstop重启命令:/etc/
Stella981 Stella981
2年前
CentOS6.5 永久修改主机名
1、编辑/etc/sysconfig/network文件vi/etc/sysconfig/networkNETWORKINGyesHOSTNAMEtest012、修改 /etc/hosts文件root@localhost~vim/etc/hosts127.0.0.1
Stella981 Stella981
2年前
Linux用户的基本操作3 (组的基本管理,用户提权)
\toc\组的基本原理组账户信息保存在/etc/group和/etc/gshadow两个文件中./etc/group组账户信息root@zls~head2/etc/grouproot:x:0:bin:x:1:bin,daemon///etc
Stella981 Stella981
2年前
Cocos实现对ETC2的支持
!(https://oscimg.oschina.net/oscnet/dbe31317b01b4412a716c20f22359934.jpg"1711134845.jpg")在深圳Cocos沙龙上,有幸结识了社区中大名顶顶的Colin,Shawn在在论坛上第一次看到Colin的团队用CocosCreator制作的《热血暗黑》时就被深深地