41 Search results

For the term "linux%20services%20disable".

Delete Bash History File Linux

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

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

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

After Installing Debian 7 Desktop

Checklist of things to do after installing Debian Gnome The first problem you have with a brand new linux (Debian/Ubuntu) install is the user is not setup in sudoers. So first thing: login as root su sudo adduser username sudo sudo vi /etc/sudoers give permissions to your new user – below root username ALL=(ALL:ALL) ALL alternately – unsecure username ALL=(ALL)...

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

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

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