VPS Setup Record - LAMP

LAMP = Linux + Apache + MariaDB + PHP Install Apache yum -y install httpd Before doing any modifications, you might want to make a copy of important files like: mkdir /etc/httpd_bak cp -R /etc/httpd /etc/httpd_bak Now setup the first webpage: vim /etc/httpd/conf.d/happyz.me.conf

VPS Setup Record - Basics

Just upgrade my VPS to CentOS 7 and it cleans up everything. In case I forgot it, here I record what I did step by step.. hopefully it'll be useful to everyone on the web too! 😀 I'll start with some very basic stuff. Notice that different Linux distribution has different commands. My VPS Info Linux Distribution: CentOS… Continue reading VPS Setup Record - Basics

Get rid of grid in Matlab "surf"

Recently I need to look at the antenna beam and show the RSS while steering the beam in various angles. The results are stored in a matrix and I'll need to surf it. The black grids are really annoying.. To get rid of it, just assign either LineStyle or EdgeColor to none. For instance, surf(X,Y,Z,'LineStyle','none','EdgeColor','none').