User login

GNU-Linux

Sites-available configuration and symlinking best practices

beats by goose is in D5.1 so Agaric needs to get it to point to a directory specifically so the default can be made 5.2

This is the model it's currently following, below, for the general redirection:

But the one working to send Agaric to the drupal 5.2 directory isn't using NameVirtualHost, so I'm getting rid of it. I'm also putting in the options follow symlinks etc directory four line set.

And of course I add in the ServerName and ServerAlias lines for djgoose.net etc.

Putting apache config files under version control

Is there anything wrong with putting apache.pem in version control? I hope not.

I had to make it chmod 644 instead of something like chmod 600.

The symlinks in sites-enabled did not survive being put in version control-- they turned into physical files.

Resolution

Saving a read-only file after making a lot of changes before finding out

If you accidentally do a lot of edits in vi to a read-only file, or rather a file to which you do not have write permission and forgot to sudo in, you can do the following to save it elsewhere temporarily and then overwrite the original.

Let's say its name is recalcitrant file:

From inside vi:

:sav ~/temporary.file
:q
<code>
Then:
<code>
sudo mv ~/temporary.file recalcitrant.file

Pitfalls: you should check the owner of the file you were trying to edit and set your temporary file back to that

Debian and Postfix e-mail setup, Internet Service Provider style

In short Agaric needs a robust e-mail solution for ourselves and our clients.

Debian Administration :: Handling mail for multiple virtual ...
http://www.debian-administration.org/articles/243

The immediately needed fix:

How to copy files using the command line

Copying files or directories with the GNU-Linux command line.

Resolution

When you're copying something with cp you list the file (or directory) you are copying first and the file (or directory) you are creating second.

cp -r existing_directory new_copy_of_existing_directory

Agaric wants a GUI chmod calculator

Agaric Wants...

Find or make a web app that let's you check off the read, write, execute flags for owner, group, public and see what the chmod number is.

Resolution

Syndicate content