随笔分类 -  Unix & Linux

Redhat Debian AIX Solaris
摘要:Note: on Debian 9 sudo aptitude install tightvnc configure to start with icewm vi ~/.vnc/xstartup with below: #!/bin/bash xrdb $HOME/.Xresources icewm 阅读全文
posted @ 2022-04-01 17:09 tang88seng 阅读(54) 评论(0) 推荐(0)
摘要:参照 : https://www.cygwin.com/faq.html > 下面解决: Also, set /etc/nsswitch.conf as follows: passwd: files db group: files db 另外 set LC_ALL=C 的 bug 在新版本解决了 阅读全文
posted @ 2022-03-30 11:34 tang88seng 阅读(316) 评论(0) 推荐(0)
摘要:iostat -x -k -d 10 360 -d Display the device utilization report. -k Display statistics in megabytes per second -x Display extended statistics. 10 10 s 阅读全文
posted @ 2021-12-01 15:13 tang88seng 阅读(75) 评论(0) 推荐(0)
摘要:squid.conf chromium.exe --proxy-server="XXXXX:3128" # # Recommended minimum configuration: # # Example rule allowing access from your local networks. 阅读全文
posted @ 2021-03-31 14:29 tang88seng 阅读(108) 评论(0) 推荐(0)
摘要:What is LVM? Function & Requirement: Dynamic manage partition size. Description: PV(physical volume) means physical media (hard disk), and it includes 阅读全文
posted @ 2021-03-04 11:55 tang88seng 阅读(57) 评论(0) 推荐(0)
摘要:--简单, 清晰的步骤 https://www.cnblogs.com/chnmig/p/10343890.html 阅读全文
posted @ 2021-01-21 10:58 tang88seng 阅读(56) 评论(0) 推荐(0)
摘要:https://help.dreamhost.com/hc/en-us/articles/215464758-How-do-I-set-up-passwordless-login-in-PuTTY- 阅读全文
posted @ 2019-11-11 11:58 tang88seng 阅读(130) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-20 16:27 tang88seng 阅读(124) 评论(0) 推荐(0)
摘要:NUMA架构的CPU -- 你真的用好了么? - http://cenalulu.github.io/linux/numa/ SQL Server 如何支持 NUMA - https://docs.microsoft.com/zh-cn/previous-versions/sql/sql-serve 阅读全文
posted @ 2018-06-28 12:15 tang88seng 阅读(158) 评论(0) 推荐(0)
摘要:package-cleanup --oldkernels --count=1 阅读全文
posted @ 2018-05-17 16:15 tang88seng 阅读(720) 评论(0) 推荐(0)
摘要:https://blog.sajjan.com.np/2017/02/05/docker-getting-started-containers-ubuntu/ https://blog.sajjan.com.np/2017/02/06/docker-running-apache-web-server 阅读全文
posted @ 2017-12-11 20:33 tang88seng 阅读(162) 评论(0) 推荐(0)
摘要:Note: Not Stable, so steps below are for reference only ************ Linux Configuration NFS Share 1. Configure share on Linux as below bash-3.2$ more 阅读全文
posted @ 2017-05-12 14:45 tang88seng 阅读(412) 评论(0) 推荐(0)
摘要:转自 http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858810.html Linux IO实时监控iostat命令详解 简介 iostat主要用于监控系统设备的IO负载情况,iostat首次运行时显示自系统启动开始的各项统计信息,之后运行 阅读全文
posted @ 2017-03-03 09:19 tang88seng 阅读(209) 评论(0) 推荐(0)
摘要:没有废话,步骤如下: 下载安装软件,MySQL Apache PHP sudo aptitude install mysql-server mysql-client ##安装 MySQLsudo aptitude install apache2 apache2-doc libapache2-mod- 阅读全文
posted @ 2016-05-04 14:02 tang88seng 阅读(1337) 评论(0) 推荐(0)
摘要:vmstat 的 pi/po si/so --监控一天 vmstat 5 17280> vmstat.txt sar -W 1.得到数据 (linux 的 /var/log/sar/saX 自带) sar -A -o sar.dat 5 17280 2. 分析 sar -W -f sar.dat > 阅读全文
posted @ 2016-04-10 22:10 tang88seng 阅读(478) 评论(0) 推荐(0)
摘要:对于某些大型应用来说,SWAP 严重影响性能,尽可能避免使用: The Linux kernel provides a tweakable setting that controls how often the swap file is used, called swappiness A swapp 阅读全文
posted @ 2016-04-10 20:57 tang88seng 阅读(1218) 评论(0) 推荐(0)
摘要:1. Debain 系列 linux sudo aptitude install rdesktop 2. Connect rdesktop <hostname> -r sound:off -g 1024:768 remote desktop to Windows, 命令常忘,记录。个人感觉比 VNC 阅读全文
posted @ 2016-04-03 17:43 tang88seng 阅读(139) 评论(0) 推荐(0)
摘要:首先很容易排除是 程序问题 内存用了很少,64 位 Java也没有内存限制,线程也不多,-Xss 堆栈也没人会配置很大。 那么肯定是 limit 不足引起 配置 ulimit 就可以了,问题看起来很简单,但是问题为什么有时候难以解决,因为涉及 Uinux 下面因素 到底那一个 limit 控制 到底 阅读全文
posted @ 2016-01-30 16:50 tang88seng 阅读(267) 评论(0) 推荐(0)
摘要:快速安装,配置,启动,检查 - 关闭 5002 - 5011 端口开放所有其它yum install iptablesiptables -F iptables -X iptables -Z iptables -A INPUT -i lo -j ACCEPTiptables -A INPUT -p ... 阅读全文
posted @ 2015-06-19 18:01 tang88seng 阅读(182) 评论(0) 推荐(0)
摘要:准备下载 putty - http://www.putty.org/安装 cygwin - http://cygwin.com/, 并添加 e.g. c:/cygwin/bin 到 Windows PathUsageUnder Windows command window, run xwin or ... 阅读全文
posted @ 2015-05-26 11:45 tang88seng 阅读(382) 评论(0) 推荐(0)