In unix system to view real-time system process activity you can use top And some usefull hot keys t Displays summary information off and on. m Displays memory information off and on. A Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a … Read more
http://www.alonon.net/server-optimization-errors/ after this, i found some new things to use server hardware more efficiency. (I’m using ubuntu so that codes listed below works for only ubuntu servers.) 1. Using a Php Accelerator I found apc. There are some such as Xcache and eAccelerator. Apc is creating php files cache. Before install it, you can test … Read more
Q: How to delete old version of kernels in grub2 menu ? A: Delete them from /boot directory. Both initrd and vmlinuz files. Than run update-grub. Q: How to hide recovery mode in grub2 menu ? A: Change this line #GRUB_DISABLE_LINUX_RECOVERY=”true” as GRUB_DISABLE_LINUX_RECOVERY=”true” (delete command character.) in /etc/default/boot. Than run update-grub. Q: How to disable … Read more
After 10K user for arabuldinle.com, i understood that optimization is very very important. In this article, I’ll explain optimization error that i have faced. Also i researched some monitoring command such as top,mytop,free,iostat so you can find information about these command in detail. Session Error Error code: Warning: session_start() [function.session-start]: open(/var/lib/php5/ …) Because i’m using … Read more
With two simple application you can open your computer via lan. Firstly (under ubuntu) sudo apt-get install ethtool Control your ethernet card is supporting wake on lan or not. sudo ethtool eth0 if sth like that in output: Supports Wake-on: pumbg It’s ok.Than learn your mac address and write it somewhere. ifconfig | grep HWaddr … Read more
Today my all web sites that working with session was giving that error: Warning: session_start() [function.session-start]: open(/var/lib/php5/sess_1812dbcc1b2e606c5f44f7c4d277c22e, O_RDWR) failed: No space left on device (28) in /**/theme/default/header.php on line 5 After a little searching i found that i didn’t have any free space. My applications could not delete session in /var/lib/php5 folder. So i tried … Read more
To learn your ubuntu version/ release there are two ways that i know. first sudo cat /etc/lsb-release second sudo cat /etc/issue Related posts User groups and Users in Ubuntu (0) Ubuntu 9.10, Karmic Koala, released (0) Server optimizations 2 (0) install php apache mysql phpmyadmin (3) How to learn your linux release (3)
Today, i opened a new user (account) and gave ssh access a user on my linode vps. Opened new group Created new user Changed user group Check user group is true Giving ssh access to user Restarting sshd Lets firstly add a user in Ubuntu sudo adduser USERNAME Create new group in Ubuntu sudo addgroup … Read more
some apt-get commands Here is quick cheat sheet you will find handy while using apt-get at shell prompt: Syntax Description Example(s) apt-get install {package} Install the new package. If package is installed then try to upgrade to latest version apt-get install zipapt-get install lsof samba mysql-client apt-get remove {package} Remove/Delete an installed package except configuration … Read more
While i was trying to configure postfix, i learnt to sending e-mail in ssh. There are some script to do this and i choose sendEmail to install sendemail type: sudo apt-get intstall sendemail then you can type sendemail -f {from} -t (emailto} sendEmail -f ADDRESS [options] Required: -f ADDRESS from (sender) email address * At … Read more
