70 Search results

For the term "change user".

Magento 1.7 Multiple Sites Install on Ubuntu Linux

How To Install Multiple Stores in Magento 1.7 These are my notes. I do not profess to be a professional Magento developer. This guide is for a pure SSH install using Rsync. Now given that you are proficient with SSH and command line Linux, the install of Magento is not difficult if you also can: Create a MySQL database, user

Apache Permissions on ServerRoot Directories

Apache Permissions on ServerRoot Directories In typical operation, Apache is started by the root user, and it switches to the user defined by the User directive to serve hits. As is the case with any command that root executes, you must take care that it is protected from modification by non-root users. Not only must the files themselves be writable…

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 ) AuthType Basic AuthName “Restricted Content” AuthUserFile /etc/apache2/.htpasswd Require…

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…

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…

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 (…

Debian Environment Variables

And then I lived happily ever after – Fixed – BASH scripts executed from a user as sudo, resulted in the root ownership. In other words, a backup script executed by user became the property of root

Debian 10 Disable Tracker

This works. There are a lot of examples out there that don’t work. I found that an additional edit (bottom) made all the difference. These are the typical changes you’ll find online. https://gist.github.com/vancluever/d34b41eb77e6d077887c But here is the change that made all the difference for me. Edit all the tracker files and change X-GNOME-Autostart-enabled to False. re. sudo vi /etc/xdg/autostart/tracker-miner-apps.desktop X-GNOME-Autostart-enabled=false

Install Joomla 2.5 on Ubuntu 12.04 LTS

Assuming Joomla is uploaded to your remote server and unzipped in /home/username/joomla Create your website directory sudo mkdir /var/www/www.example.com Copy Joomla to the website directory sudo cp -Rf /home/username/joomla/* /var/www/www.example.com I use scripts to set Joomla permission at this point. If you run into trouble, it will be because permissions are not set correctly, so I do this by default….