70 Search results

For the term "linux%20setup%20lamp".

Setup a LAMP Server on Debian or Ubuntu

This setup is for Virtual Host server – not a dedicated server with a single domain SSH to your server ssh root@IP Update Debian/Ubuntu apt-get update && apt-get upgrade –show-upgraded -y Create User How To Create a User in Linux Setup SSH for Remote Access With GPG Keys – No Password How To Setup SSH for Remote Access IMPORANT –...

Apache Virtual Host Example

There are so many variation of how to setup Apache VirtualHost that its difficult for a beginner to figure it all out. Here is how I have found works best for a LAMP server that you own. If its not a standard Linux distro (Debian/Ubuntu here) all bets are off. sudo vi /etc/apache2/sites-available/www.example.com copy this code into the file <VirtualHost...

Harden Ubuntu Lamp with Bastille Linux

https://help.ubuntu.com/community/BastilleLinux sudo apt-get install bastille sudo apt-get install perl-tk sudo bastille -x

Setup Apache on Ubuntu Desktop

If you just need to use Apache on your Ubuntu Desktop as localhost, these notes apply. But see the other menu options for Ubuntu/Apache setup/care/feeding on a production server. Ubuntu Documentation for Installing and Configuring Apache/2.2.16 on Ubuntu/10.04 You may be looking for this instead > Install a Linode LAMP Server from scratch Install Apache on/from Ubuntu Desktop using Synaptic...

Harden Ubuntu Server 12.04 LTS

Its not enough to harden just Ubuntu. Its necessary to harden the rest of LAMP as well. So here is how I do it. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Harden PHP – and tune performance sudo apt-get install php5-suhosin sudo vi /etc/php5/apache2/php.ini uncomment this code or update setting max_execution_time =...

Setup LAMP Server Debian 9 Apache 2.4 MarianDB Php 7

Prerequisite is a fresh remote server with Debian 9 Stretch installed and booted From remote terminal Block all traffic iptable -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP Create a User sudo useradd -d /home/username -m username Set the User’s Password sudo passwd username Add the User to the Admin Group sudo adduser username adm...

Unix-Linux Does Not Require Disk Defrag

I’m a convert to Linux in the last several years. I don’t remember when it happened exactly, but I vividly remember the first time I (tried to) used Microsoft Office 2007, I was sure I was on the right path. Recently some friends have asked me why they should make the migration to Linux. I can list many reasons, but...

How To Harden Debian Server

Its not enough to harden just Debain. Its necessary to harden the rest of Apache-MySQL-PHP as well. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Disabling SSH root login and settings sudo vi /etc/ssh/sshd_config change PermitRootLogin yes to PermitRootLogin no LoginGraceTime 120 to LoginGraceTime 30 add line AllowUsers username username username Consider disabling...

Basic Linux Commands

Ubuntu 12.04 LTS Tested Linux ls sort by date modified ls -t Linux ls only directories sort directory verbose ls /path/to/directory/* -d -l Linux find and delete files older than X days find /path/to/files* -mtime +5 -exec rm {} \;