Showing posts with label after. Show all posts
Showing posts with label after. Show all posts

Sunday, May 28, 2017

Posted by beni in , , , , , , , , , , , , , , | May 28, 2017

700 Apache 2 4 HTTPS on Windows Server stops working after running for several hours


I was trying setup an Apache 2.4 server on Windows Server 2008 R2 to server static files for my web applications over SSL. It ran smoothly for couple hours and than hang forever. I tried to restart server every time it happens but it only last for several hours and then crashed again. It frustrated me and after looking to the configuration of Apache for a while, I finally make it works beautifully.


1. Enable MPM in httpd.conf with those settings:

By default, this MPM uses advanced Windows APIs for accepting new client connections. In some configurations, third-party products may interfere with this implementation, with the following messages written to the web server log:

Child: Encountered too many AcceptEx faults accepting client connections.
winnt_mpm: falling back to AcceptFilter none.
The MPM falls back to a safer implementation, but some client requests were not processed correctly. In order to avoid this error, use AcceptFilter with accept filter none.

AcceptFilter http none
AcceptFilter https none

# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf

For more information about MPM, please read this.

2. Increase the number of threads per child process in /extra/httpd-mpm.conf

<IfModule mpm_winnt_module>
    ThreadsPerChild      1000
    MaxRequestsPerChild    0
</IfModule>

3. Some minor changes in SSL configuration (/extra/httpd-ssl.conf)

Listen 443 https
...
ErrorLog "${SRVROOT}/logs/error_.log"
TransferLog "${SRVROOT}/logs/access_.log"

4. Restart Apache (in cmd) and see the magic

net stop Apache
net start Apache


Wednesday, May 24, 2017

Posted by beni in , , , , , , | May 24, 2017

5 Things To Do After Installing Jaunty


Powered by Ubuntu Linux (Sticker)

Enjoying the latest and greatest that Linux has to offer? Here are 5 things you should do to get even more from your Ubuntu 9.04

1) Configure Firewall

If you are concern about your security, then it is pertinent that you activate the firewall and prevent any unauthorized access to your computer.

UFW is installed by default, but if you need a graphical interface, install GUFW.
sudo apt-get install gufw

2) Enable the repositories

Every time I do a fresh install of Ubuntu, the first thing that I do is to enable the universe, multiverse, backport and Canonical�s �partner� repositories. These repositories open up new application choices and allow you to install popular third party software easily and quickly.

Go to System -> Administration -> Synaptic Package Manager.

Click on Settings -> Repositories.

Check all the boxes.

Go to the Third-Party Software tab. Check all the boxes.

Click on Close button and press the Reload button at the top left corner to update the repositories.

3) Wine

Wine is a must-have application for those who can�t live without their Windows applications, It allows you to install your Windows application in your Ubuntu machine and run them like native Windows apps.
sudo apt-get install wine

Once you have installed Wine, remember to run the configuration (Applications -> Wine -> Configure Wine) before attempting to install your favorite Windows app.

4) Ubuntu-Restricted-extras

YouTube, LLCCan�t listen to MP3? Can�t watch Youtube video? Can�t run Java? Don�t worry, all you need to do is to install the ubuntu-restricted-extras package and it will install all the necessary files/codecs for you. Some common applications in the package include MP3 codec, Adobe Flash player, Java runtime and Microsoft core fonts.
sudo apt-get install ubuntu-restricted-extras

5) Download Ubuntu Tweak and VLC

Download Ubuntu Tweak here and install it by double clicking the .deb file

Download VLC by this command

sudo apt-get install vlc

Tuesday, May 23, 2017

Posted by beni in , , , , , , | May 23, 2017

5 Things Do After installing Linux Mint


1. Software Update 
    select the update manager from
       Menu  >> Administration >> Update Manager

you can also do it with terminal  sudo apt-get update && sudo apt-get upgrade  

2.
Change the search engines of Firefox
To change the search engine in the search box of Firefox to Google, you just need to open Firefox then go to the following address:
 http://www.linuxmint.com/searchengine_google.php 


After that, click on the drop down list in the search box and select "Add Google"


To change the search engine of the address bar from DuckDuckGo to Google, you open Firefox , type about:config on the address bar. You will see a warning, just click on the "Ill be careful" button to go to the config page. In this config page, scroll down until you find the line that begins with "keyword.URL":


Right click on this line and select the Modify option. The box to edit the search engine will appear, in this box, you just need to replace the DuckDuckGo url with Google:
 http://www.google.com/search?q= 

