70 Search results

For the term "linux setup lamp".

How To Set Up Password Authentication in Apache2

sudo apt-get install apache2-utils ( FIRST USER only ( -c ) option to create file, or you will wipe all your existing logins !!! ) sudo htpasswd -c /etc/apache2/.htpasswd username1only sudo htpasswd /etc/apache2/.htpasswd username2etc Conventional setup sudo vi /etc/apache2/sites-enabled/000-default.conf ( In which case you must specify the Directory to be protected ) <Directory “/var/www/www.example.com/administrator”> AuthType Basic AuthName “Restricted Content” AuthUserFile...

Delete Bash History File Linux

Delete the .bash_history file rm -rf ~/.bash_history Clear the current history stored in RAM history -c

Linux Status Commands

My Cheatsheet of Linux Status Commands | System Commands | Network Commands top htop iotop netstat sudo tail -f /var/log/httpd/error_log mpstat 1 display processors related statistics vmstat 2 display virtual memory statistics iostat 2 display I/O statistics (2 s intervals) systat -vmstat 1 BSD summary of system statistics (1 s intervals) systat -tcp 1 BSD tcp connections (try also -ip)...

Format USB and Unzip img to memory stick

Insert the USB stick Type [sudo fdisk -l] [enter] (-l is lower case L) You should see a line: Disk /dev/sdb: xxxxMB, xxxxxxxxxxxxxxbytes LOOK FOR > sdb < NOT sda the xxx should roughly match the size of the USB memory stick >> This confirms the device we want is sdb there should be NO * under Boot [a] –...

unable to resolve host – not found or unable to stat

Debian 7 Apache 2.2.22 Virtualhost with only one website using ssl – ssl certificate is for www.example.com (not example.com) The following setup resolves the “unable to resolve host” error /etc/hosts 127.0.0.1 localhost {server ip address} www.example.com www /etc/hostname www.example.com However, if you have a new apache error [error] [client 127.0.0.1] script ‘/var/www/wp-cron.php’ not found or unable to stat Change hosts...

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

How To Uninstall Google Talk

sudo apt-get purge google-talkplugin /usr/share/doc/google-talkplugin —————————————- sudo add-apt-repository ppa:ubuntu-audio-dev/ppa sudo apt-get update sudo apt-get install linux-alsa-driver-modules-$(uname -r) alsa-driver alsa-utils

Enable Pre-login Warning Message on Linux Server

Enable Pre-Login Message Should you wish to display a warning message at the SSH prompt of your server, follow these instructions: Login to your server: sudo vi /etc/ssh/sshd_config uncommment this line #Banner /etc/issue.net add this line to end of file AllowUsers username sudo vi /etc/issue.net enter your warning message. re: ————- W A R N I N G ————- THIS...

Padre Still Crashes on Debian Linux

The linked post was written in 2012 explaining what I think most users of Padre encounter, and therefore I won’t repeat anything already nicely documented there except to quote “And please do not feed me a junk line about it works on my Linux distribution, I do not care. Pretend I am a normal end user for a moment. If...