コンテンツ

  1. HOME
  2. Services
  3. Hosting services
  4. VM Hosting service
  5. The usage
  6. How to use VM Hosting service

How to use VM Hosting service

We explain here how to use VM Hosting service. It is also necessary to apply to use this service. Persons who wish to apply to use this service should see the 'Applying for Services' for VM Hosting service.

Construction of a server with a VM

Unlike other WEB Hosting services, VM Hosting services(standard package), offer Linux environment itself for the construction of a server as a dedicated VM. For this reason, users must understand UNIX-like servers to operate and use these services.

Information for operating server has been released in "Server build guide". Please refer together with commercially available books and Web sites about server.

Operation of VM server

The connection to VM Hosting server should be done with SSH client. Since, operating the server requires an SSH client, please set up SSH client at your end in advance. In addition, if administrator authorization by VM Hosting server is required, please use the 'sudo' command.

Account Administration

With VM Hosting service, you can freely create a UNIX user account which uses VM server.

To add a user, use useradd command and password command with administrator authorization. Here we give an example of adding a user name taro. useradd taro
password taro
When asked what password you would like to set, enter your password and press 'Enter.' (You have to enter the password twice. The password will not be displayed on the screen.)

How to introduce OS and applications (services) which is provided.

In this service, RHEL6 or RHEL7 will be installed as a default OS.You are allowed to substitute only the Windows Server and the FreeNAS for the OS.

In the case of RHEL, yum command is available when installing applications (services). Please carry out these install by yourself as it is possible with administrator authority by sudo. Incidentally, VM which will be handed to, may be carried out a reboot after notification to the users for the maintenance. Regard to the application which was introduced after received VM, you should finish operation check at the time of the reboot. In the case you install always-on application, it is sure to set the automatic start-up with chkconfig.

Web Servers of default

With VM Hosting service you can use Apache as a Web server. You can customize various Web server functions by adding and changing the content of the Apache configuration file httpd.conf.

The httpd.conf file is in the etc/httpd/conf directory. There are a great many items to create settings for with httpd.conf, but use the default settings for all items other than those that have to be changed definitely. In addition, if you make a mistake in the httpd.conf setting, you may cause the Web server to make inappropriate operation or stop operating. When you have to change the settings, we recommend that you back up in advance the default values of httpd.conf.

Please see commercially available publications and web sites for further information on Apache configurations and customization.

Use of a default mail server

With VM Hosting service, you can usepostfix as an email server in standard. Then, you can also have email spools carried on all user accounts on this server. If you would like to use the sendmail, please add the package in yum.

You can customize various mail server functions with the sendmail settings file, /etc/mail/sendmail.cf, or the postfix settings file, /etc/postfix/main.cf. If you make a mistake in setting these files, you may cause the Web server to make inappropriate operation or stop operating. When you have to change the settings, we recommend that you back up in advance the default values of the settings files.

Please see Web sites and commercial publications for more information on detailed settings and customization for sendmail and postfix.

It should be noted that Institute of information management and communication Kyoto university is invested viruses and spam check for service. Please set up as follows, if it is used in the VM Hosting service.

(1)How to receive mail

Apply for "DNS name" in KUINS-DB as shown below.

subdom.kyoto-u.ac.jp. IN MX 10 mx1.kuins.net.
subdom.kyoto-u.ac.jp. IN MX 10 mx2.kuins.net.
kuins3mx.subdom.kyoto-u.ac.jp. IN MX 10 mail-server.subdom.kyoto-u.ac.jp.
mail-server.subdom.kyoto-u.ac.jp. IN A 133.3.xxx.xxx
kuins3mx.subdom.kyoto-u.ac.jp. IN A 133.3.xxx.xxx

(2)How to send mail

Set the "sendmail.kuins.net" or "sc-filt.kuins.net" to the mail transfer destination Both do not forward a mail which has been determined to be a spam. The former returns an error mail to the sender and the latter delete the mail. For example, Postfix Describe

relayhost = sendmail.kuins.netin /etc/postfix/main.cf

Expansion of Virtual Machine Resources

In VM Hosting service, users can expand recourses of CPU core, memory and Disk capacity according to the user's needs.

To increase VM resources, additional usage charge is required depending on the unit of increase and. type of virtualized environments.

Usage chargeAmount (April 1, 2017 revised)
System resources CPU:2core 3,000 yen/year
Memory:4GB 3,000 yen/year
Disk 100GB:6,000 yen/year

Mail forwarding file to contact to the person in charge

Create a ".forward+mail forward file" as shown below, and please describe e-mail address of the administrators in charge (multiple names allowed) in the file.

「mail forward file name」Purpose
「.forward+nagions」 For notification from the automatic server alive monitoring system.
「.forward+」 For contact from the system

All of the news, announcements and contacts for VM Hosting service users are sent through the e-mail address of contact person in charge, so please create the file surely.
In addition, please do not apply a spam filter for the campus mail to「.forward+」within the files.

These forwarding e-mail address can be created by 「.forward+」file creating tool.In the case to register e-mail address more than one administrator, please select "add more destination" and click "Run" and you can enter the second e-mail address.

 

Copyright © Institute for Information Management and Communication, Kyoto University, all rights reserved.