Click ok .  Now both the address bar and the search box use Google as the default search engine.
3. Install new Themes and Icons 
 The best place to look for nice themes and icons in my opinion is Gnome-look . And get the themes and icons . Also remember to read the installation instruction of each theme and icon set.
 a conky setup
 
Install Conky in Ubuntu/Linux Mint open terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:                 
 sudo apt-get install conky conky-all
If gadget doesnt adjust in your screen, you can change size in line 40, 41. Enter Following command to open file in text editor and change size:
                               sudo gedit ~/.conkyrc
5.Install Compiz Config Settings Manager
Compiz is an awesome tool, you can do a lot of cool things with it so I recommend everybody to install Compiz. You can tweak a lot of things with CCSM and of course, it is always fun to show the cubic desktops to your friends :D
To install Compiz, you can search for it in the Software Manager or run the following command:
 sudo apt-get install compizconfig-settings-manager 

6.Install Wine
I myself at times need to run some Windows applications so Wine is always a must-have tool for me. To install Wine, you can search for it in the Software Manager or use this command:
 sudo apt-get install wine 




Thursday, May 11, 2017

Posted by beni in , , , , , , , , , , | May 11, 2017

80 years old Crocodile Caught In Uganda After Eating A Man


Crocodile Caught In Uganda After Eating A Man

Uganda Wildlife Authority went on a hunt for four hours to trap the animal A one-ton giant crocodile has been captured by the Uganda Wildlife
Authority (UWA) along the shores of Lake Victoria in Kakira village after it allegedly ate a man and maiming
crocodile is believed to be approximately 80-years-old and was trapped by officials using meat on a hook

Thursday, May 4, 2017

Posted by beni in , , , , , , , , , , | May 04, 2017

8 Things To Do After Installing Ubuntu 13 10 Saucy Salamander


Posted: 17 Oct 2013 11:13 AM PDT
Ubuntu 13.10 was released today and for those of you who plan on doing a clean install, here are 8 useful things to do after the installation.

Ubuntu 13.10 Saucy Salamander


1. Install some extra AppIndicators (applets)


System Load Indicator Ubuntu

System Load Indicator is a port of the popular System Monitor GNOME Panel applet and it can display CPU, memory, network usage, hard disk I/O and more on the panel. Install it from the Ubuntu Software Center by clicking the button below:

Download for Ubuntu

Or, to install it via command line, use:
sudo apt-get install indicator-multiload


CPUFreq Indicator

Cpufreq Indicator is the equivalent of the old GNOME CPU frequency scaling applet which can be used for changing the CPU frequency on-the-fly. Install it in Ubuntu by clicking the button below:

Download for Ubuntu

Or install it from the command line:
sudo apt-get install indicator-cpufreq



My Weather Indicator is an appindicator that displays the current weather on the Unity panel. The appindicator can also display a 5-day forecast, a desktop widget and supports four weather services: OpenWeatherMap, Yahoo, Wunderground and World Weather Online.

To install it in Ubuntu 13.10, use the commands below:
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator


Variety wallpaper changer

Variety is an application that comes with an AppIndicator but since you basically only have to configure it once and after that youll only need to use the AppIndicator, Ill list it here. Variety is a cool wallpaper changer that automatically downloads and changes your wallpaper on a given interval. Using it, youll get cool, fresh wallpapers each day. From the AppIndicator you can quickly switch to the next (random) wallpaper or copy the wallpaper to favourites, for later use.

To install Variety in Ubuntu, use the following commands:
sudo add-apt-repository ppa:peterlevi/ppa
sudo apt-get update
sudo apt-get install variety


Diodon clipboard manager appindicator

Youll probably also want a clipboard manager. I recommend Diodon which is lightweight, supports files, image sections and more. To install it in Ubuntu 13.10 Saucy Salamander, click the button below:

Download for Ubuntu

Or open a terminal and copy/paste the following command to install it:
sudo apt-get install diodon diodon-plugins

More AppIndicators on WebUpd8 and on AskUbuntu.


2. Tweak Unity


Unity Tweak Tool

Unity Tweak Tool allows users to change various Unity settings such as auto-hide bahavior, window snapping and hot corners, tweak Dash, the Unity Launcher or HUD, change the GTK or icon theme, change the font face or size, move the window controls to the right and much more.

To install Unity Tweak Tool from the Ubuntu Software Center, click the button below:

Download for Ubuntu

Or, install it in Ubuntu 13.10 via command line:
sudo apt-get install unity-tweak-tool


3. Privacy tweaks


Ubuntu 13.10 privacy

