Thursday, October 20, 2016

Best Apache *.cnf file configuration for symfony3

<VirtualHost *:80>
    ServerName project1
    ServerAlias project1

    DocumentRoot /var/www/project1/web

    <Directory /var/www/project1/web>
        AllowOverride All
        Order Allow,Deny
        Allow from All
    </Directory>

    # uncomment the following lines if you install assets as symlinks

    # or run into problems when compiling LESS/Sass/CoffeScript assets
    # <Directory /var/www/project>
    #     Options FollowSymlinks
    # </Directory>

    ErrorLog /var/log/apache2/project_error.log

    CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>

Saturday, September 10, 2016

How to install Gnu Typist

You can use ez terminal command to install Gnu Typist
sudo apt-get install gtypist
If you want to run english type course you can run next terminal command:
LANG=en_US.UTF-8 gtypist

How to show CPU model and information in Ubuntu 16 terminal

less /proc/cpuinfo