45 Search results

For the term "user".

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 Debug YaCy

This is the beginners guide to debugging YaCy as I have experienced it. This guide is meant for those who have just installed YaCy and need a little help. YaCy NOOBS may not even be able to find the right question to ask in the forum. So I will try to fill that gap here; YaCy seems to be running,...

Privacy Policy

We have made changes to this website to address the new standards introduced by the European data protection law known as the General Data Protection Regulation (GDPR). (“We,” “Us,” “Our”) understand your privacy is important. The Site allows you to post or submit comments, such as in response to our blog content. This Privacy Policy describes how and what information...

Setup SSH for Accessing Remote Server Without Password

On the Remote Server Logged in As User or as root but in users home sudo mkdir ~/.ssh sudo chmod 700 ~/.ssh && chmod 600 ~/.ssh/* On you local (desktop) assuming you have already created your GPG Keys cat ~/.ssh/id_rsa.pub | ssh root@example.com 'cat – >> ~/.ssh/authorized_keys'

How To Monitor Ubuntu Server

tail -f /var/log/apache2/error.log tail -f /var/log/apache2/access.log tail -f /var/log/apache2/other_vhosts_access.log tail -f /var/log/auth.log tail -f /var/log/daemon.log tail -f /var/log/fail2ban.log tail -f /var/log/mail.log tail -f /var/log/main.warn tail -f /var/log/mysql.log tail -f /var/log/mysql.err tail -f /var/log/syslog tail -f /var/log/user.log sudo tail -f /var/log/Bastille/action-log sudo tail -f /var/log/Bastille/error-log

Fail2ban Mysql Database to Manage Persistent Bans

Step 1 Create Database and Tables in MySQL Add a “source” field for the server name if you want to use a remote database setup (and add it to the UNIQUE KEY).The UNIQUE KEY prevents duplicates of course. But this means you can refresh the perl script without handling duplicates there which would complicate things considerably. CREATE TABLE iptable (...

Migrate WordPress

How To Migrate a WordPress instance to a New Server Backup Site internally (slice1) sudo cp -Rf /var/www/www.example.com /home/username/sites Backup MYSQL database mysqldump -u root -p www_example_com > www_example_com.sql sudo mv www_example_com.sql /home/username/sites It is convenient to put everything into one directory so all files can be moved at once. I use /home/username/sites Copy site and SQL file back to...

How To Free Linux Cache

These commands will cause the kernel to drop clean caches, dentries and inodes from memory. To free pagecache: sudo sync echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: sudo sync echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: sudo sync echo 3 > /proc/sys/vm/drop_caches As this is a non-destructive operation, and dirty objects are not freeable, the user should run...

Setup SSL on Debian Apache Virtualhost

Assuming: Debian 7 Wheezy You have more than one website on your server (therefore you are using Virtualhost files for each website) You are on Apache2.2 https://www.debian-administration.org/article/349/Setting_up_an_SSL_server_with_Apache2 You should do this first : Generate SSL key, crt, csr files Apache SSL Setup (what they say and what I did not do): To enable SSL, type (as user root): sudo a2ensite...

Try Location Extensions Without Address Overrides

What does it mean when you get the message in Google Adwords “Try location extensions without address overrides“? If you setup your Adwords campaign using a Custom Location (such as 20 mile radius around your zip code) AND you entered a Places Extension separately, Google displays this message as a warning that you may be using conflicting Locations that might...