Archive for the tag 'Creating'

SB-Shibu

Creating Account with wwwacct

Creating Account with wwwacct

To create hosting account for a domain through SSH use /scripts/wwwacct.

Example:

serverbuddies.com is the domain name.

buddy is the user name

123abcd is the password

Now From the command Line:

/scripts/wwwacct serverbuddies.com buddy 123abcd 50 advanced n

Creating a wildcard SSL certificate in Plesk

A wildcard DNS record is a record in a DNS zone that will match requests for non-existent domain names. A wildcard DNS record is specified by using a “*” as the left most label (part) of a domain name, e.g. *.example.com.

A wildcard DNS record in a zone file looks similar to this example:

*.serverbuddies.com. 3600 IN MX 10 host1.serverbuddies.com.

This wildcard DNS record will cause DNS lookups on domain names ending in example.com that do not exist to have MX records synthesized for them. So, a lookup for the MX record for somerandomname.example.com would return an MX record pointing to host1.example.com.

Since version 8.0.1 Plesk allows to create and use certificates for Wildcard domain names (like *.serverbuddies.com.com).

Wildcard certificate can be created the same way that usual certificate is generated. The only difference that you specify the name with “*” sign in the left path, for example *.serverbuddies.com” domain name in the Wildcard certificate will match all this domain’s subdomains, like mail.serverbuddies.com, ftp.serverbuddies.com, etc

Creating a Rewrite for Ruby on Rails Application in cPanel

Ruby on Rails uses its own server, users visiting your Ruby on Rails application will need to be redirected to the appropriate port.

Because Ruby on Rails uses its own server, users visiting your website (and subsequently your Ruby on Rails application) will need to be redirected to the appropriate port.
Ruby does not respond on the standard HTTP port number, 80. Thus, visitors would need to specify the port number with the domain — for example, example.com:12001.

To configure a rewrite for Ruby on Rails Application in cPanel
1. Log into cPanel.
2. Navigate to the Software/Services section of your cPanel interface.
3. Click the Ruby on Rails icon. This step will open the Ruby on Rails management interface.
4. Click the Create Rewrite button corresponding to the appropriate application in the Create A Rewrite table.

Creating a Ruby on Rails Application in Cpanel Server

Ruby on Rails runs on its own server so the setup requires a little extra work.

1. Log into cPanel.
2. Navigate to the Software/Services section of your cPanel interface.
3. Click the Ruby on Rails icon.
* This step will open the Ruby on Rails management interface.
4. Specify your application’s name in the App Name field.
* PICK Remember: To set your application to load when the server is booted, click the Load on Boot? check box.
5. Assign the application path in the Application Path field.
* note Note: If you set an application path in your public_html/ directory, your source code and configuration files can be viewed by anyone on the web.
6. Use the Environment drop-down menu to select the type of Ruby on Rails environment you wish to run.
7. Click Create.

SB-Shibu

Creating Repos for RHEL / Centos

Creating Repos for RHEL / Centos

Please follow the given steps to setup a repos on the local server. Make sure that you have installed rpm createrepo, You can download the required rpm for your os from:

http://dag.wieers.com/packages/createrepo/

# mkdir -p /repos/os

Copy all the rpm from all redhat cd to this directory.

# mkdir /repos/updates

# createrepo /repos/os

# createrepo /repos/updates

After doing this you just need to run the ensim installer in the following way.

# sh ensim-installer.sh –email=you@youremail.com –cdrom=n -o file:///repos/os -u file:///repos/updates

Next »