Installing a LAMP stack: Linux – Apache, PHP, and MySQL on Fedora Core Assuming you already have Linux and Yum installed. 1. Install Apache (httpd), PHP, MySQL (server and client), and the component that allows php to talk to mysql. yum -y install httpd php mysql mysql-server php-mysql 2. Configure the new services to start [...]
Extract TAR files over SSH
Instead of copying a large tar file over ssh then extracting, take care of the whole process with one command: PUSH METHOD: cat tarfile | ssh –C user@remotehost “(cd targetdirectory && tar –xf -)” This will stream the tarfile over a compressed ssl tunnel and the other side will only extract if the target directory [...]
