August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Changing default IO scheduler linux

Change default Linux IO scheduler to optimize IOs (very important if server is VM)

Check existing (active) io scheduler (elevator):

[root@server ~]# cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq] # cfq active

[root@server ~]# cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq] # cfq active

Change it on the fly

[root@server ~]# echo noop > /sys/block/sda/queue/scheduler

[root@server ~]# echo noop > /sys/block/sda/queue/scheduler

[root@server ~]# echo deadline > /sys/block/sda/queue/scheduler
[root@server ~]# echo deadline > /sys/block/sda/queue/scheduler

Change it permanently

Append elevator=deadline to the end of the grub.cfg kernel line and reboot
title CentOS
root (hd0,0)
kernel /vmlinuz-2.6.32-279.19.1.el6.x86_64 ro root=/dev/mapper/vg-lv_root … elevator=deadline
title CentOS
root (hd0,0)
kernel /vmlinuz-2.6.32-279.19.1.el6.x86_64 ro root=/dev/mapper/vg-lv_root … elevator=deadline

VSPHERE 6 and VSAN

[gview file=”http://rmohan.com/wp-content/uploads/2015/06/vSphere-6.pptx”]

 

[gview file=”http://rmohan.com/wp-content/uploads/2015/06/Deck_VSAN_Hee-Teck.pdf”]

Tweak EXT4 mount options for performance

Need to change default EXT4 mount options to tweek performance

DEFAULT EXT4 mount options (Centos 6.3):

… meaning …

CHANGE it (/etc/fstab) to:

EXPLANATION:

  • noatime – don’t modify last access time on folders and files (not needed)
  • nouser_xattr – don’t write extended user atributes (not needed)
  • barrier=0  – turn off write barriers, improved write speed on CloudSigma SSD storage by 300% !!!
  • data=ordered – default, no change really
  • errors=remount-ro – if errors, remount FS in read only mode (not performance,  but very important)

Converting Your Keypair File

Purpose

The keypair you create will be in the .pem format. If you plan on using PuTTy to SSH to a Linux instance from a Windows computer you will need to convert that keypair file to the .ppk format. This article will show you those steps.

Notes

Your original private key pair file (.pem) is required. If you no longer have the file then you will need to create a new key pair.

Pre-requisites

  • Have your keypair created and your .pem file ready to convert.
  • Must have the PuTTYgen utility downloaded. You can download it from their website.

Walk-through Steps

Converting Your Keypair .pem file to a .ppk file

  1. Locate the private key you saved as a .pem file using the Key Pairs article previously linked.
  2. Open puttygen.exe and click on the Conversions menu and then Import Key. Search for your .pem file you created for your keypair and select it.

puttygen2

3. Your key will populate in the Puttygen window and then you want to click Save Private Key. You will be prompted with a pop-up asking you if you are sure you want to save the key without a passphrase and you can click Yes on that. You will then name the file and it will save it in the .ppk format.

 

puttygen3

 

4. You now have your private keypair file which you can use in the Putty program to SSH to your instance! You can view the knowledge-base article below for instructions on using your .ppk file to SSH to your instance using Putty:
Connecting to your Instance

Converting Your Keypair .ppk file to a .pem file

Another scenario you may run into is you may have your .ppk file but you need to convert it back to a .pem file. You can also do this via Puttygen with these steps:

1. Open the Puttygen program

2. Click the Load button and locate your .ppk file:

 

puttyload

3. With your key loaded, go to the Conversions menu and click Export OpenSSH key:

puttyconvert

 

NOTE: It will prompt you asking “Are you sure you want to save this key without a passphrase to protect it?” and if you choose to not use a passphrase then you can select Yes. If you use a passphrase then it must be set in the Puttygen program in the Key passphrase / Confirm passphrase fields.

  1. Save the file with a .pem extension and you’re done!

 

101 Tips to Make Your Hair Grow Faster

Proper hair growth depends on several factors such as diet, hair care regime, age, hormonal changes, pregnancy, certain diseases, medications, climate, genetic predisposition, etc.

In addition, your ethnic hair group also plays an important role in this regard because Asian/Oriental hair has the capacity to grow longer than Caucasian and Black-Afro/Caribbean hair.

Nevertheless, you can help your hair grow faster by taking a nutritious diet and taking good care of your hair. For example, if you have oily and greasy hair, then avoid washing your hair daily because it over stimulates the sebaceous glands.

 

Furthermore, regular washing strips the oil from the roots, thereby making them dry and brittle. Still, greasy hair needs to be washed more frequently than dry hair. Thick, long, and curly hair, in particular, need not be washed every day.

Those who cannot help shampoo daily can first apply conditioner to the ends and mid-section but away from the roots and then use a mild shampoo with more emphasis on the roots as it shall reach the ends while rinsing.

It has been observed that generally, strands of hair grow at a rate of about 0.3 to 0.4 mm in a day. Thus, they grow almost half an inch per month, or approximately six inches in a year.

 

  1. Incorporate foods high in vitamins and minerals in your diet. Fruits, vegetables, seeds, and whole grains rich in vitamin B complex (B3-niacin, B5, B6, B7-biotin, B9, and B12) are particularly useful for growing hair in a healthy way.Thus, you can have soybeans, avocados, blueberries, tuna, peanuts, Brazil nuts, etc. Vitamin A, vitamin C, vitamin E, iron, zinc, magnesium, and silica, too, encourage hair growth.
  2. Include dark-green vegetables such as broccoli, kale, collard, spinach, mustard greens, green peas, and salmon, mackerel, walnuts, flaxseeds, pumpkin seeds, and so on in your diet because they contain omega-3 essential fatty acids that boost hair growth.
  3. As hair is made of protein, include high-protein food items such as milk, cheese, cottage cheese, yogurt, poultry, soy tofu, turkey, oyster, beans, and lentils in your diet.In addition, drink an adequate amount of water throughout the day to stay hydrated to sustain cell health. Needless to say, abstain from cigarette smoking and excessive alcohol intake as these unhealthy habits promote hair loss.
  4. Apart from these, some other healthy foods recommended for hair growth are almonds, bell peppers, alfalfa sprouts, and oats.
  5. Drink a mixture of alfalfa juice, carrot juice, and lettuce juice.
  6. Consume beetroot juice because it is high in vitamin A, B vitamins, vitamin C, folic acid, protein, and amino acids.
  7. Another juice recipe involves extracting the juice of half small beet, half a cucumber, and five large carrots.
  8. Regularly consume a cup of yogurt mixed with one tablespoon each of wheat germ, soya lecithin, brewer’s yeast, and honey. You can include this in your breakfast.
  9. Drink freshly brewed green tea or take green tea capsules to combat hair loss. Furthermore, you may rinse your scalp with a solution prepared by steeping two green tea bags in a cup of hot water.Green tea is rich in polyphenols, particularly epigallocatechin-3-gallate (EGCG) and has anti-inflammatory properties that facilitate hair growth, and reduce hair loss.
  10. Take proper rest and sleep; it is during sleep that the growth hormone is released and the body repairs itself. In fact, sleep deprivation is one of the most common factors associated with hair loss.Hence, maintaining a good sleeping pattern not only keeps you healthy, energized, and emotionally stable, but also helps in hair growth.
  11. Yoga can prove to be of great help in making your hair grow faster and longer. Certain yogic postures can improve circulation to the scalp and hence promote hair growth naturally.
  12. Follow acupressure techniques to decrease hair loss and boost hair growth.
  13. Regular aerobic and cardiovascular exercises improve circulation, lower cortisone levels, and reduce DHT (dihydrotestosterone), thereby encouraging hair growth and protecting against hair loss.
  14. Reduce stress; it encourages hair loss. You could try meditation and relaxation techniques to manage stress. You need to eliminate both physical and emotional stress.
  15. A chemical called Capsaicin, which is present in cayenne pepper is beneficial in alleviating stress-induced hair loss.You can take about a teaspoon or a little less than a teaspoon of cayenne pepper or chili powder to promote hair growth and avoid hair loss. For convenience, you may add the powder in a glass of water or apple cider vinegar.
  16. A combination of capsaicin and soy isoflavone extract (both in oral doses) is also considered useful. However, there is need for further research in this regard.

 

Hair Growth Supplements

 

  1. Take multivitamins and vitamin supplements to increase your vitamin intake for healthy hair growth.
  2. Folic acid pills, taken once or twice daily (almost 400 micrograms), assist in the synthesis of amino acids and aid in cell division to make your hair grow faster.It is naturally present in fenugreek, spinach, flax seeds, black beans, pinto beans, broccoli, cucumber, tomato, milk, yogurt, brewer’s yeast, peanuts, strawberries, papaya, kiwi, orange juice, and so on.
  3. FDA approved biotin pills, preferably taken orally along with other B vitamins, facilitates hair growth.
  4. Take sea kelp supplements to speed up hair growth and reduce breakage. It is particularly good for individuals suffering from iodine deficiency. To apply it topically on the scalp, dilute one part of pure sea kelp extract in three parts of distilled water.
  5. Consume fish-oil supplements. They are rich in omega-3 fatty acids acids that provide nutrients to the hair follicles. Gelatin capsules, too, are considered effective for faster hair and nail growth. Vegans, however, may have to look for other alternatives.
  6. Flaxseed oil pills are also effective in making hair grow faster. You may include flaxseed oil in your diet by adding it in salad dressings, smoothies, etc.However, flax oil may not work for some people because it requires enough enzymes that can convert its ALA (alpha linolenic acid linolenic acid) into DHA and EPA that further break down into prostaglandins.
  7. Taking nettle tablets (500 mg per day) works as a great remedy to stop hair loss. Needless to say, before taking any supplement, consult your doctor. If not interested in taking pills, drink stinging nettle tea three times in a day.
  8. Propecia (finasteride) is another effective hair loss remedy. It has side effects, though. In addition, it is not recommended for women.
  9. Saw Palmetto berry extract improves skin and scalp conditions, and helps reverse hair loss or Androgenic Alopecia. This herbal remedy can either be taken as a dietary supplement (320 to 480 mg) or used topically.You can take this supplement twice daily. When applying it on the scalp, combine the extract with some oil and then leave it on your hair for at least one or two hours.Besides, you may use a Saw Palmetto shampoo. It is advised to consult your physician before trying this method of hair growth. Plus, consider talking to an alternative medicine expert for suitable dosage.
  10. Sulfur assists in metabolizing B vitamins, which in turn help grow your hair. Moreover, it provides strength to the hair. You can take sulfur supplements in the form of MSM (methylsulfonylmethane) capsules and apply sulfur mixes (sublimed sulfur powder) after mixing them in your hair oil.
  11. Topically applying liquid melatonin on the scalp once daily has shown positive results in increasing hair growth and re-growth in women. However, further research is required to determine the long-terms effects of this treatment.
  12. Ginseng is a popular Chinese herb that promotes hair growth and helps repair damaged hair cells.
  13. Chinese angelica root or dong quai is another Chinese herb that works a natural cure for hair loss.
  14. Ginkgo Biloba extract also works as an alternative medicine to boost hair growth.
  15. Evening primrose oil can be taken internally (total 1,000 mg, three times per day) as well as applied externally on the scalp to stimulate hair growth. It is a good source of potent prostaglandins and omega-6 fatty acids.Plus, it has GLA (Gamma-Linolenic Acid) that prevents hair loss. As this oil tends to go rancid soon, you may consider taking it in capsule form.

 

  1. Massage the scalp with warm organic coconut oil (heat it slightly in a double boiler or in a microwave for a few seconds), apply it on the hair and leave for at least 30-45 minutes. To increase the absorption of oil you can do a Saran wrap.Coconut oil is one of the best oils recommended for hair growth because it prevents the loss of protein from your hair. Moreover, it stimulates circulation, prevents dandruff, and reduces head lice infestation.You can follow hot oil deep conditioning treatments about once or twice in a week. If you want to soak your hair in oil for longer, then after applying the oil, wrap a soft towel around your hair, and leave it overnight.
  2. Boil some fresh curry leaves in coconut oil until the leaves turn black. Cool and strain the oil. Massage this oil generously onto your hair and scalp two times in a week to stimulate hair growth.
  3. Like curry leaves, you can boil dry amla pieces (Indian gooseberry) in coconut oil.
  4. Similarly, you can boil ten Chinese Hibiscus flowers in two cups of coconut oil until they become charred and use the resultant oil to augment hair growth.
  5. Massaging antioxidant rich, extra-virgin olive oil on the scalp aids in circulation, thereby encouraging hair growth. It stops DHT production on the scalp and hence prevents hair loss. In addition, olive oil works as a natural conditioner and scalp disinfectant.
  6. Another recipe with olive oil involves adding three drops each of cedar wood oil, thyme oil, two drops each of rosemary, lavender, peppermint essential oil, and half a teaspoon of grated ginger in a quarter cup of organic olive oil.
  7. Add organic honey and a teaspoon of cinnamon powder in warm olive oil. Massage this paste on your scalp, let it sit for 15 minutes and then wash it off.
  8. Apply castor oil or a combination of two tablespoons of castor oil mixed with four drops of rosemary essential oil to reduce hair loss.
  9. Being rich in fatty acids and vitamin E, pure argan oil works wonders in nourishing damaged hair, encouraging hair growth, taking care of curly hair, and protecting your tresses from ultraviolet rays and environmental pollution. Moroccan argan oil is quite popular in this regard.
  10. Emu oil promotes hair growth and fights baldness by revitalizing dormant hair follicles and inhibiting 5 alpha reductase.This enzyme that converts testosterone into DHT which, in turn, causes hair loss. Moreover, it has ant-inflammatory and anti-microbial properties.
  11. Eucalyptus oil stimulates blood flow and thus increases hair growth. Furthermore, it revitalizes dull hair, treats dandruff, improves hair texture, and promotes hair elasticity and luster.
  12. Amla oil serves as an excellent Ayurvedic remedy for reducing loss of hair.
  13. Sweet almond oil helps in reducing issues like hair loss, hair fall, and breakage; helps ease scalp irritation and inflammation, too.
  14. Grape seed oil is a light oil that nourishes the scalp and makes hair grow fast. It can be applied on all types of hair. In fact, it is helps make curly hair manageable.
  15. Jojoba oil is similar oil that absorbs quickly and does not make your hair too greasy after application. Pure jojoba oil is hypoallergenic.
  16. Wheat germ oil, rich in a variety of fatty acids (longer than the ones present in coconut oil), vitamin A, vitamin B complex, vitamin D, vitamin E, choline, and so on, is considered effective for growing long hair.
  17. You may use wheat germ oil in combination with coconut milk and aloe vera gel to nourish your hair and increase hair growth.
  18. Another remedy involves massaging the scalp with two tablespoons of castor oil mixed with three drops of tea tree oil. Leave for at least half an hour and then shampoo. You can follow this treatment once daily.
  19. Avocado oil, being rich in amino acids and antioxidants, nourishes damaged hair and encourages healthy growth of hair. It is effective for deep conditioning.
  20. Flaxseed oil, being rich in essential fatty acids, stimulates hair and nail growth. Furthermore, you can make a flaxseed gel at home to manage curly hair.
  21. Pure nettle oil works as a hair tonic.
  22. Pumpkin seed oil inhibits DHT (Dihydrotestosterone) production, testosterone and androgen levels. Therefore, it assists in controlling hair loss. DHT blocks the hair follicles from absorbing proteins.
  23. Essential oils like that of rosemary, thyme, sage, lavender, cedarwood, peppermint, Roman chamomile, lemon, grapefruit, cypress, carrot root, geranium, ylang ylang, etc. can be mixed in carrier oil and massaged on the scalp to accelerate hair growth.
  24. Rosemary oil, in particular, is high beneficial for hair growth. In case you do not want to buy it, prepare the oil yourself by placing the herb in a glass bottle, adding oil of your choice (olive oil, avocado oil, jojoba oil, sesame oil, etc.).Let this solution sit for two to four weeks. Apart from applying this herb externally, regularly drink two cups of rosemary tea.
  25. Apply a mixture of one teaspoon of vitamin E oil, two ounces of grape seed oil, six ounces of extra-virgin coconut oil, ten drops of rosemary oil, ten drops of eucalyptus oil and ten drops of tea tree oil.
  26. Add 3 ml jojoba oil, three drops each of lavender oil, rosemary oil, and two drops each of thyme and cedar wood oil in 20 ml grape seed oil. Massage with this oil and leave for at least 30 minutes.
  27. Mix a quarter cup each of jojoba oil, vitamin E oil, 15 drops of rosemary essential oil, and the same quantity of peppermint oil/eucalyptus oil. Massage your scalp with this oil blend daily before going to bed and leave it overnight.

 

Herbal Infusions and Hair Masks

 

  1. Adding herbal infusions like that of lavender, rosemary, sage, southern wood, and so on in your shampoo is another easy and popular way to stimulate hair growth.
  2. Mix four teaspoons of ground coffee in eight ounces of your shampoo before using it. Do not use this treatment more than once in a day.
  3. Blend fresh parsley sprigs in a blender to get a puree and apply it on your scalp and hair for an hour or so. Alternatively, you can grind parsley seeds, rub the resultant powder on the scalp, and leave it overnight.
  4. After washing, simply rinse your hair with rosemary infusion after washing. While using rosemary, remember that it tends to darken the hair color over a period of time.
  5. Steep three tablespoons of fresh or dried rosemary in a cup of boiling water for 30 to 45 minutes. Allow it to cool.Next, strain the solution and add a cup of apple cider vinegar and a few drop of rosemary essential oil. Use this rosemary vinegar once in a week after shampooing your hair.For applying, mix four teaspoons of this infusion in warm water and rinse your hair with it. Finally, wash your hair with plain water after about five minutes.
  6. It is believed that applying a mixture of onion juice and honey on the scalp, especially the bald patches cures hair loss and helps re-grow hair.
  7. A combination of onion juice and aloe vera gel is also useful.
  8. Applying shea butter on your hair for a few hours helps revitalize damaged hair and softens dry hair. In addition, it enhances hair growth because it is rich in essential vitamins and minerals.You can prepare shea butter for hair at home by heating one and a half cup of shea butter in a microwave or over a double-boiler (just soften it, do not melt it completely, though) and whip it to get batter-like consistency.Next, add half a cup of olive oil in it and again mix. Finally, blend this mixture along with a teaspoon of vitamin E oil and half an ounce of an essential oil of your choice to get a light texture and smooth consistency.
  9. Mix four tablespoons of grapeseed oil, an egg, and a few drops of lavender essential oil. Massage this slimy solution on your hair and scalp. Wash it off after 20-30 minutes.
  10. Massage the scalp with a combination of almond oil, a few drops of lavender oil, and an egg yolk to promote hair growth. Rinse it off after about half an hour.
  11. Soak two to three tablespoons of amla powder in water and keep it aside for a week and rinse your hair this solution to stimulate hair follicles. It works as a natural hair conditioner, too.
  12. This is another amla powder hair recipe for healing hair loss. Take two teaspoons of amla powder, and add two teaspoons of fenugreek powder and sufficient coconut oil in it to form a paste.Next, mix this paste in a cup of coconut oil. Put this mixture on low heat until it becomes brownish. Keep it aside for a couple of hours and then apply.
  13. Application of aloe vera gel on the scalp and leaving it overnight is beneficial in facilitating hair growth and getting rid of dandruff. It is rich in vitamin A, B vitamins, vitamin E, vitamin E, selenium, choline, and other nutrients.
  14. Massage the scalp with a combination of aloe vera gel and fenugreek seeds to reduce hair loss.
  15. Steep two to four teaspoons of dried horsetail herb in a cup of hot water for 15-20 minutes. Allow it to cool and then rinse your hair with this solution and wash it off after 20 minutes to boost hair growth. Besides, you can drink horsetail tea.
  16. Whisk an egg. Mix mashed avocado pulp and half a cup of mayonnaise in it. Use this thick paste to condition your hair two to three times in a month.
  17. Prepare a smooth hair mask by taking a beaten egg and adding a quarter cup each of mayonnaise and yogurt. Massage it on your hair and scalp, and rinse and shampoo after an hour.If you are not comfortable directly applying egg in your hair, then just use a cup of mayonnaise as it contains protein, amino acids and B vitamins.
  18. Those who have oily hair can apply a solution of three tablespoons of extra-virgin olive oil, two tablespoons of tea tree oil, and the same amount of lime juice. Leave it on your scalp for 2-3 minutes and then wash it to cleanse the scalp and promote hair growth. This recipe also treats dandruff.
  19. Whisk two egg whites and add two tablespoons of olive oil and about half or one-third cup of water in it. Apply this protein-rich mixture on your scalp. After 15-20 minutes, wash it off with cold water. Follow this procedure once or twice a month to enhance hair growth.
  20. Application of henna hair packs reduces hair breakage, reduces premature graying of hair, heals the hair shafts, conditions the hair, makes your hair longer, stronger, and softer.
  21. Take a tomato, three tablespoons of lemon juice, and half a teaspoon of rosemary essential oil. Blend all these ingredients together and apply the resultant paste on your scalp.Rinse it off with lukewarm water after 10-15 minutes and shampoo as usual. You can follow this procedure a few times in a week, even daily.
  22. When dealing with hair loss, apply a mixture of henna, two beaten eggs, four teaspoons each of lemon juice, ground coffee, one teaspoon of fenugreek seed powder, and sufficient usual or herbal tea to form a thick paste.
  23. Heat 60 g of henna leaves in 250 ml of mustard oil. Cool and strain the solution. Massage the scalp with this oil to stimulate hair growth and prevent hair fall.
  24. Prepare a hair tonic by steeping 100 g watercress in 100 ml alcohol mixed with a teaspoon of geranium oil. Keep it aside for one week. Finally, strain and use this solution as a hair loss remedy.
  25. Rinse your hair with a combination of three parts green tea and four parts vodka.
  26. Soak a handful of almonds in water overnight. Next day, remove the skin and grind them along with two tablespoons of lemon juice. Massage your scalp with this smooth paste and leave for 20 minutes. Finally, shampoo and condition your hair as usual.
  27. Take half red onion and chop it. Boil it in water along with four garlic cloves, and two teaspoons of cinnamon powder. After 15 minutes, remove from heat and let it sit for about four days. Rinse your hair with this infusion to combat loss of hair and promote hair growth.
  28. Combine one tablespoon each of ground oats, almond oil and milk to form a paste. Massage the scalp with this oatmeal mask to moisturize your hair and prevent hair loss. After 20 minutes, wash it off and shampoo your hair.
  29. Beat an egg and mix two tablespoons of green tea and a tablespoon of mustard powder. Leave this mask on your hair for 20-25 minutes to increase circulation to the scalp. Finally, wash it off and shampoo as usual.
  30. Use a potato mask prepared by adding an egg yolk and some honey in potato juice extracted from three potatoes.
  31. Apply a combination of mustard oil, lemon juice, and egg or plain yogurt for half an hour to stimulate healthy growth of hair.

Hair Care Tips and Tricks to Make Your Hair Grow Faster

  1. Avoid chemical and heat treatments such as, hot rollers, straightening irons, curling irons, etc. on your hair.
  2. Flip your hair upside down for a couple of minutes to stimulate hair follicles.
  3. Simply massage your scalp gently in circular motion with your fingers twice daily for a minute or two to improve circulation and help blood and nutrients reach the hair follicles.
  4. Try using a shampoo scalp massage brush to stimulate hair growth.
  5. Massage the scalp with a prong hair brush daily for about 10 minutes followed by brushing the hair with a natural boar bristle brush from the root to the ends to redistribute the natural oils on the hair and scalp. You can incorporate this hair care regime every night before going to bed.
  6. Trim your hair every six to eight weeks. This helps remove split ends, thereby facilitating healthy hair growth. Split ends do not usually prevent the growth of hair, but they are unattractive and make your hair susceptible to breakage.
  7. Interestingly, it is believed that trimming your hair during the New Moon phase makes hair grow faster whereas cutting your hair during the Full Moon decreases the rate of hair growth. The reason cited for this strange and unusual belief is that moon cycles tend to affect hair growth.
  8. Though not proven still, people have reported positive results after using Mane ‘N Tail horse shampoo as it moisturizes the hair and prevents breakage.
  9. Use a clarifying shampoo every few weeks or once in a month to remove scalp buildup. If you use more hair styling products or wash your hair with hard water, then you may have to apply the clarifying shampoo more often, even weekly or two times in a week.
  10. Protect your hair from the sun by wearing a hat and making a braid to avoid sun exposure on the ends.
  11. Take proper care of your tresses by maintaining a good hair care routine. Plus, keep certain tips in mind.For instance, do not brush wet hair as they tend to break easily. Rather, comb your lustrous locks when they are somewhat dry or semi-moist.In addition, when using a blow dryer, try to use it from midway to the end of the hair shaft. In other words, do not use it close to the root. In case you are dealing with frizzy hair, use a hair dryer with diffuser.Besides, it is suggested to use silk pillow cases while sleeping as they create less friction. Hence, they prevent tangles.
  12. Your choice of hair products also plays an important role in maintaining healthy hair that can grow fast.Thus, select your shampoos, conditioners and other hair-care products depending on your hair type, i.e., whether you have normal, dry, oily or combination hair type. For example, if you have dry hair, it is best for you to opt for an intensive moisturizing shampoo.

You need to follow the above-mentioned remedies for at least a few months to get encouraging results because you cannot grow healthy hair overnight. Most hair packs mentioned here can be applied almost once or twice weekly.

Needless to say, before applying any hair pack, make sure you comb your hair and remove all tangles to avoid breakage.

When striving to grow beautiful long hair, try to eliminate problems like dandruff, scalp ringworm, scalp psoriasis, folliculitis, seborrheic dermatitis, and so on.

Besides, certain conditions such as anemia, hypothyroidism, hyperthyroidism, lupus, etc. also affect your hair by causing hair fall and thinning of hair. Thus, nurture your hair and maintain good overall health to ensure faster hair growth

 

2012 server weblogic 12C

very important sometimes to set up a software application as an window service on Window Platform.Window service enable  a software application to start working

as soon as Machine is turned on so that no manual or human interaction is required to start that application whenever machine is turned on.In this article i will show how

to install weblogic 12 c server as an window service on  Window 7 platform.After installing weblogic 12c server on the machine,Perform the following steps to make it as

an window service.

(1.)  After installing the web logic 12c  server ,Its installation directory will be in C drive. Path will be like C:\Oracle\Middleware .Its Tree structure would be like:Nodemanger services weblogic12c.2windows 001 weblogic12c.2windows 002 weblogic12c.2windows 003 weblogic12c.2windows 004 weblogic12c.2windows 005 weblogic12c.2windows 006 weblogic12c.2windows 007 weblogic12c.2windows 008 weblogic12c.2windows 009 weblogic12c.2windows 010 weblogic12c.2windows 011 weblogic12c.2windows 012 weblogic12c.2windows 013 weblogic12c.2windows 014 weblogic12c.2windows 015 weblogic12c.2windows 016 weblogic12c.2windows 017 weblogic12c.2windows 018 weblogic12c.2windows 019 weblogic12c.2windows 020 weblogic12c.2windows 021 weblogic12c.2windows 022 weblogic12c.2windows 023 weblogic12c.2windows 024 weblogic12c.2windows 025 weblogic12c.2windows 026 weblogic12c.2windows 027 weblogic12c.2windows 028 weblogic12c.2windows 029 weblogic12c.2windows 030

Installation IBM MQ 7.5 ON RHEL 7 and 6

WebSphere MQ is an IBM messaging solution which enable applications to communicate each other asynchronously.
Application A for example need not to be connected direct to application B to exchange information moreover application B need not to be running for the application A to communicate.
Application A simply place the message in container called queue and application B will retrieve the message from that queue when it is available.
That is the meaning of asynchronous communication messaging solutions accomplish. Other messaging solutions include Oracle Streams Advanced Queuing

The following post is showing the installation of IBM Webspere MQ version 7.5

– Setup WebSphere user and Group
– Kernel Configuration Parameters
– Read and Accept License
– Install WebSphere MQ Components
– Post Installations
– Verifying Installation
– Start WebSphere MQ Explorer GUI

Setup WebSphere MQ User and Group
On UNIX like systems, WebSphere MQ requires a user ID of the name mqm, with a primary group of mqm to own the directories and files of the product.
WebSphere MQ installation will automatically create the user and group for you. However you may want to setup in advance
Login to the system as user root then create user and group as follow:

groupadd mqm
useradd -g mqm mqm
passwd mqm

Kernel Configuration Parameters
To make the following kernel changes log as user with root authority.
Open the file “/etc/sysctl.conf” then add or change the following entries to the values shown (if the existing values in file are greater than these values do not change)
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 268435456
kernel.sem = 500 256000 250 1024
net.ipv4.tcp_keepalive_time = 300

Add the following information to the “/etc/security/limits.conf” file
mqm              hard    nofile          10240
mqm              soft    nofile          10240

While login as root set your current working directory to the installation files.
Run the “./mqlicense.sh -text_only” command to read accept the license issues or run “./mqlicense.sh -accept” command to accept the license without displaying all text as follows
(You must accept the license compliances otherwise you won’t proceed with installation):
[root@oracledbserver software]# ls
MQ_7.5.0.2_TRIAL_LNX_ON_X86_64_ML.tar.gz
[root@oracledbserver software]#

[root@oracledbserver software]# ./mqlicense.sh

Licensed Materials – Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2013 All rights reserved.

US Government Users Restricted Rights – Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.

Displaying license agreement on localhost:11.0

Agreement accepted:  Proceed with install.

[root@oracledbserver software]#

[root@oracledbserver software]# ls
copyright                                 MQSeriesGSKit-7.5.0-2.x86_64.rpm   MQSeriesMsg_ru-7.5.0-2.x86_64.rpm
crtmqpkg                                  MQSeriesJava-7.5.0-2.x86_64.rpm    MQSeriesMsg_Zh_CN-7.5.0-2.x86_64.rpm
lap                                       MQSeriesJRE-7.5.0-2.x86_64.rpm     MQSeriesMsg_Zh_TW-7.5.0-2.x86_64.rpm
licenses                                  MQSeriesMan-7.5.0-2.x86_64.rpm     MQSeriesRuntime-7.5.0-2.x86_64.rpm
MQ_7.5.0.2_TRIAL_LNX_ON_X86_64_ML.tar.gz  MQSeriesMsg_cs-7.5.0-2.x86_64.rpm  MQSeriesSamples-7.5.0-2.x86_64.rpm
mqlicense.sh                              MQSeriesMsg_de-7.5.0-2.x86_64.rpm  MQSeriesSDK-7.5.0-2.x86_64.rpm
MQSeriesAMS-7.5.0-2.x86_64.rpm            MQSeriesMsg_es-7.5.0-2.x86_64.rpm  MQSeriesServer-7.5.0-2.x86_64.rpm
MQSeriesClient-7.5.0-2.x86_64.rpm         MQSeriesMsg_fr-7.5.0-2.x86_64.rpm  MQSeriesXRClients-7.5.0-2.x86_64.rpm
MQSeriesExplorer-7.5.0-2.x86_64.rpm       MQSeriesMsg_hu-7.5.0-2.x86_64.rpm  MQSeriesXRService-7.5.0-2.x86_64.rpm
MQSeriesFTAgent-7.5.0-2.x86_64.rpm        MQSeriesMsg_it-7.5.0-2.x86_64.rpm  PreReqs
MQSeriesFTBase-7.5.0-2.x86_64.rpm         MQSeriesMsg_ja-7.5.0-2.x86_64.rpm  READMEs
MQSeriesFTLogger-7.5.0-2.x86_64.rpm       MQSeriesMsg_ko-7.5.0-2.x86_64.rpm  repackage
MQSeriesFTService-7.5.0-2.x86_64.rpm      MQSeriesMsg_pl-7.5.0-2.x86_64.rpm
MQSeriesFTTools-7.5.0-2.x86_64.rpm        MQSeriesMsg_pt-7.5.0-2.x86_64.rpm
[root@oracledbserver software]# rpm -ivh MQSeriesRuntime-7.5.0-2.x86_64.rpm MQSeriesServer-7.5.0-2.x86_64.rpm
Preparing…                ########################################### [100%]
1:MQSeriesRuntime        ########################################### [ 50%]
2:MQSeriesServer         ########################################### [100%]

After the installation has completed, run the ‘/opt/mqm/bin/mqconfig’
command, using the ‘mqm’ user ID.

For example, execute the following statement when running as the ‘root’ user:

su mqm -c “/opt/mqm/bin/mqconfig”

The ‘mqconfig’ command validates that the system configuration satisfies the
requirements for WebSphere MQ, and ensures that the settings for the ‘mqm’
user ID are suitably configured.  Other WebSphere MQ administrators in the
‘mqm’ group can run this command to ensure their user limits are also
properly configured to use WebSphere MQ.

If ‘mqconfig’ indicates that any of the requirements have not been met,
consult the installation section within the WebSphere MQ Information Center
for details about how to configure the system and user limits.

[root@oracledbserver software]# su mqm -c “/opt/mqm/bin/mqconfig”
mqconfig: Analyzing CentOS release 6.6 (Final) settings for WebSphere MQ V7.5

System V Semaphores
semmsl     (sem:1)  500 semaphores                     IBM>=500          PASS
semmns     (sem:2)  1 of 256000 semaphores     (0%)    IBM>=256000       PASS
semopm     (sem:3)  250 operations                     IBM>=250          PASS
semmni     (sem:4)  1 of 1024 sets             (0%)    IBM>=1024         PASS

System V Shared Memory
shmmax              268435456 bytes                    IBM>=268435456    PASS
shmmni              1 of 4096 sets             (0%)    IBM>=4096         PASS
shmall              1347 of 2097152 pages      (0%)    IBM>=2097152      PASS

System Settings
file-max            5088 of 579741 files       (0%)    IBM>=524288       PASS
tcp_keepalive_time  300 seconds                        IBM<=300          PASS

Current User Limits (mqm)
nofile       (-Hn)  10240 files                        IBM>=10240        PASS
nofile       (-Sn)  10240 files                        IBM>=10240        PASS
nproc        (-Hu)  9 of 16384 processes       (0%)    IBM>=4096         PASS
nproc        (-Su)  9 of 16384 processes       (0%)    IBM>=4096         PASS
[root@oracledbserver software]#

[root@oracledbserver software]# rpm -ivh MQSeriesClient-7.5.0-2.x86_64.rpm MQSeriesSDK-7.5.0-2.x86_64.rpm MQSeriesSamples-7.5.0-2.x86_64.rpm  MQSeriesJava-7.5.0-2.x86_64.rpm MQSeriesMan-7.5.0-2.x86_64.rpm MQSeriesJRE-7.5.0-2.x86_64.rpm  MQSeriesExplorer-7.5.0-2.x86_64.rpm

[root@oracledbserver software]# rpm -ivh MQSeriesClient-7.5.0-2.x86_64.rpm MQSeriesSDK-7.5.0-2.x86_64.rpm MQSeriesSamples-7.5.0-2.x86_64.rpm  MQSeriesJava-7.5.0-2.x86_64.rpm MQSeriesMan-7.5.0-2.x86_64.rpm MQSeriesJRE-7.5.0-2.x86_64.rpm  MQSeriesExplorer-7.5.0-2.x86_64.rpm
Preparing…                ########################################### [100%]
1:MQSeriesJRE            ########################################### [ 14%]
2:MQSeriesExplorer       ########################################### [ 29%]
3:MQSeriesMan            ########################################### [ 43%]
4:MQSeriesJava           ########################################### [ 57%]
5:MQSeriesSamples        ########################################### [ 71%]
6:MQSeriesSDK            ########################################### [ 86%]
7:MQSeriesClient         ########################################### [100%]
[root@oracledbserver software]#

Post Installations
If you have chosen this installation to be the primary installation on the system, set it as the primary installation.  Execute MQ_INSTALLATION_PATH/bin/setmqinst -i -p MQ_INSTALLATION_PATH where MQ_INSTALLATION_PATH represents the directory where WebSphere MQ is installed. Example
[root@oracledbserver software]#  /opt/mqm/bin/setmqinst -i -p /opt/mqm/
118 of 118 tasks have been completed successfuly.
‘Installation1’ (/opt/mqm) set as the Primary Installation.
[root@oracledbserver software]# su – mqm
[mqm@oracledbserver ~]$
[mqm@oracledbserver ~]$ . /opt/mqm/bin/setmqenv -s
[mqm@oracledbserver ~]$ dspmqver
Name:        WebSphere MQ
Version:     7.5.0.2
Level:       p750-002-130704.TRIAL
BuildType:   IKAP – (Production)
Platform:    WebSphere MQ for Linux (x86-64 platform)
Mode:        64-bit
O/S:         Linux 2.6.32-504.16.2.el6.x86_64
InstName:    Installation1
InstDesc:
Primary:     Yes
InstPath:    /opt/mqm
DataPath:    /var/mqm
MaxCmdLevel: 750
[mqm@oracledbserver ~]$
Verifying Installation
To verify installation configure the default queue manager, use the amqsput sample program to put a message on the queue, then use the amqsget sample program to get the message back from the queue

Log in as a user in the mqm group use command crtmqm to create a queue manager called QMA as follows

[mqm@oracledbserver ~]$ crtmqm QMA
There are 90 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory ‘/var/mqm/qmgrs/QMA’ created.
The queue manager is associated with installation ‘Installation1’.
Creating or replacing default objects for queue manager ‘QMA’.
Default objects statistics : 74 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
[mqm@oracledbserver ~]$

[mqm@oracledbserver ~]$ strmqm QMA
There are 90 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager ‘QMA’ starting.
The queue manager is associated with installation ‘Installation1’.
5 log records accessed on queue manager ‘QMA’ during the log replay phase.
Log replay for queue manager ‘QMA’ complete.
Transaction manager state recovered for queue manager ‘QMA’.
WebSphere MQ queue manager ‘QMA’ started using V7.5.0.2.
[mqm@oracledbserver ~]$
[mqm@oracledbserver ~]$ runmqsc QMA
5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMA.

DEFINE QLOCAL (QUEUE1)
1 : DEFINE QLOCAL (QUEUE1)
AMQ8006: WebSphere MQ queue created.
end
2 : end
One MQSC command read.

[mqm@oracledbserver bin]$  ./amqsput QUEUE1 QMA
Sample AMQSPUT0 start
target queue is QUEUE1
Hello MOhan
Sample AMQSPUT0 end

Sample AMQSPUT0 end
[mqm@oracledbserver bin]$ ./amqsget QUEUE1 QMA
Sample AMQSGET0 start
message <Hello MOhan>
message <Sample AMQSPUT0 end>

end

Start WebSphere MQ Explorer GUI
Log in as a user in the mqm group then run MQExplorer command
[mqm@oracledbserver  MQExplorer

Install oracle 12c on 2012 server

oracle2012server 001 oracle2012server 002 oracle2012server 003 oracle2012server 004 oracle2012server 005 oracle2012server 006 oracle2012server 007 oracle2012server 008 oracle2012server 009 oracle2012server 010 oracle2012server 011 oracle2012server 012 oracle2012server 013 oracle2012server 014 oracle2012server 015 oracle2012server 016 oracle2012server 017

Install Tomcat 8 , IIS 8 on 2012 Server

tomcat2012 006
Change windows hostname from command line

cmd (command):
netdom renamecomputer %COMPUTERNAME% /Newname “NEW-NAME”

powershell (windows 2008/2012):
netdom renamecomputer “$env:COMPUTERNAME” /Newname “NEW-NAME”

After you have downloaded and installed the Java Development Kit (JDK) in Windows, you must set the JAVA_HOME environment variable to point to the JDK installation directory.

You must follow these steps to set JAVA_HOME variable on your Windows system.

Right-click the My Computer icon on your desktop and select Properties.
Click Advanced system settings link.
Click the Advanced tab.
Click the Environment Variables button.
Under System Variables, click New.
Enter the variable name as JAVA_HOME
Enter the variable value as the installation path for the Java Development Kit as tomcat2012 001 tomcat2012 002 tomcat2012 003 tomcat2012 004 tomcat2012 005 tomcat2012 007 tomcat2012 008 tomcat2012 009 tomcat2012 010 tomcat2012 011 tomcat2012 012 tomcat2012 013 tomcat2012 014 tomcat2012 015

 

 

 
Install Tomcat 8 on Windows 2012 Server and use IIS 8 as frontend

http://tomcatiis.riaforge.org/downloads/AJP13_v1022.zip

war file
https://bitbucket.org/lucee/lucee/downloads/lucee-4.5.1.000.war

 

 

IIS 001 IIS 002 IIS 003 IIS 004 IIS 005 IIS 006 IIS 007 IIS 008 IIS 009 IIS 010 IIS 011 IIS 012 IIS 013 IIS 014 IIS 015 IIS 016 IIS 017 IIS 018 IIS 019 IIS 020 IIS 021 IIS 022 IIS 023 IIS 024 IIS 025

Oracle 12C database on Rhel 7 Centos 7 Fedora

Install Oracle Database 12c On CentOS7

Add a host file entry

[root@oracledb ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.60 oracledb.rmohan.com oracledb

[root@oracledb ~]# hostnamectl
Static hostname: oracledb.rmohan.com
Icon name: computer-vm
Chassis: vm
Machine ID: 4145c21ef6ec4ca3a6a4ea34087a5552
Boot ID: a0d067b346df44f98ba7248578bfde3b
Virtualization: vmware
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-229.1.2.el7.x86_64
Architecture: x86_64

[root@oracledb ~]# cat   /etc/centos-release
CentOS Linux release 7.1.1503 (Core)
[root@oracledb ~]#

[root@oracledb ~]# ip a   | grep inet
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
inet 192.168.1.60/24 brd 192.168.1.255 scope global eno16777736
inet6 fe80::20c:29ff:feac:4a80/64 scope link tentative dadfailed
[root@oracledb ~]#

Login as root and add required groups:

/usr/sbin/groupadd -g 501 oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/groupadd-g 503 oper
/usr/sbin/groupadd-g 504 asmadmin
/usr/sbin/groupadd-g 506 asmdba
/usr/sbin/groupadd -g 505 asmoper
useradd -u 502 -g oinstall -G dba,asmdba,oper oracle
passwd oracle

Upload the oracle software on to the server

I downloaded the following database packages.

cd /root/software

wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm

yum groupinstall “GNOME Desktop” -y
yum groupinstall “Development Tools” -y

Oracle Installation Prerequisites

yum install binutils -y
yum install compat-libstdc++-33 -y
yum install compat-libstdc++-33.i686 -y
yum install gcc -y
yum install gcc-c++ -y
yum install glibc -y
yum install glibc.i686 -y
yum install glibc-devel -y
yum install glibc-devel.i686 -y
yum install ksh -y
yum install libgcc -y
yum install libgcc.i686 -y
yum install libstdc++ -y
yum install libstdc++.i686 -y
yum install libstdc++-devel -y
yum install libstdc++-devel.i686 -y
yum install libaio -y
yum install libaio.i686 -y
yum install libaio-devel -y
yum install libaio-devel.i686 -y
yum install libXext -y
yum install libXext.i686 -y
yum install libXtst -y
yum install libXtst.i686 -y
yum install libX11 -y
yum install libX11.i686 -y
yum install libXau -y
yum install libXau.i686 -y
yum install libxcb -y
yum install libxcb.i686 -y
yum install libXi -y
yum install libXi.i686 -y
yum install make -y
yum install sysstat -y
yum install unixODBC -y
yum install unixODBC-devel -y
yum install zlib-devel -y
yum install compat-libcap1 -y

[root@oracledb ~]#sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmall = 4294967296
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

[root@oracledb ~]#
Add following lines to set shell limits for user oracle in file /etc/security/limits.conf

oracle   soft   nproc    131072
oracle   hard   nproc    131072
oracle   soft   nofile   131072
oracle   hard   nofile   131072
oracle   soft   core     unlimited
oracle   hard   core     unlimited
oracle   soft   memlock  50000000
oracle   hard   memlock  50000000

[root@clusterserver2 yum.repos.d]# systemctl stop firewalld.service
[root@clusterserver2 yum.repos.d]# systemctl disable firewalld.service
rm ‘/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service’
rm ‘/etc/systemd/system/basic.target.wants/firewalld.service’
[root@clusterserver2 yum.repos.d]#

su  – oracle
cd /software
unzip linuxamd64_12102_database_1of2.zip
unzip linuxamd64_12102_database_2of2.zip

 

Oracle12cdb 001 Oracle12cdb 002 Oracle12cdb 003 Oracle12cdb 004 Oracle12cdb 005 Oracle12cdb 006 Oracle12cdb 007 Oracle12cdb 008 Oracle12cdb 009 Oracle12cdb 010

 
During the linking phase, you will see the following error.

Error in invoking target ‘links proc gen_pcscfg procob’ of makefile
‘/home/oracle/app/oracle/product/12.1.0/precomp/lib/ins_precomp.mk’.
See
‘/u01/app/oraInventory/logs/installActions2014-10-29_09-07-03PM.log’
for details.

To fix it, do the following:

rm -rf $ORACLE_HOME/lib/stubs/*
cp $ORACLE_HOME/rdbms/lib/env_rdbms.mk $ORACLE_HOME/rdbms/lib/env_rdbms.mk.orig

Perform the following modifications:

vi $ORACLE_HOME/rdbms/lib/env_rdbms.mk

# Line 176
# FROM:
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
# TO  :
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons

# Line 279-280
# FROM:
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS)
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS)
# TO  :
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,–no-as-needed
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,–no-as-needed

# Line 3041-3042
# FROM:
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)
# TO  :
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12

Click the “Retry” button.

Now, the installation should continue.
[root@oracledb oracle]# /home/oracle/app/oraInventory/orainstRoot.sh
Changing permissions of /home/oracle/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /home/oracle/app/oraInventory to oinstall.
The execution of the script is complete.
[root@oracledb oracle]# chmod 775 /home/oracle/app/oracle/product/12.1.0/dbhome_1/r
racg/     rdbms/    relnotes/ rest/     root.sh
[root@oracledb oracle]# chmod 775 /home/oracle/app/oracle/product/12.1.0/dbhome_1/r
racg/     rdbms/    relnotes/ rest/     root.sh
[root@oracledb oracle]# chmod 775 /home/oracle/app/oracle/product/12.1.0/dbhome_1/root.sh
[root@oracledb oracle]# sh /home/oracle/app/oracle/product/12.1.0/dbhome_1/root.sh
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME=  /home/oracle/app/oracle/product/12.1.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin …
Copying oraenv to /usr/local/bin …
Copying coraenv to /usr/local/bin …

Creating /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.

 

 

Oracle12cdb 011 Oracle12cdb 012

Oracle13 Oracle12cdb 013