随笔分类 -  debian

linux learning //
摘要:1,客户端 生成公钥与私钥 ssh-keygen -t rsa -C ‘email’ -f ~/.ssh/user_ssh 然后会在~/.ssh生成user_ssh, user_ssh.pub 2,服务端 user登录服务端,并上传user_ssh.pub到服务端 配置ssh touch ~/.ss 阅读全文
posted @ 2016-02-29 17:06 batch.me 阅读(6499) 评论(0) 推荐(0)
摘要:1先说脚本执行问题ubuntu下/bin/sh的指向ubuntu 下 /bin/sh 默认是dash,用ls -l /bin/sh就可以看出来sh是指向dash的链接,有时候会导致使用bash脚本的时候出问题。如果遇到这个问题了,就要把sh指向bash。可以用ln:ln -s /bin/bash /... 阅读全文
posted @ 2015-12-30 10:25 batch.me 阅读(428) 评论(0) 推荐(0)
摘要:设置允许远程连接MySQL (Ubuntu为例)MySQL默认配置是不允许远程连接,为了安全!然而我需要这么做;开始改配置;#1 设置用户权限Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.m... 阅读全文
posted @ 2015-03-05 18:00 batch.me 阅读(290) 评论(0) 推荐(0)
摘要:sudo aptitude install sshssh localhost测试无问题之后往下看 开启root支持首先给ubuntu root添加密码sudo passwd root 小插曲配置系统允许root登录sudo vi /usr/share/lightdm/lightdm.conf.d/5... 阅读全文
posted @ 2015-02-12 22:19 batch.me 阅读(167) 评论(0) 推荐(0)
摘要:小项目需要sqlite3数据库支持官网下载http://www.sqlite.org/download.html解压,进入目录执行./configuremakemake install运行后出错哈哈麻烦让人成长关键词搜索到了 http://blog.csdn.net/gebitan505/artic... 阅读全文
posted @ 2014-12-17 14:49 batch.me 阅读(1040) 评论(0) 推荐(0)
摘要:学习需要新安装了debian7.5发现其别致之处即使是ubuntu熟手(比如我)也会有束手无策的地方本文说明1>软件源更新问题2>中文输入问题3>liberoffice中文显示问题安装完debian7.5后我迫不及待的想更新软件发现会提示让插入cd盘进行更新这问题好说打开/etc/apt/sourc... 阅读全文
posted @ 2014-11-24 19:12 batch.me 阅读(234) 评论(0) 推荐(0)