61 Search results

For the term "linux services disable".

How To Fix a missing eth0 adapter after moving HDD from one machine to another

Debian/Ubuntu Linux : How To Fix a missing eth0 adapter after moving HDD from one machine to another. Explanation : Debian and Ubuntu write the MAC address of the ethernet adapter to a file that prevents the eth card in the new machine from being recognized. Delete the lines in this persistent-net.rules file and upon reboot, linux will see the...

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

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

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