Owner: The Server Setup Guide URL:http://www.bgevolution.com/blog Join Date: Sun, 26 Aug 2007 01:40:56 -0500 Rating:0 Site Description: Provided is substantial information about Apache, Mysql, PHP, VNC, SSH, Sendmail, Dovecot, DNS, and much more. Site statistics:Click here
Welcome to the Server Setup Guide 2007-08-25 23:39:34 This website is a compilation of my experience setting up complete web server systems including, APACHE, VNC, SSH, FTP, MAIL (sendmail, dovecot), SQUID Proxy, DNSMASQ as a caching DNS server, and Bind9 as a master (ns1) and slave (ns2) name server. The list to the right is arranged alphabetically so you can easily find the solution you need. The available content should be able to resolve most situations, but if you have an installation, or problem that you would like a personalized opinion on, you can visit ONLINE SERVICE, which is designed to easily allow you to post a question, which I can then respond to!
There are over 130 posts available so far, and definitely more to come. You will also notice that I like to chit chat about the extensive list of excellent Linux Distributions. You can also visit the root domain, of this website, to see a reasonably up-to-date list of the projects here at BGEvolution.com. Enjoy
Read more:Guide
, Welcome
Sendmail - Consolidate Multiple Domains 2007-08-25 23:37:54 Sendmail has the virtusertable configuration file, that is built into the virtusertable.db file. The purpose of this file is to direct incoming email, for a particular domain, to a particular user. If you have multiple domains, you can separate the email login proceedures by specify different user name for each respective domain. Such a configuration would look like this:
@bgevolution.com bgevolution
@nodomain.com nodomain
In this type of configuration you would have a user “bgevolution” and a user “nodomain”, and you will be able to login to Dovecot separately for each one. Another configuration consolidates things a bit:
@bgevolution.com primaryuser
@nodomain.com primaryuser
In this configuration you will be able to login to Dovecot, as primaryuser, which will contain all mail sent to both bgevolution.com and nodomain.com.
Also note that in these examples I have used no text prior to the “@” symbol. In this way your Sendmail will catch al Read more:Consolidate
, Domains
, Multiple
Fedora 7 - As a Mail Server 2007-08-25 21:23:08 I recommend Fedora
7 as a mail server, over coexisting Linux Distribution. I have attempted setup of Ubuntu Server, and other distros, as a mail server, and overall I enjoy the directory structure, and default package installation, of Fedora 7 the most.
To setup a mail server, on Fedora 7, just select the mail server installation, in the custom configuration menu, during installation. This will automatically install Sendmail, and Dovecot. With Sendmail you can send and receive email, and with Dovecot you can read and write your mail.
The following link is my previous post on Dovecot and Sendmail, it contains the vast majority of information required to completely setup a functional mail server. The post links to another post, and that post links to another post; overall there are at least 3 posts, containing all that is required for success. To top things off, during the writing of these blog posts, the majority of my work was done on a Fedora 7 installation. Cheers
http://www.bgevol
Wordpress MU Plugin Menu Enable/Disable Bug 2007-08-25 21:13:56 As of August 25, 2007 there is a bug in Wordpress
MU where if you turn on the Plugin
menu option, and then disable it, you will loose the ability to reactivate it. This bug is currently being discussed at the official Wordpress MU forums, and I believe a resolution will present itself soon.
http://mu.wordpress.org/forums/topic.php?id=5917&page#post-35846 Read more:Disable
Dovecot Inter-Config with Sendmail 2007-08-25 17:25:23 The beauty of Dovecot is that you can have one single configuration line that automatically creates a mailbox, for each user on the computer. For instance, if you have an Apache VirtualHost setup for, lets say, bgevolution.com, and you want to receive mail You can create a virtusertable, which is a Sendmail configuration file in your /etc/mail directory, like so:
@bgevolution.com bgevolution
Then add the user:
sudo adduser bgevolution
Then you have to add the password for the user. You can do one of two things:
su bgevolution
passwd
Or:
sudo passwd bgevolution
By setting it up this way, all mail received by sendmail, will be directed to the, root folder, and mailbox, of the bgevolution user. Then you can configure Dovecot: add the following line to the top of your dovecot.conf file:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
This line will allow you to login to Dovecot, as the user bgevolution, to receive mail sent to the computer for the bgevolution.com domain. For Dovecot, t Read more:Inter
Wordpress MU Dependencies and Function Adjustment 2007-08-25 11:39:55 To get Wordpress
MU installed, and running you will have to set proper file permissions, to get access to the files, and you will have to activate the mod_rewrite.so Apache module. Setting the file permissions is precisely explained during the installation process, and activating mod_rewrite.so is achieved by adding the following line to the top of either your apache2.conf or httpd.conf file:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Notice that the LoadModule option is rewrite_module, and not mod_rewrite.so. Believe me, it took a bunch of error messages to realize the proper formatting necessary to get things cookin. In the most recent version of Apache2 provided by the Ubuntu Feisty Server repositories, the above line will reference the module, in its correct location, and successfully enable url rewriting Apache functions.
As for dependencies, sendmail
sudo apt-get install sendmail
Also I changed a couple of things in the wpmu-functions.php file
Ubuntu Server - Convert to Graphical 2007-08-25 01:44:44 If your running Ubuntu
Server Edition you can install a KDE or Gnome graphical desktop with a couple of apt installation. For a bare minimal install, you will be able to login to a full desktop with one of the following:
sudo apt-get install gnome-core
sudo apt-get install kde-core
For a baseline set of package you can install the following:
sudo apt-get install gnome
sudo apt-get install kde
For the entire package set released with either Kubuntu or Ubuntu you can install:
sudo apt-get install ubuntu-desktop
sudo apt-get install kubuntu-dekstop
These commands will install all the files associated with the default graphical desktop that comes with either Ubuntu or Kubuntu.
So, what can be done is a Ubuntu server installation, and if need be, you can install the graphical environment. Overall I do like installing the core packages, so that once I get the desktop running, I can install specifically the package that I use. You can refer to a previous post of mine for more information abou Read more:Convert
, Graphical
Wordpress MU now at BGEvolution.com 2007-08-25 01:30:10 While experimenting with Wordpress
MU I have decided to integrate a copy into this domain. Users are now welcome to signup and create a personal blog here at BGEvolution.com. I have configured it as subdirectories, so you will have a domain name like:
http://blogs.bgevolution.com/mynewblog
While I want to do more work on the signup forms, it is ready to go and fully functional. Enjoy the new features here at BGEvolution.com, and happy blogging.
Signup For Your Free Blog
Bash Command - Locate 2007-08-24 23:00:19 The Bash locate command is the bash search utility. You can input any file name and it will return the directory location. It can be extremely convenient to find files, that you know are on your hard drive, but you can’t find them. I use the frequently to find hidden files, and an example of tracking down an Apache module is like so:
locate mod_rewrite.so
Backup - Not only the Files 2007-08-24 18:29:37 I recommend complete systems backups of all files provided by your web server. In addition, I fully recommend the setup of a coexisting server, that can be used in the case of primary server downtime. In this way, not only do you have securing with your web files being on a completely separate machine, you will have a extra web server that you can put on the internet to replace the broken primary. Theoretically you can have the second web server running all the time, and if necessary you can adjust the port forwarding configuration, in your router, to point to the backup server.
Wine Versus a VirtualBox OS 2007-08-28 19:29:06 Wine is an implementation, of core Windows components, on Linux. It allows the native running, of certain Windows applications, on Linux. It is extremely limited to the more mainstream applications, and while it does indeed work perfectly for a wide variety of powerful windows programs, there are other Windows programs that require, for instance, the [...]
Debian Versus Ubuntu With Regard to VirtualBox 2007-08-28 13:11:45 VirtualBox works on both distributions flawlessly. Although I have observed faster, and less memory intensive, performance on Ubuntu
. It may be the result of Ubuntu utilizing a more recent Kernel, but none the less given rates of Linux progress, I would expect the next version of Debian
to be simply jaw dropping. I guess the [...]
Wireless Keyring Password - Never Enter it Again 2007-08-30 14:33:01 When you enter a router WEP, or PSK, you can create a keyring password, so that your router password is automatically store and retreived when necessary. The only drawback is that you will have to enter your keyring password each time you login. To automatically use your GDM login password as your keyring password you [...] Read more:Again
, Keyring
, Password
, Wireless
Best Backup Methods 2007-08-29 22:51:13 There are four primary locations for backups, of which each one has aspects to consider:
1) Backup on the same hard drive, and the same partition. This method of backup is functional for limited purposes; but for backups where security, and integrity, are important you will want to choose one of the next three methods.
2) Backup [...] Read more:Methods
Websites on Static or Dynamic IP 2007-08-29 21:49:11 You can host a website whether you have a static or dynamic IP. For instance, I have Time Warner Road Runner, and they provide dynamic IPs, but my dynamic IP hasen’t changed in two years or so. This makes things extremely easy. An even if they change the IP, considering the time between changes, I [...] Read more:Dynamic
, Websites
Verizon Fios Versus Time Warner Road Runner 2007-09-09 14:41:49 As per Time Warner
s commercial they claim to currently utilize fiber optic technology. I can only speak from experience. Time Warner Road Runner
is extremely fast for practical applications. I can download at approximately 1.2 Megabytes per second, which is relatively fast. I do not know the exact download speed of Fios, but frankly I [...] Read more:Verizon
Websites - Why Should I Make One? 2007-09-03 14:35:18 Websites are a means of expression. Self expression, or something that you have learned can be represented graphically on the internet. By creating a website you will be sharing ideas, and concepts with the internet community. This allows for knowledge to disseminate, which is the basis for progress!
Creating a website will allow you to vent, [...] Read more:Websites
Stupid Beryl Bug Fixed 2007-10-10 12:21:10 No Window Decorator = change your rendering path to copy and/or change your default depth (in /etc/X11/xorg.conf) to 24.
Other xorg.conf modifications can be found on my other blog post.
http://www.bgevolution.com/blog/index.php/nvidia-glx-the-real-way-straight-from-nvidia/ Read more:Beryl
, Fixed
, Stupid
XBOX 360 Fix Loud-Screeching Disk Drive Noise 2007-10-16 11:15:28 Inside the XBOX 360 is a poorly designed DVD drive manufactured by Hitachi. If you experience a loud screeching noise, which can potentially destroy your video games, I recommend not using the XBOX until you fix the problem. The problem that is occurring is within the DVD drive and can be fixed. You can obviously [...] Read more:Noise
XBOX 360 Fatal Design Flaws 2007-10-16 10:49:58 XBOX 360 has a variety of fatal design flaws that result in the system becoming completely inoperable. The first option that should be pursued is to contact XBOX 360 directly at 1800-4my-xbox. XBOX 360 will only service broken systems if you have not removed the factory seals underneath the cover. They explicitly say they will [...] Read more:Fatal
Ubuntu Gutsy Gibbon NM-Applet 2007-10-24 23:45:02 The network manager applet, in Ubuntu
Gutsy, provides a save feature that will automatically unlock your wireless keyring without the need for a manually typed password. This is a much welcomed feature, whereas in the past to unlock the wireless keyring required manual input. Read more:Gibbon
SCP Via Wireless or Ethernet 2007-10-24 11:07:25 I’ve experience problems backing up my web server, via scp, over my wireless connection. To resolve this I simply connected my computer via ethernet, rather than wireless. It seems that the wireless was causing the scp to stall whereas via a direct ethernet connection everything goes smoothly. Read more:Wireless
VirtualBox Gutsy Versus Feisty 2007-10-22 15:09:29 I highly recommend installing the Feisty
VirtualBox package even if your are using the new Ubuntu Gutsy. First off, by default the USB host bridge is disabled in the Gusty compilation, and when you enable it manually the sound bridge fails to work properly.
I have successfully install the Feisty compilation of VirtualBox on my Gutsy [...]