随笔分类 -  Linux

摘要:我们经常需要在服务器上安装mysql,各种文档都有,但是很多都是一部分,我现在总结了一下,放到一起,以后大家不用一篇一篇查询了。 1.安装yum repo 由于CentOS 的yum源中没有mysql,需要到mysql的官网下载yum repo配置文件。 然后进行repo的安装: 执行完成后会在/e 阅读全文
posted @ 2019-03-21 11:44 Vevi-DP 阅读(214) 评论(0) 推荐(0)
摘要:这是因为Device没有权限 解决方案: 1.终端,找到AndroidStudio的PlatForm-Tools 文件夹,重启adb服务 2.拔掉USB再重新插入USB,为了让AndroidStudio找到设备 如果是Ubuntu可以看这篇文章:https://blog.csdn.net/h3c4l 阅读全文
posted @ 2018-10-29 16:51 Vevi-DP 阅读(403) 评论(0) 推荐(0)
摘要:Centos7 在桌面创建AndroidStudio快捷方式 前言 最近安装了Centos7,打算将开发平台转移到Linux下,安装好AndroidStudio后,桌面没有快捷方式有些不习惯,随自己创建。 看了很多教程,发现参差不齐,将自己的记录下来,更其他人提供一些帮助 机器环境 Linux下环境 阅读全文
posted @ 2018-10-29 12:34 Vevi-DP 阅读(845) 评论(0) 推荐(0)
摘要:#!/bin/bash # #判断文件夹内文件的大小,如果大于一定的数值,那么删除 # echo '判断文件夹内文件的大小,如果大于一定的数值,并且文件名称包含数字(年月日)的删除,那么删除' path=/usr/local/vevigame/mqantserver/bin/logs max=100 阅读全文
posted @ 2018-08-30 16:45 Vevi-DP 阅读(664) 评论(0) 推荐(0)
摘要:#!/bin/sh #add for chkconfig #chkconfig: 2345 70 30 #description: the description of the shell #启动MQANT服务 #processname: andyStart : #第一个进程名,后边设置自启动的时候会用到 #1. vi /et... 阅读全文
posted @ 2018-08-30 14:01 Vevi-DP 阅读(220) 评论(0) 推荐(0)
摘要:Centos Setup Go yum install glibc-headers gcc-c++ # 一键安装shadowsocks 1. wget --no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com 阅读全文
posted @ 2018-08-30 13:57 Vevi-DP 阅读(324) 评论(0) 推荐(0)
摘要:1.安装APache。即 httpd 2.需要将80端口添加进iptable。外网才能访问。命令:iptables -I INPUT -p TCP --dport 80 -j ACCEPT 阅读全文
posted @ 2017-06-18 00:18 Vevi-DP 阅读(145) 评论(0) 推荐(0)
摘要:I meet lots of problems when i installed and use ubuntu 16.04.below is my using note: (my operating system is english, so i use english and let this a 阅读全文
posted @ 2017-05-07 17:45 Vevi-DP 阅读(217) 评论(0) 推荐(0)