摘要: http://rimuhosting.com/howto/profile.jspLinux ShellEnvironment Setup Using /etc/profile.d/*When a user logs in, environment variables are set from various places. That includes:/etc/profile (for all users).Then all the files in the /etc/profile.d directory.Then ~/.bash_profile.Then ~/.bashrc./etc/pr 阅读全文
posted @ 2011-06-17 14:15 iTech 阅读(2205) 评论(0) 推荐(1) 编辑
摘要: http://rimuhosting.com/howto/mysqlbackup.jspAutomated MySQL Database BackupVersion 1Want to backup your MySQL databases to another machine on a nightly basis? Then create a /etc/cron.daily/mysqlbackup.sh job like this:mysqldump--compress-uroot-p$pw-h$currenthost--add-drop-table--extended-insert--quo 阅读全文
posted @ 2011-06-17 14:15 iTech 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: Linux内存的free的真实含义:第一行的free表示剩余的物理内存。第二行的free表示总的剩余内存(物理内存+cached+buffer),因为cached和buffers是系统自动根据需要回收的,所以这一行的free才是真正的系统还可以使用的内存总量。Troubleshooting Memory Usagehttp://rimuhosting.com/howto/memory.jspAll about Linux swap spacehttp://www.linux.com/news/software/applications/8208-all-about-linux-swap-spa 阅读全文
posted @ 2011-06-17 13:19 iTech 阅读(1054) 评论(1) 推荐(0) 编辑