» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with tuning + linux

LatencyTOP

LatencyTOP is a Linux tool for software developers (both kernel and userspace), aimed at identifying where in the system latency is happening, and what kind of operation/action is causing the latency to happen so that the code can be changed to avoid the

opensource: del.icio.us tag/opensource

隐藏apache和php的版本信息

web server避免一些不必要的麻烦,可以把apache和php的版本信息不显示

隐藏 Apache 版本信息

/etc/apache2/apache2.conf 或 /etc/httpd/conf/httpd.conf

ServerTokens ProductOnly
ServerSignature Off

重启 apache
现在 http 头里面只看到:
Server: Apache

隐藏 PHP 版本
php.ini

expose_php On
改成
expose_php Off

重启apache后,php版本在http头中隐藏了。
类别:Linux Tuning 查看评论

Jabber-linux: Jabber XMPP resource

sshd 监听两个或多个端口方法

in /etc/ssh/sshd_config
ListenAddress 0.0.0.0:22
ListenAddress 0.0.0.0:10023
ListenAddress 0.0.0.0:10024
ListenAddress 0.0.0.0:10025

以上监听22,10023,10024,10025
为了减少一些无聊的猜密码的流量,可以把22去掉
类别:Linux Tuning 查看评论

Jabber-linux: Jabber XMPP resource

更改一个目录的apache的默认字符集

首先确保apache允许目录单独设置
in /etc/apache2/apache2.conf 或 /etc/httpd/conf/httpd.conf

AllowOverride None
=>
AllowOverride All

如下

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

在具体目录的 .htaccess 增加gb2312,或utf8,iso8859-1等
AddDefaultCharset gb2312
类别:Linux Tuning 查看评论

Jabber-linux: Jabber XMPP resource

禁止或停用SELinux

暂时
echo 0 > /selinux/enforce
改成1打开。
永久:
修改/etc/selinux/config
SELINUX=disabled

See also: Turning off or disabling SELinux
http://www.revsys.com/writings/quicktips/turn-off-selinux.html

类别:Linux Tuning 查看评论

Jabber-linux: Jabber XMPP resource

无光驱CDROM通过ISO文件从Windows安装Ubuntu(非vm环境)

安装全新的Ubuntu, 没有光驱或不想刻录CD, 也不是装在VMWARE上(VM可以直接映射iso成cd)
奸商已经在机上装了xp

用下面方法32/64 bit 都已经安装成功,自己Windows PC也在VMWare上安装了Ubuntu

1. 创建 c:\hd-media
2. Download vmlinuz and initrd.gz from
    http://archive.ubuntu.com/ubuntu/dists/feisty/main/installer-i386/current/images/hd-media/
    and save them to hd-media
3.下载 Ubuntu ISO 文件,迅雷搜一下一大堆。
   或者去官方: Download the ALTERNATE ubuntu-installer CD from [WWW] http://www.ubuntulinux.org/download/
注意:只对 Alternate Ubuntu install CD 有效
   如:ubuntu-7.04-server-i386.iso
  
   下载后请保存在C:\
  
4. 下载 Grub For Dos
    http://sarovar.org/download.php/1138/grub_for_dos-0.4.2.zip
    解压里面的 grldr 保存在 c:\grldr. 其他文件不需要。

5. 修改 c:\boot.ini(需要显示隐藏系统文件才能看到), 后面添加
        c:\grldr="Install Ubuntu"
       
6. 创建新文本文件 c:\menu.lst

      title Install Ubuntu
      kernel   (hd0,0)/hd-media/vmlinuz root=/dev/ram0 ramdisk_size=128000
      initrd   (hd0,0)/hd-media/initrd.gz

7. 重新启动 Windows, 启动菜单里面选择



64-bit Ubuntu:
(AMD64, INTEL EM64T系列)

1. 创建 c:\hd-media
2. Download vmlinuz and initrd.gz from
    http://archive.ubuntu.com/ubuntu/dists/feisty/main/installer-amd64/current/images/hd-media/
    and save them to hd-media
3.下载 Ubuntu ISO 文件,迅雷搜一下很多选择。
   或者去官方: Download the ALTERNATE ubuntu-installer CD from [WWW] http://www.ubuntulinux.org/download/
注意:只对 Alternate Ubuntu install CD 有效
   如:ubuntu-7.04-server-amd64.iso
  
   下载后请保存在C:\
  
4. 下载 Grub For Dos
    http://sarovar.org/download.php/1138/grub_for_dos-0.4.2.zip
    解压里面的 grldr 保存在 c:\grldr. 其他文件不需要。

5. 修改 c:\boot.ini(需要显示隐藏系统文件才能看到), 后面添加
        c:\grldr="Install Ubuntu"
       
6. 创建新文本文件 c:\menu.lst

      title Install Ubuntu
      kernel   (hd0,0)/hd-media/vmlinuz root=/dev/ram0 ramdisk_size=128000
      initrd   (hd0,0)/hd-media/initrd.gz

7. 重新启动 Windows, 启动菜单里面选择
类别:Linux Tuning 查看评论

Jabber-linux: Jabber XMPP resource

Tunear el escritorio en Ubuntu/ComFusion " K e r n e l 6~6~6

A continuación voy a seguir los pasos detallados para optimizar el rendimiento visual de tu sistema GNU/Linux, además de personalizar el escritorio. Para conseguirlo, es muy recomendable instalar lo&lt;sep/&gt;

Beryl: del.icio.us tag beryl

Page 1 | Next >>