As you probably know, by default Dash shows all the recently accessed files as well as other files found on your filesystem. By selecting Security & Privacy from System Settings, you can choose what file types can show up in Dash, exclude various applications or folders/partitions from showing up in Dash and theres also an option to clear usage data.

Furthermore, on the Search tab, you can disable online search results from being displayed in Dash. However, this option disables all the online search results so if for instance you only want to disable the shopping suggestions, you can run the following command:
gsettings set com.canonical.Unity.Lenses disabled-scopes "[more_suggestions-amazon.scope, more_suggestions-u1ms.scope, more_suggestions-populartracks.scope, music-musicstore.scope, more_suggestions-ebay.scope, more_suggestions-ubuntushop.scope, more_suggestions-skimlinks.scope]"

More on disabling Dash (search) plugins, HERE.


Privacy indicator

Another way to deal with privacy in Ubuntu 13.10 is to use the Privacy Indicator, a tool hat lets you quickly enable/disable Zeitgeist (activity logging) or online search results from showing up in Dash, clear the Zeitgeist log or recent files (which show up in the Nautilus "Recent" sidebar item for instance).

Download Privacy Indicator (theres a deb available at the bottom of the page)


4. Enable the discrete card on systems with Hybrid graphics


The Ubuntu developers have worked to support Hybrid graphics in Ubuntu 13.10 (and 12.04 LTS). Below youll find instructions on how to set this up.

Nvidia settings Ubuntu

Nvidia Optimus: unfortunately, the Nvidia Linux graphics drivers dont yet fully support Optimus - more on this subject, HERE.

Ubuntu 13.10 (Saucy Salamander) ships with a new package called "nvidia-prime" which enables the Nvidia graphics card on Optimus systems (which by default use the integrated Intel graphics chip). By using the instructions below, the Nvidia card will always be in use, so theres no way to switch it off to save power. Because of this, the laptop will consume more power and possibly overheat - in my case, the laptop gets really hot and for this reason Im not using this solution but things may work better for your laptop (and if not, you can easily revert the changes).

Unfortunately, thats not the only issue. You may also experience screen tearing and hotplug wont work so if you want to use multiple monitors, youll have to manually set them up in xorg.conf. The advantages are that youll be able to play games that arent supported by the Intel graphics, use VDPAU-enabled media players, etc.

That said, if you want to give this a try in Ubuntu 13.10 Saucy Salamander, make sure youre using LightDM (the default Ubuntu display manager) and not some other display manager like GDM. Also, if youve installed Bumblebee, youll need to purge it:
sudo apt-get purge bumblebee* bbswitch-dkms

Then, install the latest Nvidia drivers and "nvidia-prime":
sudo apt-get install nvidia-319 nvidia-settings-319 nvidia-prime

And finally, reboot (restarting X isnt enough).

If you want to revert this change, simply remove the installed packages:
sudo apt-get remove nvidia-319 nvidia-settings-319 nvidia-prime
And reboot.

AMD Hybrid graphics: I didnt test this because I dont have a system with AMD graphics, but according to the HybridGraphics Ubuntu wiki page, there arent any known issues, so I assume that everything works properly (again, Im not sure since I cant test it!).

To get proper AMD Hybrid graphics support in Ubuntu 13.10, all you have to do is install the latest fglrx driver and fglrx-pxpress from the repositories:
sudo apt-get install fglrx fglrx-pxpress
And then reboot the system (restarting X isnt enough).


5. Improve battery life


There are two tools you can use to improve your laptops battery life: laptop-mode-tools or TLP. Both try to achieve the same thing, but from what Ive read, TLP seems to save a bit more power. However, TLP is only available in a PPA so if you dont like adding PPAs, install laptop-mode-tools.

Important note: dont install both laptop-mode-tools and TLP!

To install laptop-mode-tools, click the button below:

Download for Ubuntu

Or install it from the command line:
sudo apt-get install laptop-mode-tools

Or, to install TLP, use the commands below:
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start

No configuration is needed for either TLP or laptop-mode-tools.

Another way to save power and prevent your laptop from overheating (the tool also allows running apps or games on the discrete graphics card on demand, using the "optirun" command - see below) is Bumblebee. Bumblebee is a tool for laptops that use Nvidia Optimus, that disables the Nvidia card when not in use.

Note: if you plan on using the hybrid graphics solution under step 4 for Nvidia Optimus, dont install Bumblebee!

To install Bumblebee, click the button below:

Download for Ubuntu

Or install it via command line:
sudo apt-get install bumblebee bumblebee-nvidia

