54 Search results

For the term "harden debian".

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...

LAMP upgrade to mysql 5.6 PHP installation appears to be missing the MySQL extension which is required by WordPress

WordPress Running on Debian 7 LAMP After upgrading to MYSQL 5.6 from 5.5 I encountered several problems, first of which was a completely broken MySQL then Apache2.3 and PHP complained. This ultimately cleaned up the mess: sudo dpkg –purge mysql-client-core-5.6 sudo dpkg –purge mysql-client sudo dpkg –purge mysql-server-core-5.6 sudo dpkg –purge mysql-common sudo dpkg –purge mysql sudo apt-get –purge remove...

Perl Modules won’t Install on Debian Server

/usr/bin/make — NOT OK Failed during this command: Anytime you cannot get a Perl package to install, here is the likely problem. Run these: sudo apt-get install build-essential What is wrong : a Debian Server install intentionally does not contain development tools for security and efficiency reasons. So when you attempt to run Perl, you find that you can’t get...

Disable IPV6 on Debian 10

Three (3) steps to completely eliminate IPV6 on your system. Step 3 applies only if you are using SSH in daemon mode (on a server). The following should work for all Debian. Step 1 Step 2 Step 3

9 Steps To Setup SSL on UBUNTU 12.04 APACHE 2.22

I found a lot of misleading and confusing How-To stuff when installing an SSL certificate on Ubuntu 12.04 LTS and Apache 2.22. I also share most people confusion when it comes to encryption. Only after a lot of repetition has the fog begun to clear. It helps to realize: The “key” is your PRIVATE file. Don’t ever share it. Its stays...

How To Install Canon MX925 on Debian

This is a fantastic printer for Linux machines and for the price its seems too good to be true. I’m not paid to say that. Download Drivers here Canon PIXMA MX925 Unzip the packages and $ cd ~/cnijfilter-mx920series-3.90-1-deb $ sudo ./install.sh ================================================== Canon Inkjet Printer DriverVersion 3.90Copyright CANON INC. 2001-2013All Rights Reserved. ==================================================Command executed = sudo dpkg -iG ./packages/cnijfilter-common_3.90-1_amd64.debSelecting previously...

Debian Tracker How To Disable

You do not want to uninstall Tracker (on a desktop) as there are dependencies you may want to keep/it makes sense to keep. But Disabling Tracker from auto-start on startup will save resources. Edit ALL tracker desktop files sudo vi /etc/xdg/autostart/tracker-* change this below line from =true to =false X-GNOME-Autostart-enabled=false Kill and Remove databases sudo tracker-control -r

Disable Bluetooth Debian

sudo vi /etc/bluetooth/main.conf change to: InitiallyPowered = false But that is not enough sudo apt-get install rfkill sudo vi /etc/rc.local add line: rfkill block bluetooth That should do it. If not sudo vi /etc/modprobe.d/blacklist.conf add lines: blacklist bluetooth blacklist btusb if not sudo vi /etc/init/bluetooth.override add line: manual

How To Configure exim4 on Debian 9

This setup is for a wordpress server that mail-out submissions on the website and assumes that 1) Outbound only. All mail is sent-out via SMTP. You don't want mail retained on the server. 2) there is more than one recipient, re. one for WordPress form submissions and a webmaster (or root). 3) and you are using Google as your SMTP....

Php 7.3 How to Upgrade Debian Linux 9

This is not as simple as even the most popular blogs explain. sudo apt update sudo apt -y install software-properties-common dirmngr apt-transport-https lsb-release ca-certificates sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg echo “deb https://packages.sury.org/php/ $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/php7.3.list sudo apt update sudo apt -y install php7.3 php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd php7.3-mbstring php7.3-curl php7.3-xml php7.3-bcmath php7.3-json sudo...