linux
淘技术
专注于分享最前沿的技术干货,最热门的实用工具,最火爆的社区新闻!
展开
-
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
mysql 配置文件目录:/etc/my.cnfroot 密码为空的时候配置文件中下面这句:skip-grant-tablesGRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY '123' WITH GRANT OPTION;执行这句时候错误:转载 2017-07-31 09:47:28 · 1286 阅读 · 0 评论 -
使用SecureCRT修改linux防火墙端口
1.使用securecrt连接到linux指令: vim /etc/sysconfig/iptables查看配置防火墙的配置文件找到:-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPTlinux已将22端口释放,复制黏贴-A INPUT -m state --state NEW -m tcp -p t原创 2017-07-25 14:56:57 · 1752 阅读 · 0 评论 -
在linux下安装mysql
1.下载mysql地址:https://dev.mysql.com/downloads/mysql/2.进入linux操作界面,找到压缩包并解压命令:tar -zxvf mysql-5.6.17-linux-glibc2.5-i686.tar.gz3.将解压后的文件复制到本地自己目录命令:cp mysql-5.6.17-linux-glibc2.5-i686 /原创 2017-07-27 10:45:55 · 186 阅读 · 0 评论 -
Ubuntu开机报错:could not update ICEauthority file /home/user/.ICEauthority
该博客主要是转载http://blog.csdn.NET/jimson1988/article/details/8044621的内容主要是留着以后出现同样的问题的时候方便查询。解决方法如下:一、 代码:sudo chown $USER:$USER /home/$USER/.ICEauthority sudo chmod 644 /home/$US转载 2017-07-28 15:38:28 · 523 阅读 · 0 评论 -
linux下安裝mongodb
1.下载mongodb压缩包http://download.csdn.net/download/m0_37983376/99470852.复制到linux系统root目录中3.将压缩包拷贝到/user/local目录下 sudo cp mongodb-linux-i686-3.2.3.gz /user/local4.到/user/local目录下解压压缩包 cd原创 2017-08-23 17:30:00 · 297 阅读 · 0 评论 -
外界访问linux下的端口,连接不上
需要在linux的防火墙中将端口开放vi /etc/sysconfig/iptables添加-A INPUT -m state --state NEW -m tcp -p tcp --dport 6379 -j ACCEPT原创 2017-07-31 13:27:21 · 14351 阅读 · 0 评论