Then reboot.

Currently theres a bug in Ubuntu 13.10 that prevents "optirun" from working. To fix it, use the following command:

- 32bit:
sudo ln -s /usr/lib/i386-linux-gnu/libturbojpeg.so.0 /usr/lib/i386-linux-gnu/libturbojpeg.so
- 64bit:
sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so

When you want to use the Nvidia graphics card for an application, run:
optirun APP-EXECUTABLE
replacing "APP-EXECUTABLE" with the application (or game) executable.


6. Install codecs, Java and encrypted DVD playback


To be able to play most audio and video formats, install Ubuntu Restricted Extras by clicking the button below:

Download for Ubuntu

Or install it using the following command:

sudo apt-get install ubuntu-restricted-extras


I suggest to also install the unrestricted versions of libavformat and libavcodec so you dont encounter issues with missing codecs when trying to use some video editors or transcoders - install them by clicking the button below:

Download for Ubuntu

Or by using the following command:

sudo apt-get install libavformat-extra-53 libavcodec-extra-53


You may also need Java, but you must figure out what you need. Most users will only need OpenJRE and the Java browser plugin which you can install by clicking the button below:

Download for Ubuntu

Or by using the following command:

sudo apt-get install icedtea-7-plugin openjdk-7-jre


For development, youll also want OpenJDK which you can install by using the button below:

Download for Ubuntu

Or by using the following command:

sudo apt-get install openjdk-7-jdk


If for various reasons, you need Oracle Java (the package includes JDK, JRE and the browser plugin), you can install Oracle Java 7 by using the following commands:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Encrypted DVD playback: the Medibuntu repository no longer exists and while most packages in the archive are obsolete or unnecessary because most are now in the official Ubuntu repository or have better equivalents, livdvdcss is still required for playing encrypted DVDs. 

You can enable encrypted DVD playback in Ubuntu 13.10 by using the following commands:
sudo apt-get install libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh


7. Get the latest Rhythmbox and VLC


Rhythmbox VLC

Two popular applications: Rhythmbox and VLC, havent been updated to the latest version in Ubuntu 13.10. If you want to install the latest version for these apps, you can use PPAs.

Please note that by upgrading Rhythmbox, the plugins in the Rhythmbox third-party plugins PPA will stop working. The plugins Rhythmbox ships with will obviously work.

Rhythmbox (version in Ubuntu 13.10: 2.99.1, version in PPA: 3.0.1):
sudo add-apt-repository ppa:jacob/media
sudo apt-get update
sudo apt-get install rhythmbox

VLC (version in Ubuntu 13.10: 2.0.8, version in the PPA: 2.1.0):
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc


8. Tweak Nautilus: disable recursive search and install a quick file previewer


Nautilus 3.8 no recursive

The type-ahead find feature was remove from Nautilus starting with version 3.6. Later versions perform a search in the current directory and all its subdirectories when you start typing a file name. And this makes it unusable at times so if you find this behavior annoying, you can install Nautilus patched to allow disabling recursive search (you can easily enable it back if you want).

To upgrade Nautilus to the patched version that allows disabling recursive search, use the following commands:
sudo add-apt-repository ppa:dr3mro/personal
sudo apt-get update
sudo apt-get upgrade
nautilus -q

Then, disable recursive search using the following command:
gsettings set org.gnome.nautilus.preferences enable-recursive-search false

If later on you want to re-enable recursive search, use the command below:
gsettings set org.gnome.nautilus.preferences enable-recursive-search true


GNOME Sushi

GNOME Sushi is a quick file previewer for Nautilus. To install it, click the button below (this will install gnome-sushi and unoconv, required to be able to preview some files such as documents):

Download for Ubuntu

or install it via command line:
sudo apt-get install gnome-sushi unoconv

To use it, select a file (picture, text or document, sound file and so on) and press the SPACE key to preview that file. You can close the preview either by clicking the SPACE key again or clicking the window close button.


Now its your turn. What are the first things you install or tweak after a fresh Ubuntu installation?

Originally published at WebUpd8: Daily Ubuntu / Linux news and application reviews.

Tuesday, April 25, 2017

Posted by beni in , , , , , , , , , , , , , , , | April 25, 2017

A fan slid in front of Zlatan Ibrahimovic last night after PSG Paris Saint Germains match


Composure! A fan slid in front of Zlatan Ibrahimovic last night after PSG - Paris Saint-Germains
match.

Instead of tossing him aside, Zlatan gave him his shirt AND a hug! But he didnt give away his special "Dare to Zlatan" boots.

Search