2016
April
logo-ubuntu
Standard

Solve Overheating Issue In Ubuntu 14.04 (2 Graphic Adaptor issue)

After installation Ubuntu 14.04 on my laptop HP Envy dv6 with two graphic adaptors Intel/NVidia GT635M I discovered that my laptop start to overheat and make a noise in 5-10 minutes not only during playing flash or video but also during web browsing. The temperature increased up to 82 C. That appears due to Ubuntu can’t automatically switching between Intel/NVidia cards. I have implemented following solution to decrease temperature to 58 C.

First detect how many card your laptop has:

# lspci -vnn | grep -i VGA -A 12

then you should to install the latest NVidia drivers:

# sudo add-apt-repository ppa:xorg-edgers/ppa -y
# sudo apt-get update
# sudo apt-get install nvidia-current nvidia-settings

If you want, you can also select any version of NVidia drivers:

# aptitude search NVidia
nvidia-173
nvidia-304
nvidia-310
nvidia-319
nvidia-331
nvidia-340
nvidia-343
nvidia-current
nvidia-experimental-Х

after NVidia drivers installation complete you should to install Bumblebee Project to activate NVidia Optimus technology (improving performance metrics \ energy consumption)

# sudo add-apt-repository ppa:bumblebee/stable
# sudo apt-get update
# sudo apt-get install bumblebee bumblebee-NVidia
# sudo apt-get install primus

Done. Restart the system now you can use your laptop without fear to grill your balls :)

The end
Standard

SSL Certificate Installation in Apache 2.x / Enable SSL/HTTPS on a Joomla

SSL Certificate Installation in Apache 2.2.15 (CentOS 6.7) / Enable SSL/HTTPS on a Joomla 2.5.9

#############################################################

1. First you need to generate a Certificate Signing Request CSR on Apache 2.x

# Openssl req –new  -newkey rsa:2048 –nodes –keyout ajdms.btrp.net.key –out ajdms.btrp.net csr

2. Create /etc/ssl/crt folder
3. Find and Copy ajdms.btrp.net.key file to new created folder /etc/ssl/crt
4. Upload received (if you procured) CRT files  ajdms_btrp_net.crt DigiCertCA.crt to /etc/ssl/crt
5. Edit Add following strings to httpd.conf

# cd /ect/httpd/conf
# vi httpd.conf

VirtualHost 192.168.200.100:443
DocumentRoot /var/www/dms
ServerName ajdms.btrp.net
SSLEngine on
SSLCertificateFile /etc/ssl/crt/ajdms_btrp_net.crt
SSLCertificateKeyFile /etc/ssl/crt/ajdms.btrp.net.key
SSLCertificateChainFile /etc/ssl/crt/DigiCertCA.crt
/VirtualHost

If you don’t have permissions for editing httpd.conf you can use this command

# chmod -R 777 /etc/httpd/conf/

6. Press Esc to exit inserting mode, then type :x to save close vi
7. Test your Apache config before restarting

# apachectl configtest

8. Restart Apache service

# apachectl stop
# apachectl start

#########################################################
Now we need to log into Joomla CPanel to complete HTTPS protocol enabling for Joomla
9. Go to Joomla Admin Panel — File Manager— Root Folder (Using Profiles module, can be downloaded here : http://extensions.joomla.org/extension/core-enhancements/file-management/profiles )
10. Open and add to  .htaccess file following strings

RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]
IfModule !mod_ssl.c>
Redirect permanent / https://ajdms.btrp.net

11. Enable SSL function in Joomla. Go to JoomlaAdmin Panel — Global Configuration —  Server—-Force SSL
12. Choose Entire Site
13. Check your web site it has SSL now.

The end