随笔分类 - Linux
摘要:https://www.freecodecamp.org/news/how-to-compress-files-in-linux-with-tar-command How to Compress and Extract Files Using the tar Command on Linux UPD
阅读全文
摘要:https://www.cyberciti.biz/faq/how-to-tar-a-file-in-linux-using-command-line/ Author: Vivek Gite Iam a new Linux user. How can I create a tar file in L
阅读全文
摘要:How to kill server when seeing “EADDRINUSE: address already in use” https://stackoverflow.com/questions/4075287/node-express-eaddrinuse-address-alread
阅读全文
摘要:https://stackoverflow.com/questions/12867573/searching-from-end-of-file-using-vim Searching from end of file using VIM Ask Question Asked 9 years, 8 m
阅读全文
摘要:https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/ Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) th
阅读全文
摘要:https://ubuntu.com/server/docs/samba-file-server File Server One of the most common ways to network Ubuntu and Windows computers is to configure Samba
阅读全文
摘要:如何选gcc包,避免安装不需要的包 Cygwin读音:/ˈsɪɡwɪn/ 参考:http://blog.sina.com.cn/s/blog_143cf62360102wrgd.html。 gcc官网没有提供windows平台的二进制文件,只提供源码,官方推荐windows下要用Gcc需使用cygw
阅读全文
摘要:Enhanced terminal for Windows with X11 server, tabbed SSH client, network tools and much more MobaXterm X server and SSH client Enhanced terminal for
阅读全文
摘要:windows下用eclipse+goclipse插件+gdb搭建go语言开发调试环境 http://rongmayisheng.com/post/windows%E4%B8%8B%E7%94%A8eclipsegoclipse%E6%8F%92%E4%BB%B6gdb%E6%90%AD%E5%BB
阅读全文
摘要:1.关闭ubuntu的防火墙 ufw disable2.卸载了iptables apt-get remove iptables1.用iptables -F这个命令来关闭防火墙,但是使用这个命令前,千万记得用iptables -L查看一下你的系统中所有链的默认target,iptabl...
阅读全文
摘要:http://jingyan.baidu.com/article/67508eb4d6c4fd9ccb1ce470.htmlUbuntu 14.04 FTP服务器--vsftpd的安装和配置我们经常需要将本地的文件上传到远程的Ubuntu 14.04服务器上,或者把远程Ubuntu 14.04服务器...
阅读全文
摘要:https://help.ubuntu.com/lts/serverguide/openldap-server.htmlif error occurs in reinstall, try this:"1)sudo apt-get purge slapd 2)sudo apt-get install ...
阅读全文
摘要:分类: LINUX 今天在用户组中新加了一个普 通用户,开始这个用户没有sudo权限,于是通过sudo visudo修改了sudo的配置文件,赋予了普通用户的root权限。后来想着能不能将/etc/sudoers文件的访问权限改为777,然后直接在 编辑这个文件。于是想也没想就这么干了。结果改完之后...
阅读全文
摘要:cat /etc/sudoers root ALL=(ALL)ALL: ALLdo not change it to root ALL=(ALL)NOPASSWD: ALLSince root should always have a password. Then we could logi...
阅读全文
摘要:两者的区别是dpkg绕过apt包管理数据库对软件包进行操作,所以你用dpkg安装过的软件包用apt可以再安装一遍,系统不知道之前安装过了,将会覆盖之前dpkg的安装。1、dpkg是用来安装.deb文件,但不会解决模块的依赖关系,且不会关心ubuntu的软件仓库内的软件,可以用于安装本地的deb文件。...
阅读全文
摘要:http://www.cnblogs.com/lost-1987/archive/2012/10/17/2727285.html今天在虚拟机里做DRBD实验,使用chkconfig管理服务的时候,出现了问题。 root@node2:/root# chkconfig --list | grep...
阅读全文
摘要:http://blog.csdn.net/jizhongchun/article/details/8519413导读:我就是一个Chrome Fans。最近发现一款google官方出的SSH插件 -Secure Shell(当前版本为0.8.8)。在这里。详细:1 下载。到google应用商店下载扩...
阅读全文
摘要:https://help.ubuntu.com/12.04/serverguide/openldap-server.htmlubuntu安装openldap经历了一系列挫折,网上找了半天资料都是一模一样,根本不能解决问题。1.使用 apt-get install slapd ldap-utils,提...
阅读全文
摘要:在Ubuntu14.04下安装Google Chrome浏览器非常简单,只要到Chrome的网站下载Deb安装包并进行安装即可。当然你也可以使用APT软件包管理器来安装Google Chrome浏览器,如果你想使用APT软件包管理器安装Google Chrome浏览器的话,本文将介绍这两种方法。目前...
阅读全文
摘要:1 . 使用方式 :ln [option] source_file dist_file -f 建立时,将同档案名删除. -i 删除前进行询问. ln -s abc cde 建立abc 的软连接 ln abc cde 建立abc的硬连接,2. 软链接与硬链接的...
阅读全文