Linux文件压缩和打包

  • Post author:
  • Post category:linux

Linux文件压缩和打包 一、压缩打包介绍 常见压缩文件 ​ ~ Windows .rar .7z .zip ​ ~ Linux .zip .gz .bz2 .xz .tar.gz .tar.bz2 .tar.xz 文件压缩的作用:1、节省空间 ​ 2、传输时间缩短 ​ 3、节省带宽(机房的贷款与家用带宽价格不同,家用的100M带宽上传小于下载,机房 ​ 的100M带宽上传等于下载。) 文件后缀名…

继续阅读 Linux文件压缩和打包

分享有用的 Linux 命令行网络监控工具

  • Post author:
  • Post category:linux

尽管有许多专用的网络监控系统可以365天24小时监控,但您依旧可以在特定的情况下使用命令行式的网络监控器,某些命令行式的网络监控器在某方面很有用。如果您是系统管理员,那您就应该有亲身使用一些知名的命令行式网络监控器的经历。这里有一份 Linux上流行且实用的网络监控器 列表。 包层面的嗅探器 在这个类别下,监控工具在链路上捕捉独立的包,分析它们的内容,展示解码后的内容或者包层面的统计数据。这些工具…

继续阅读 分享有用的 Linux 命令行网络监控工具

Linux 简单操作

  • Post author:
  • Post category:linux

Linux 简单操作 touch aaa.txt 或者 echo > aaa.txt 或者 vim aaa.txt 之后退出 复制和重命名文件 复制 cp aaa.txt /tmp 重命名 mv /tmp/aaa.txt /tmp/bbb.txt 回家 cd 打印当前目录以及隐藏文件 ls -la ls -a 也可不过没那么详细 [nnxy@localhost ~]$ ls -la 总用量 …

继续阅读 Linux 简单操作

linux修改IP地址的命令

  • Post author:
  • Post category:linux

vim /etc/sysconfig/network-scripts/ifcfg-ens33 修改后 systemctl restart network 版权声明:本文为weixin_45972425原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/weixin_45972425/article/details…

继续阅读 linux修改IP地址的命令

Linux服务器下禁用root用户

  • Post author:
  • Post category:linux

一、创建新用户 建议先新建几个普通用户 adduser admin passwd admin vim /etc/sudoers #在root ALL=(ALL) ALL下添加 admin ALL=(ALL) ALL 二、禁止root账户ssh登录 vi /etc/ssh/sshd_config #将 #PermitRootLogin yes的去掉#并改为no 三、重启sshd服务 service …

继续阅读 Linux服务器下禁用root用户

linux限制登录密码,登录次数

  • Post author:
  • Post category:linux

linux限制登录密码输入次数,远程登录尝试密码次数 1、编辑 PAM 的配置文件 1 | cat /etc/pam.d/login 内容如下: #%PAM-1.0 auth required pam_tally2.so deny=3 unlock_time=100 even_deny_root root_unlock_time=200 auth [user_unknown=ignore succ…

继续阅读 linux限制登录密码,登录次数

linux没有安装权限r包,[转载]转载:Linux上安装R-3.3.0遇到缺失包的解决方法

  • Post author:
  • Post category:linux

R是统计学中常用的分析和画图工具,作为一个做生信分析的,自然免不了用到这个东西。跟其他语言类似,R的版本更新需要自己手动安装。以前从source包安装R很容易,只需要常规的configure/make/make install就可以。最近尝试在服务器集群上安装新版本(R-3.3.0)的时候发现问题: checking if bzip2 version >= 1.0.6... no check…

继续阅读 linux没有安装权限r包,[转载]转载:Linux上安装R-3.3.0遇到缺失包的解决方法

arm-none-linux-gnueabi-ld: error: required section ‘.rel.plt‘ not found in t

  • Post author:
  • Post category:linux

当编译u-boot出现arm-none-linux-gnueabi-ld: error: required section ‘.rel.plt’ not found in 错误时。表示源文件没有被清除。 只需要两条指令。 make clean make mrproper 在重新编译下即可。 版权声明:本文为qq_41146270原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处…

继续阅读 arm-none-linux-gnueabi-ld: error: required section ‘.rel.plt‘ not found in t

linux查看磁盘io的几种方法

  • Post author:
  • Post category:linux

1. 用 top 命令 中的cpu 信息观察 2. vmstat:vmstat 命令报告关于线程、虚拟内存、磁盘、陷阱和 CPU 活动的统计信息 3. iostat 4. iotop 5. sar -d 转载于:https://www.cnblogs.com/sunshine2016/p/8555716.html

继续阅读 linux查看磁盘io的几种方法

ASM linux helloworld

  • Post author:
  • Post category:linux

Sourcecode:(NASM hello.asm) section .data ;section declaration msg db "Hello, world!",0xa ;our dear string len equ $ - msg ;length of our dear string section .text ;section declaration ;we must export…

继续阅读 ASM linux helloworld