Home
Search results “Apache allowoverride options indexes”
Manually Installing and Configuring Apache 2.4 VC14 on Windows 10
 
32:23
I cover the process of manually installing and configuring the 64-bit version of Apache 2.4 on Windows 10 for local development. The version of Apache 2.4 that I choose to download is one that will work with PHP. I spend some time going over various problems that you might encounter. Table of Contents 1:11 Downloading the web server program. 2:41 Verifying the SHA-1 checksum of the software. 4:36 Extracting the program to C:\Apache24 5:15 Running the server from the command prompt 5:42 Troubleshooting the missing VCRUNTIME140.dll error message 7:35 Instructing Windows Firewall to allow access to the web server for private networks only. 8:00 Troubleshooting the "AH00072: make_sock: could not bind to address 0.0.0.0:80" error message. 10:18 Starting the program successfully for the first time. 10:55 Determining where the "It works!" web page comes from. 11:53 Creating a virtual host configuration entry to support multiple websites for local development. 14:15 Stopping and starting the server that is still running from the command line. 14:45 Editing the hosts file that tell my computer that specific website address go to my local computer. 16:12 Figuring the "Access is denied" message when trying to save the hosts file. 17:05 Troubleshooting when your web browser searches for the website address instead of actually navigating to it in the address bar. 17:45 Figuring out what causes the "You don't have permission to access / on this server" message. 20:42 Creating an index.html test file. 21:32 Troubleshooting seeing index.html.txt file instead of the contents of the test page. 23:00 Changing more settings in the httpd.conf file (AllowOverride to All and removing the Indexes option). 23:56 Revisiting another variation of the "You don't have permission to access /" message. 26:10 Looking at the "AH00526: Syntax error" message 26:40 Installing Apache 2.4 as a Windows service 28:30 Looking at the Apache Monitor 29:25 Troubleshooting the "The requested operation has failed" message when starting the web server from the monitor. 31:26 Getting the Apache Monitor to automatically start.
Views: 14623 ProgramOften
Shorter share links: getting rid of index.php
 
01:51
By default, Nextcloud share links look like mynextcloud.com/index.php/s/20v0rfzow20 By removing the 'index.php' part, the links get much shorter! mynextcloud.com/s/20v0rfzow20 How? A few server settings is all it takes. Watch the video! Enable the rewrite and env modules in Apache: a2enmod rewrite a2enmod env Enable AllowOverride in the Apache config: vi /etc/apache2/apache2.conf Directory /var/www/ Options Indexes FollowSymLinks AllowOverride None ---- to All Require all granted /Directory Add RewriteBase "/" to the Nextcloud config: cd /var/www/html/ sudo -u www-data ./occ config:system:set htaccess.RewriteBase --value / NOTE that / should be where Nextcloud is installed; that can be /nextcloud, for example. And if you've configured your webroot to be /var/www/html/nextcloud it is / again sudo -u www-data ./occ maintenance:update:htaccess Restart the webserver: service apache2 restart Thanks to Lukas for the idea and how-to! Get your nextcloud at nextcloud.com
Views: 2825 Nextcloud
Установка Web-сервера под Windows #2 – Apache и PHP
 
17:58
Правки в httpd.conf: Options Includes Indexes FollowSymLinks AllowOverride All Allow from all DirectoryIndex index.php index.html Подключение PHP: LoadModule php7_module "C:\web\server\php\php7apache2_4.dll" AddHandler application/x-httpd-php .php PHPIniDir "C:\web\server\php" Команды для установки Apache: cd "c:\web\server\apache\bin" httpd -k install Путь файла hosts: C:\Windows\System32\drivers\etc
Views: 685 Eni WEB
Cap6. Apache. Options, htaccess y allowoverride
 
16:44
Se da un breve repaso a la directiva options y se explica el funcionamiento del fichero de administración distribuida .htaccess y su control desde Allowoverride
Views: 357 Luis Llano
Change default config for apache
 
04:34
Change apache default config to obstacle permission issue ## Enable permalink Wordpress have pretty permalink features. default it's disabled. ``` a2enmod rewrite sudo gedit /etc/apache2/apache2.conf ``` And change `AllowOverride None` to `AllowOverride All` Then Run `service apache2 restart`
Views: 758 Prosenjit Manna
6 Apache Options
 
16:22
Sin audio.
Views: 88 Angelica Fernandez
Добавить сайт Apache Ubuntu
 
03:56
Добавление сайта в Apache Ubuntu 1) Создадим директорию для сайта в папке var/www 2) Добавим файл конфига в etc/apahce/sites-avaliable угловая скобка VirtualHost *:80 угловая скобка ServerName nameSite.lc ServerAdmin [email protected] DocumentRoot /var/www/nameSite.lc/ угловая скобка Directory /var/www/nameSite.lc/ угловая скобка Options Indexes FollowSymlinks AllowOverride All Require all granted угловая скобка /Directory угловая скобка ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined угловая скобка /VirtualHost угловая скобка 3) Добавим запись о сайте etc hosts 127.0.0.1 nameSite 4) В командной строке добавим сайт sudo a2ensite nameSite 5) Перезагрузим apache sudo /etc/init.d/apache2 restart
Views: 25 Miromir
mod_rewrite not working on Apache in ubuntu 18.04 / 16.04 laravel routes not work
 
00:47
Directory /var/www/gloops/public Options Indexes FollowSymLinks AllowOverride All Require all granted /Directory sudo a2enmod rewrite
Views: 240 WorldGyan
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 2 of 2
 
12:03
How To Set Up Apache Virtual Hosts, PHP, MYSQL, and Magento 2 on Ubuntu 14.04? Part 2 of 2 Continue from the Part 1: https://youtu.be/-eGB_DB-gag More detail information in my blog: http://www.allute.com/blog/our-blog-1/post/how-to-set-up-apache-virtual-hosts-php-mysql-and-magento-2-on-ubuntu-14-04-8#scrollTop=3400 In Github get a token in your account 5e38d034197f7462e7ad2a6ff1270ceac07864dc Composer config -g github-oauth.github.com 5e38d034197f7462e7ad2a6ff1270ceac07864dc php5enmod mcrypt apt-get install php5-intl sudo apt-get install php5-xsl Upgrade MYSQL sudo apt-get update sudo apt-get upgrade sudo apt-get install mysql-server-5.6 Change from HTTPs to SSH in Github and clone the Magento2 from there [email protected]:magento/magento2.git B: Clone Magento 2 from GitHub In your Putty window, head to the directory you created in step 0, and ensure that it is empty. Remove the index.html file you created if you followed the URL in step 0. cd /var/www/paulfan.net/public_html rm index.html git clone [email protected]:magento/magento2.git . C: Enable the www-data User sudo chsh -s /bin/bash www-data D: Install Dependencies with Composer cd /var/www/paulfan.net/public_html composer install chown -R www-data . E: Set Xdebug Max Nesting Level go to magento2 root: /var/www/magento2/magento2 go to paulfan.net root: cd /var/www/paulfan.net/public_html nano .htaccess add the "php_value xdebug.max_nesting_level 500" between php_value xdebug.max_nesting_level 500 F: Set Magento File Permissions find . -type d -exec chmod 700 {} \; find . -type f -exec chmod 600 {} \; sudo chmod +x bin/magento G: Set Up Database Table and User mysql -uroot -pYOURPASSWORD (my case is "mysql -uroot -p1Loveqotb") CREATE DATABASE magento2; // Create a new database user. We’ll call ours mageuser. CREATE USER 'mageuser'@'localhost' IDENTIFIED BY '1Loveqotb'; GRANT ALL PRIVILEGES ON magento2.* TO 'mageuser'@'localhost'; exit H: Run the Magento installation cd /var/www/paulfan.net/public_html www.paulfan.net follow the screen instruction enter your mysql password I: I had to go to my apache configuration (/etc/apache2/apache2.conf) and change this: cd /etc/apache2 nano apache2.conf Options Indexes FollowSymLinks AllowOverride none Require all granted To: Options Indexes FollowSymLinks AllowOverride All Require all granted And also enable mod rewrite: sudo a2enmod rewrite Then restart Apache: sudo service apache2 restart After that, you see your Magento potal at www.PaulFan.net We are passionate for your success. If you need help to setup, please contact us at www.Allute.com.
Views: 668 侯鵬飛
Apache URL Rewrite (mod_rewrite module) #57
 
22:46
In this tutorial you will learn how to activate Apache URL Rewrite by using mod_rewrite module. I will show you how to activate mod_rewrite module, how to modify an already defined Apache Virtual Host and I will explain what the new options are doing. During this tutorial I will spreak about the following Apache directives: Directory, Options, AllowOverride, Order and Allow. More info on: http://www.liviubalan.com/apache-url-rewrite-mod_rewrite-module
Views: 4863 Liviu Balan
how to enable mod_rewrite in httpd.conf --- Apache 2.4
 
03:40
I don't do every day configuration of Apache server. So it can be easily forgotten, and I need a reminder
Views: 32961 Saša Budai
02 - htaccess - Restringiendo acceso a los archivos de carpetas
 
04:10
CONTENIDO EXCLUSIVO SOLO EN PATREON Apoya los desarrollos del canal con $5 USD y tendrás acceso a cursos Premium, plantillas, sistemas web y vídeos exclusivos solo en PATREON. La suscripción de $5 USD en PATREON es mensual pero la puedes cancelar en cualquier momento, puede ver el contenido en el siguiente enlace: https://goo.gl/z8oQMf Para más información sobre PATREON y su funcionamiento puede ver el siguiente video: https://youtu.be/i8kjw6-MvYc ¡SUSCRIBETE AHORA! Suscríbete para estar informado de las nuevas tecnologías web, es totalmente gratis, además al suscribirte apoyas el canal para seguir desarrollando más contenido como este, haz clic en el siguiente enlace y confirma la operación: https://goo.gl/BN0iaj SÍGUEME EN FACEBOOK Sigue toda la actividad del canal en Facebook y entérate de todas las novedades, publicaciones, memes informáticos y mucho más. https://goo.gl/LyG126 ====================================================== Puedes ver más contenido destacado en el canal que pueda interesarte, vamos échale un vistazo tal vez te pueda interesar las siguientes listas de reproducción: === PHP: DESARROLLO PROFESIONAL EN MVC, MYSQL, AJAX, PDO === https://goo.gl/L8X2iv === CSS PROFESIONAL === https://goo.gl/Uz5FhE === CURSO DE PHP DESDE CERO === https://goo.gl/HNY1lo === SISTEMAS WEB PHP Y MYSQL=== https://goo.gl/fXQzCl === PLANTILLAS WEB RESPONSIVAS === https://goo.gl/UFLPXx ===== TIPS Y RECURSOS PARA DESARROLLO WEB ===== https://goo.gl/zesaSM === SCRIPTS Y TRUCOS DE PROGRAMACIÓN === https://goo.gl/o2Jjys === PLUGINS Y TEMAS PARA SUBLIME TEXT === https://goo.gl/QZPjav === CONFIGURACIONES DE HTACCESS === https://goo.gl/sPprS9 === DISEÑO WEB: IMÁGENES RESPONSIVE === https://goo.gl/x9zph8 === FACEBOOK (PLUGINS SOCIALES) === https://goo.gl/jDdFgN === CSS: FLEXBOX === https://goo.gl/zFE6sU
Views: 6440 Carlos Alfaro
Codeigniter 3  - Removing index php with XAMPP (Latest)
 
08:19
Steps you need to do: 1. Make sure you set the AllowOverride in either (\xampp\apache\conf\httpd.conf) for global settings, or (\xampp\apache\conf\extra\httpd-vhosts.conf) if you are using virtual hosts. Example Virtual Host Directory option AllowOverride All Require all granted 2. Make sure you create .htaccess and save it on your codeigniter application root folder. I am accepting programming tutorial requests using C#, VB.NET, PHP, Java, Android, Inkscape, nodejs and laravel framework. Please email [email protected] if you got some. Follow my pages: Blogspot - https://ron-script.blogspot.com Twitter - https://twitter.com/ronscript Pinterest -www.pinterest.com/ronscript
Views: 1511 ronscript
Connect to localhost apache from another device in the same lan
 
03:36
Connect to localhost apache from another device in the same lan. copy these lines to Directory Options FollowSymLinks AllowOverride None Order deny,allow Allow from all
Views: 69350 Web development
Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
 
04:08
when i trying to redirect('test') .. that doesn't work .. and getting error 'Not Found'. The problem caused by : 1) mod_rewrite not enable 2) no script 'AllowOverride All' in apache2.conf
Views: 32653 A. Hasbiyatmoko
Configure Apache using WHM
 
05:21
There are several configuration pages for Apache in WHM. Navigate to the Service Configuration category. 2) Go to Apache Configuration. Before changing any of the settings in this section, it is important that you read over the documentation and instructions, when available. When in doubt, leave a setting alone. 3) Let's start with the Global Configuration page. This page allows you to make some minor adjustments to the way Apache functions. The default settings should work just fine, in most cases. You might want to change the ServerSignature and ServerTokens options. Both of these relate to how your server identifies itself to your visitors and their browsers. 4) When finished here, click Save. For most of the services on your system, any configuration changes will require that the program is restarted. This usually drops any connections currently made to the service, so it's best not to restart a service when a bunch of people are connected. 5) Click here to rebuild Apache's configuration files and restart the program. 6) Return to the Apache Configuration page. 7) Next, PHP and SuExec Configuration. This page allows you to choose which of the PHP versions available on your system are active. You'll also see this page when recompiling Apache and PHP. You can also enable suEXEC for Apache, which decreases the security risks when running CGI and SSI programs. Note that this has no effect on PHP scripts -- that's where suPHP comes in. Enabling both PHP 4 and 5 here is one of the steps involved in running both versions of PHP simultaneously. When you have both on your system, you'll be able to choose which is used by default to execute .php files. 8) Click Save New Configuration when ready. You will be shown the settings you chose and the generated php.conf file. DirectoryIndex Priority lets you change which filenames can be used for the index page of a directory, as well as their order of preference. Let's move a filename up in the list, giving it higher priority. 9) Choose a filename. 10) Click Move Up until the filename is in the desired location. 11) Now, let's remove a filename from the list. 12) If you wish to add a filename to the list, use the Add button. 13) Click Save. 14) Again, you will have to rebuild the configuration files and restart Apache. The Include Editor allows you to enter advanced configuration directives that aren't available elsewhere in WHM. Since your configuration files are constantly recreated from scratch by WHM, manually editing the configuration files is not an option if you want your changes to be retained. Reserved IPs Editor lets you force Apache to run only on specific IPs, rather than all of them as is the default. Apache's log files can get huge quickly if your server hosts a lot of websites. With the Log Rotation page, you can choose which logs are rotated to a backup directory when they reach a certain size. To finish, let's check out the Memory Usage Restrictions page. This tool can help increase your server's stability at the potential cost of performance. It will limit each Apache process to a specific amount of memory, based on its memory usage history on your server. 15) Proceed memory limit has been adjusted.
Magento 2 404 error after installation
 
05:17
Give proper file permissions: chmod -R 777 var pub generated Enable Rewrite mode sudo a2enmod rewrite Configure apache For Ubuntu / Debian edit the file /etc/apache2/apache2.conf. sudo nano /etc/apache2/apache2.conf Modify from: Directory /var/www/ Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory to Directory /var/www/ Options Indexes FollowSymLinks AllowOverride All Require all granted /Directory Then restart apache Restart server systemctl restart apache2 Follow me - Twitter : @routbiplab93 LinkedIn : https://www.linkedin.com/in/biplabrout
Views: 57 MageDigest
Serveur LAMP français : partie 2 Configuration apache
 
13:41
Seconde partie du tutorial LAMP. Aujourd'hui nous allons relier un nom de domaine à notre serveur Apache 2. Pour l'exemple j'utilise le nom de domaine tuto.fr localement, c'est à dire que dans ma box dans la section DNS j'ai redirigé le nom de domaine tuto.Fr sur l'ip local de mon serveur 192.168.1.31 Création du repertoire web /home/tuto/www , se rendre dans votre /home avec : cd ~ Puis créer le repertoire avec (SANS les droits root/sudo): mkdir www Ensuite création du fichier de configuration de notre site que nous nommerons tuto.fr.conf. Se rendre dans le repertoire des sites actifs: cd /etc/apache2/sites-enabled création du fichier de configuration avec les droits sudoers: sudo vim tuto.fr.conf à l'intérieur du fichier copier/coller la partie suivante en l'adaptant à votre site (les descriptions youtube interdisants les signes plus grand que et plus petit que ils ont été retirés en début et fin des balises VirtualHost et Directory): VirtualHost *:80 ServerAdmin [email protected] ServerName tuto.fr ServerAlias *.tuto.fr DocumentRoot /home/tuto/www/ Directory "/home/tuto/www" Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory /VirtualHost Enregistrer et quitter avec :wq! Faire prendre en compte les modifications avec : sudo service apache2 restart
Views: 2447 VulgaNux
Autenticación Básica con htaccess en Apache2 con Debian
 
04:56
Autenticación Básica utilizando el fichero de configuración htaccess en Apache2 con Debian.
Views: 558 Jsús Gómez
Часть 4 | как создать свой проект Minecraft!
 
02:13
5 урок от 10 лайков. команды: sudo apt-get update sudo a2enmod rewrite sudo service apache2 restart sudo nano /etc/apache2/sites-enabled/000-default.conf /Directory /var/www/html/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all //Directory/ sudo service apache2 restart sudo nano /var/www/html/.htaccess RewriteEngine on sudo chmod 644 /var/www/html/.htaccess
Views: 94 Sakura
Install Magento 2 on Ubuntu with apache2 without error
 
37:08
Step 1: Install apache 2.4 sudo apt-get install apache2 Step 2: Install the PHP extension sudo apt-get install php7.0-fpm php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-xsl php7.0-json php7.0-intl php-pear php7.0-dev php7.0-common php7.0-mbstring php7.0-zip php-soap libcurl3 curl -y Step 3: Install mysql sudo apt-get install mysql-server User: root Pass: root Step 4: Download the sample data magento2 Permision html directory sudo chmod-R 777 Extract to / var / www / html / magento2 (your site's name) Step 5: Allow the directory - Run the command on the root directory of magento2: sudo chown -R www-data: www-data ./ Step 6: Install phpMyadmin (download zip file) - https://www.phpmyadmin.net/ - Extract to / var / www / html / phpmyadmin Yogurt: Run: sudo apt install php libapache2-mod-php - Create a database Step 7: Edit /etc/php/7.0/fpm/php.ini /etc/php/7.0/cli/php.ini /etc/php/7.0/apache2/php.ini max_execution_time = 1800 max_input_time = 6000 memory_limit = 1024M post_max_size = 128M upload_max_filesize = 32M Step 8: a2enmod rewrite apache - run command: sudo a2enmod rewritten - Insert into /etc/apache2/sites-available/000-default.conf: <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require all granted </ Directory> Restart apache2 Step 9: Install magento2
Views: 3849 TatTanTat
How to share a file without uploading (In Telugu By Gowthamraj gowthamraj in)
 
13:39
How to share a file without uploading (In Telugu By Gowthamraj gowthamraj in). If your having problem with permissions Click on Wamp In your task bar - Apache - httpd.conf. it will open in txt formate. search for Directory "c:/wamp/www/" replace between Directory "c:/wamp/www/" to /Directory with code below. we are unable to show brackets around directory.just copy code between and replace. Directory "c:/wamp/www/" # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # # Online -- Require all granted # onlineoffline tag - don't remove Require all granted /Directory should look like this http://www.mediafire.com/view/b3hm233tp42mxm1/Capture(2).PNG Click on Wamp In your task bar - Restart All Services. Now there will be no permissions error.
How to update Apache settings on Mac for custom 404 page
 
00:45
To test out your custom 404 page locally on Mac, you will need to update the config files within Apache since overriding is not allowed by default. Here are the steps: 1) Go to "/etc/apache2" folder using 'Go to' menu within Finder. We have to follow this way because by default this folder is hidden. 2) Locate "httpd.conf" file and open it in any text editor. (In my case, Sublime text). 3) Do a find for "allowoverride" a couple of times or until you find one specifically for .htaccess files. 4) Change the allowoverride setting to "All" if it is set to "None". 5) You're done! Hit me up if you have any questions!
Views: 2140 Rachit Gupta
How To Setup Password Protection
 
01:29
http://www.awardspace.com/ - Free Web Hosting Services | In this tutorial you will learn how to setup password protection for a specific folder in your website's directory. Password protection is commonly used when you want to hide a specific part from your web site from the public and share it only with a close circle of people. Our web hosting control panel offers this nice feature.
Lamp + PhpMyAdmin + Wordpress - Deepin 15.5
 
16:45
Instalação avançada do Deepin: https://www.youtube.com/watch?v=wux37hm0eTE&t=706s O Sucessor do Windows 10: https://www.youtube.com/watch?v=YmHRHmp5K2g Instalação completa e do absoluto zero do LAMP com os bonus: Phpmyadmin e Wordpress, você encontra aqui, na TI BAHIA. :) ACOMPANHE AS DICAS ABAIXO: ## ATUALIZAR OS sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade ## INSTALAR O MYSQL-SERVER sudo apt-get install mysql-server ## INSTALAR O APACHE2 sudo apt-get install apache2 ## CHECAR VERSAO DO PHP NO REPOSITORIO sudo apt-cache search php7 ## INSTALAR O PHP 7.1 sudo apt-get install php7.1-cli libapache2-mod-php7.1 php7.1-mysql php7.1-curl php-memcached php7.1-dev php7.1-mcrypt php7.1-sqlite3 php7.1-mbstring ## ATIVAR O MOD_REWRITE sudo a2enmod rewrite ## ATIVAR O USO DO .HTACCESS sudo gedit /etc/apache/apache2.conf (pelo terminal) Ou navegue até a pasta /etc/apache/ e edite o arquivo com seu editor preferido. Localize as linhas: Directory /var/www/ Options Indexes FollowSymLinks AllowOverride None -- troque para All Require all granted Directory # REINICIA APACHE sudo /etc/init.d/apache2 restart ## PHPMYADMIN sudo apt-get install phpmyadmin php-mbstring php-gettext ## WORDPRESS Entrar no site do wordpress, baixar a versão mais atual e seguir os passos do video.
Views: 1811 TI Bahia
How To Check Whether Mod_rewrite Is Enable On Server?
 
02:43
This tutorial will show you how to check whether mod_rewrite is enable on server. Build your website with templates from TemplateMonster.com: http://www.templatemonster.com/?utm_source=youtube&utm_medium=link&utm_campaign=hosttuts13
Views: 9956 TemplateMonster
Как установить свой сервер  CSS на VDS/VPS Хостинг + Быстрая Загрузка Файлов - Свой FastDL (Ubuntu)
 
28:07
Как установить свой сервер CSS на VDS/VPS Хостинг + Быстрая Загрузка Файлов - Свой FastDL (Ubuntu) Полная Установка Сервера CSS на VDS/VPS Хостинг + Быстрая Загрузка Файлов - Свой FastDL (Ubuntu) Мой сайт: http://uralpublic.ru Мой сервер: 85.143.222.124:27015 CS:S Пожертвовать на Qiwi: +77774683951 Пожертвовать на Webmoney WMR: R114831247370 Пожертвовать на Webmoney WMZ: Z158003192733 VPS/VDS Хостинг : https://goo.gl/otn6DN Запускатор - https://yadi.sk/d/e1h4ahgnpc6tS Steamcmd - https://yadi.sk/d/MmvMXTHipc72i No Steam - https://yadi.sk/d/B9CZKRX8pc77H Установка Сервера. sudo apt-get install lib32gcc1 Создаём потом директорию css и steamcmd в папке opt заходим в директорию cd /opt/steamcmd вставляем wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz распаковываем tar -xvzf steamcmd_linux.tar.gz запускаем файл update.sh ./update.sh выходим из директории cd / запускаем сам сервер заходим cd /opt/css ./start.sh Веб часть! apt-get install apache2 a2enmod rewrite sudo /etc/init.d/apache2 restart apt-get install nano cd /etc/apache2 nano apache2.conf Находим директорий: Directory /var/www/ Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory и заменяем None на All, что бы было так: Directory /var/www/ Options Indexes FollowSymLinks AllowOverride All Require all granted /Directory
Views: 4503 Димас DRUMMER
Setup SSL for Wordpress on Google Cloud Platform
 
10:32
This Google Cloud Platform tutorial will help you install SSL on Wordpress for Google Cloud Platform. I'll be using Let's Encrypt to get an SSL Certificate for free. This is a quick and easy way to obtain an SSL Certificate for free. Here are the steps: 1. Download Certbot-Auto 2. Execute Certbot-Auto 3. Test Certbot-Auto renewal 4. Point the SSL Certificate to be used 5. Restarts Apache Server Optional Steps: 6. Point all your contents to https 7. Set up Script to autorenew SSL Certificate You will need the following scripts to execute the commands on the video. If you have any questions, feel free to leave a comment below. Please help this channel by Subscribing https://goo.gl/t9hLPo Script 1: wget https://dl.eff.org/certbot-auto && chmod a+x certbot-auto Script 2: ./certbot-auto certonly --webroot -w /var/www/html/ -d domain.com -d www.domain.com Script 3: ./certbot-auto renew --dry-run Script 4: sudo nano /etc/apache2/sites-available/default-ssl.conf Script 5: &ltDirectory /var/www/html&gt Options Indexes FollowSymLinks Multiviews AllowOverride All Order allow,deny allow from all &lt/Directory&gt Script 6: SSLCertificateFile "/etc/letsencrypt/live/domain.com/cert.pem" SSLCertificateKeyFile "/etc/letsencrypt/live/domain.com/privkey.pem" SSLCertificateChainFile "/etc/letsencrypt/live/domain.com/chain.pem" Script 7: sudo a2ensite default-ssl sudo a2enmod ssl Script 8: sudo service apache2 restart Script 9: sudo nano /etc/apache2/sites-available/wordpress.conf Script 10: ServerName www.domain_name.com ServerAlias domain_name.com Redirect permanent / https://www.domain_name.com Script 11: sudo crontab -e Script 12: 0 18 * * 0 ./certbot-auto renew -q && /etc/init.d/apache2 restart --- ------ ----------- --- Here is my Google Web Designer Tutorial Playlist: https://goo.gl/SMTb8e Here is my Google Cloud Platform Tutorial Playlist: https://goo.gl/uMWrVT Here is my How to Playlist: https://goo.gl/m7JXpD Here is my Review Playlist: https://goo.gl/XEPkRn Here is my List of Things Playlist: https://goo.gl/zbs8r4 ✅ Fast track your journey to 5,000 subscribers - https://amzn.to/2K44YrL Recorded with: Sony HX80: https://amzn.to/2DQjpvj Snowball Mic: https://amzn.to/2GbvKMB Neewer LED Light: https://amzn.to/2DTdiX0
Views: 2424 StuffedBox
Instalar LAMP en Slackware 14.2 - Parte I: Apache.
 
03:38
Buenas noches vengo de nuevo pero ahora con un tutorial de como instalar LAMP en nuestro slackware 14.2. Explicaré el paso a paso de la instalación y configuración básica de LAMP en nuestra distribución. Comencemos! ¿Qué es LAMP? LAMP es el acrónimo usado para describir un sistema de infraestructura de internet que usa las siguientes herramientas: Linux, el sistema operativo; En algunos casos también se refiere a LDAP. Apache, el servidor web; MySQL/MariaDB, el gestor de bases de datos; Perl, PHP, o Python, los lenguajes de programación. La combinación de estas tecnologías es usada principalmente para definir la infraestructura de un servidor web, utilizando un paradigma de programación para el desarrollo. Fragmento extraído de Wiki: https://es.wikipedia.org/wiki/LAMP ¿Qué necesitamos? Para comenzar vamos a tener que tener listos los paquetes para instalar .tgz que serían los siguientes: Apache MySQL (mariadb) PHP A éstos lo que haremos tan simple como usar la herramienta slackpkg de ésta manera: slackpkg install httpd 1 - La ubicación del archivo de configuración del servidor Apache se encuentra en: /etc/httpd/. Con el nombre de httpd.conf. - Podemos utilizar el editor de texto favorito (en mi caso como siempre trabajo desde la tty, usaré nano). Recuerden que todo ésto lo haremos como root. # nano /etc/httpd/httpd.conf - Aquí nos encontraremos con toda la configuración principal de nuestro servidor Apache y veremos secciones como éstas: Directory / Options FollowSymLinks AllowOverride None Order deny,allow Deny from all /Directory y también Directory "/srv/httpd/htdocs" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all - Bueno en el caso que hayamos realizado algún cambio en ésta configuración (default) lo que ahremos será guardar los cambios y salir para ejecutar la siguiente orden: # apachectl -t Si todo salió bién tendremos un mensaje parecido a: Syntax OK. - Para iniciar nuestro server lo que ejecutaremos será lo siguiente: - Primero le damos los permisos: # chmod 0744 /etc/rc.d/rc.httpd - Luego será iniciar el server: # /etc/rc.d/rc.httpd start - Si queremos también editamos el index.html, lo editamos con nano en la ruta: /srv/httpd/htdocs/ # nano /srv/httpd/htdocs/index.html Guardamos los cambios y salimos. - Listo, cruzamos los dedos para que no salga ningún mensaje de error y terminamos, tenemos nuestro servidor Apache iniciado y corriendo. Podemos comprobar que funciona correctamente ingresando a nuestro localhost o nuestra IP privada con un navegador links http://localhost o http://127.0.0.1 Nota: Próximamente continuaremos con las partes correspondientes a mariadb y php. ▶ Si se quieren unir a nuestro grupo de LinuxerOS en Telegram lo pueden hacer también: http://adf.ly/1clSoM ▶ Si sos fan de Archlinux entrá en el grupo de Telegram: http://adf.ly/1clT22 ▶ Si sos del mundo Gentoo en Telegram: http://adf.ly/1cxFeu ▶ Tienen otros tutoriales y demás info en mi blog de LinuxForAllSite: http://adf.ly/1gpiOj ▶ Mi canal: http://adf.ly/1clT7Y ▶ Recuerden darle like y suscribirse a mi canal ▶ Compartan el material en las redes sociales así sigo creciendo! Abrazo de gol!
Views: 502 ice
Maximum execution time of 360 seconds exceeded wamp phpmyadmin  [Closed] - 2016
 
01:11
Maximum execution time of 360 seconds exceeded [Closed] - 2016 Solution : C:\wamp64\alias Options Indexes FollowSymLinks MultiViews AllowOverride all Require local # To import big file you can increase values php_admin_value upload_max_filesize 128M php_admin_value post_max_size 128M php_admin_value max_execution_time 36000 php_admin_value max_input_time 36000 change php_admin_value max_execution_time from 360 to your value ex: 3600,if you want to set the maximun value make it as php_admin_value max_execution_time -1 ref: http://www.huperbay.com/2016/03/error-maximum-execution-time-of-360.html
Views: 5238 Anto sujesh
Home Music Server - Raspberry pi and Ampache
 
20:37
This is the first part of home my home music server build, In the next video I'll build a custom enclosure. Amache streaming channel config :https://youtu.be/G3YOh-hgF6w Server wood enclosure : https://youtu.be/BrvA9Ef9Uss Thanks, Happy DIY. Command help: apt-get installapache2 mariadb-server php7.0 php7.0-mbstring php7.0-gd php7.0-mcrypt php7.0-mysql php7.0-cli php7.0-curl php7.0-xml ffmpeg links git please add angle brackets to both ends of the directory tag [start and closing ] Directory /var/www/html Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted /Directory ------ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" ln -s /usr/local/bin/composer.phar /usr/bin/composer
Views: 1520 diyjunky
Building a NAS Episode 4 - Create a personal cloud
 
33:06
In this episode we turn our nas into a "cloud" using Owncloud, the personal cloud server software. With this software we can automatically sync files between Windows, Linux, Mac, and phones. Owncloud: http://owncloud.org If you like what you see, please like, subscribe, ring the bell, and share this video! Please follow us on Twitter: @SetUsUpChannel Or on Facebook at http://www.facebook.com/setusupchannel Commands used in this video: Prerequisite software installs: sudo yum -y update sudo yum -y install wget unzip mariadb-server yum-utils To install php 7.2: sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum-config-manager --enable remi-php72 sudo yum install php php-mysqlnd php-pecl-zip php-xml php-mbstring php-gd php-mcrypt php-pear php-pspell php-pdo php-xml php-intl php-zip php-zlib sudo sed -i "s/post_max_size = 8M/post_max_size = 256M/" /etc/php.ini sudo sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 256M/" /etc/php.ini To create the MySQL database: mysql -u root -p CREATE DATABASE ownclouddb; GRANT ALL PRIVILEGES ON ownclouddb.* TO 'ownclouduser'@'localhost' IDENTIFIED BY 'Y0ur-pa55w0rD' WITH GRANT OPTION; FLUSH PRIVILEGES; quit To setup the virtual directory in apache (owncloud.conf) (NOTE: there open and close angle brackets around the two Directory lines, but I can't put them in these notes.) Directory "/var/www/html/owncloud/" DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted /Directory
Views: 44 SetUsUp
Configurar Link Permanente Personalizado Wordpress no Google Cloud (erro 404 Corrigido!) [2019]
 
10:06
Neste vídeo eu ensino a configurar um Link Personalizado no Wordpress para quem utiliza o Google Cloud como hospedagem. Vamos corrigir o Erro 404 que aparece quando mudamos o Link Padrão do Wordpress. Textos Úteis: 1 - Verificar HTACCESS sudo nano /var/www/html/.htaccess 2 - Verificar Configurações cd /etc/apache2/sites-available/ nano wordpress.conf Inserir: Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all 3 - Comando para habilitar o Rewrite sudo a2enmod rewrite 4 - Reiniciar Apache sudo /etc/init.d/apache2 restart //// PROGRAMA DE AFILIADOS ///// http://afiliapub.com/registarse.html?a_aid=033174
Views: 161 ursopreto.com
Installation of SUSE 11 SP3 for HDP 2 5 Installation part 2
 
19:52
In this Tutorial you will learn to install cloneable installation of SUSE 11 and then installing hdp2.5 on it. Please follow below steps while watching session. ============================================== ## in this tutorial you will understand how we can setup hdp2.5 on SUSE 11 SP 30 ## download link for suse 11 sp3, you need to create a login and then download the iso. https://www.suse.com/eval/download/?event_id=SGDGNTD18126&event_name=Eval:+SLE+Point+of+Service&icid=SGDGNTD18520&icname=Eval:+SLE+Point+of+Service+Nurture&build=npw9bCLK9DI~&login_required=1 ## Download ambari 2.4 repo for suse 11 http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.4.2.0/ambari-2.4.2.0-suse11.tar.gz ## download link for hdp2.5 and HDP utils tar.gz http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.3.0/HDP-2.5.3.0-suse11sp3-rpm.tar.gz http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/suse11sp3/HDP-UTILS-1.1.0.21-suse11sp3.tar.gz ###suse installatoion setup networs cd /etc/sysconfig/network vi ifcfg-eth0 (no change required) vi ifcfg-eth1 BOOTPROTO='static' ONBOOT='yes' IPADDR='192.168.56.131' NETMASK='255.255.255.0' ### make the firewall off so that putty can connect run yast2 #and search for firewall and make it off and disable it for all times #then search for ntp and then make it on "now and boot" ============================ ##install the apache2 httpd service from yast2 ## cd /etc/apache2/ ## vi /etc/apache2/httpd.conf ## change as below # forbid access to the entire filesystem by default Directory / Options +FollowSymLinks AllowOverride None Order allow,deny allow from all /Directory # use .htaccess files for overriding, AccessFileName .htaccess # and never show them Files ~ "^\.ht" Order allow,deny allow from all /Files # List of resources to look for when the client requests a directory #DirectoryIndex index.html index.html.var ======================= ## change the below file from Options None to Options +FollowSymLinks ## vi default-server.conf Options +FollowSymLinks ========================================= ## restart the apache2 sudo service apache2 restart ## Zypper refresh zypper refresh ######################### ##setup ambari master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # vi setup_repo.sh master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # sh setup_repo.sh [WARNING] FollowSymLinks has not been enabled in the /etc/apache2/default-server.conf. Please enable FollowSymLinks and restart Apache/HTTPD Server before accessing the repository. AMBARI-2.4.2.0 Repo file successfully created at /etc/zypp/repos.d/ambari.repo. Use http://master2.cluster.com/AMBARI-2.4.2.0 to access the repository. ## Zypper refresh zypper refresh ============================================= ##set up the hdp.repo in zypp/repos cd /etc/zypp/repos.d cp /srv/www/htdocs/repo/HDP-2.5.3.0-suse11sp3-rpm/HDP/suse11sp3/hdp.repo /etc/zypp/repos.d/ ## Zypper refresh zypper refresh =============================== ##password less ssh ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: ff:61:e2:c0:12:91:60:30:5b:5c:a6:87:82:7a:14:bc [MD5] [email protected] The key's randomart image is: +--[ RSA 2048]----+ | .+o+.o | | ..*.= . | |. +.o + | |..E. . . | |. . . S | | . o . | | . o o o | | . o + . | | . . | +--[MD5]----------+ ##copy id_rsa ssh-copy-id -i ~/.ssh/id_rsa.pub master2 The authenticity of host 'master2 (192.168.56.131)' can't be established. ECDSA key fingerprint is 3e:09:6a:0b:2d:7b:b4:b1:ad:3d:70:5b:c7:8e:5f:f4 [MD5]. Are you sure you want to continue connecting (yes/no)? yes /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys Password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'master2'" and check to make sure that only the key(s) you wanted were added. master2:~ # ssh master2 Last login: Thu Feb 8 20:33:11 2018 from 192.168.56.1 master2:~ # exit =================================================================== sudo zypper install ambari-server service ambari-server setup
Views: 79 BiteBigData
Installation of SUSE 11 SP3 for HDP 2.5 Installation part 1
 
30:51
In this Tutorial you will learn to install cloneable installation of SUSE 11 and then installing hdp2.5 on it. Please follow below steps while watching session. ============================================== ## in this tutorial you will understand how we can setup hdp2.5 on SUSE 11 SP 30 ## download link for suse 11 sp3, you need to create a login and then download the iso. https://www.suse.com/eval/download/?event_id=SGDGNTD18126&event_name=Eval:+SLE+Point+of+Service&icid=SGDGNTD18520&icname=Eval:+SLE+Point+of+Service+Nurture&build=npw9bCLK9DI~&login_required=1 ## Download ambari 2.4 repo for suse 11 http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.4.2.0/ambari-2.4.2.0-suse11.tar.gz ## download link for hdp2.5 and HDP utils tar.gz http://public-repo-1.hortonworks.com/HDP/suse11sp3/2.x/updates/2.5.3.0/HDP-2.5.3.0-suse11sp3-rpm.tar.gz http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/suse11sp3/HDP-UTILS-1.1.0.21-suse11sp3.tar.gz ###suse installatoion setup networs cd /etc/sysconfig/network vi ifcfg-eth0 (no change required) vi ifcfg-eth1 BOOTPROTO='static' ONBOOT='yes' IPADDR='192.168.56.131' NETMASK='255.255.255.0' ### make the firewall off so that putty can connect run yast2 #and search for firewall and make it off and disable it for all times #then search for ntp and then make it on "now and boot" ============================ ##install the apache2 httpd service from yast2 ## cd /etc/apache2/ ## vi /etc/apache2/httpd.conf ## change as below # forbid access to the entire filesystem by default Directory / Options +FollowSymLinks AllowOverride None Order allow,deny allow from all /Directory # use .htaccess files for overriding, AccessFileName .htaccess # and never show them Files ~ "^\.ht" Order allow,deny allow from all /Files # List of resources to look for when the client requests a directory #DirectoryIndex index.html index.html.var ======================= ## change the below file from Options None to Options +FollowSymLinks ## vi default-server.conf Options +FollowSymLinks ========================================= ## restart the apache2 sudo service apache2 restart ## Zypper refresh zypper refresh ######################### ##setup ambari master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # vi setup_repo.sh master2:/srv/www/htdocs/repo/ambari-2.4.2.0-suse11/AMBARI-2.4.2.0 # sh setup_repo.sh [WARNING] FollowSymLinks has not been enabled in the /etc/apache2/default-server.conf. Please enable FollowSymLinks and restart Apache/HTTPD Server before accessing the repository. AMBARI-2.4.2.0 Repo file successfully created at /etc/zypp/repos.d/ambari.repo. Use http://master2.cluster.com/AMBARI-2.4.2.0 to access the repository. ## Zypper refresh zypper refresh ============================================= ##set up the hdp.repo in zypp/repos cd /etc/zypp/repos.d cp /srv/www/htdocs/repo/HDP-2.5.3.0-suse11sp3-rpm/HDP/suse11sp3/hdp.repo /etc/zypp/repos.d/ ## Zypper refresh zypper refresh =============================== ##password less ssh ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: ff:61:e2:c0:12:91:60:30:5b:5c:a6:87:82:7a:14:bc [MD5] [email protected] The key's randomart image is: +--[ RSA 2048]----+ | .+o+.o | | ..*.= . | |. +.o + | |..E. . . | |. . . S | | . o . | | . o o o | | . o + . | | . . | +--[MD5]----------+ ##copy id_rsa ssh-copy-id -i ~/.ssh/id_rsa.pub master2 The authenticity of host 'master2 (192.168.56.131)' can't be established. ECDSA key fingerprint is 3e:09:6a:0b:2d:7b:b4:b1:ad:3d:70:5b:c7:8e:5f:f4 [MD5]. Are you sure you want to continue connecting (yes/no)? yes /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys Password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'master2'" and check to make sure that only the key(s) you wanted were added. master2:~ # ssh master2 Last login: Thu Feb 8 20:33:11 2018 from 192.168.56.1 master2:~ # exit =================================================================== sudo zypper install ambari-server service ambari-server setup
Views: 111 BiteBigData
Tutoriel 3 Pré-requis et installation Symfony 3
 
13:39
Tutoriel 3 Pré-requis et installation Symfony 3 installation de packages sur la VM debian pour permettre l'installation du framework Symfony 3.0.3. Pré-requis : VM Debian 8.3 apache2/ssh installé Accès root & user Connexion internet Etapes : Accès VM en user + root Installation de packages Configuration de librairies apache php Installation du Framework Configuration de l’environnement Tutoriel de 13 minutes Edition Son/Video : Final Cut Pro, Imovie, Quicktime Player, GarageBand, Compressor Détails : root apt-get install php5 php-apc php5-intl php5-mysql apt-get install mysql-server apt-get install curl modif /etc/php5/apache2/php.ini timezone Europe/Paris nano /etc/apache2/sites-enabled/000-default.conf VirtualHost *:80 ServerName domain.tld ServerAlias www.domain.tld DocumentRoot /home/webuser/www/ Directory /home/webuser/www/ Options Indexes FollowSymLinks AllowOverride None Require all granted /Directory ErrorLog $APACHE_LOG_DIR/error.log CustomLog $APACHE_LOG_DIR//access.log combined /VirtualHost apache2 restart user curl -sS https://getcomposer.org/installer | php php composer.phar -vvv create-project symfony/framework-standard-edition sf "3.0.3" root HTTPDUSER= voir Setting up Permissions http://symfony.com/doc/current/book/installation.html sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX var user nano config.php add 10.0.2.2 nano app_dev.php add 10.0.2.2 php bin/console -V
Views: 21572 reverse-engineering.fr
(Part2) Create a Virtual Host for Laravel Project
 
03:42
As we know by default, Laravel projects are opened in /public/ folder. I personally don't like to use that path so I would like to show, how to add a Virtual Host to Laravel project. As you have noticed, my WAMPP server is running on PORT 81, so I had to use that while assigning the Virtual Host. GitHub: https://github.com/php-bread-and-butter/Laravel-5.8 Below are the code snippets that were used in httpd-vhosts.conf and hosts file: Path: D:\wamp\bin\apache\apache2.4.37\conf\extra\httpd-vhosts.conf <VirtualHost *:81> ServerName admin.lv DocumentRoot "${INSTALL_DIR}/www/lv_admin/public" <Directory "${INSTALL_DIR}/www/lv_admin/public/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> ================================================== Path: C:\Windows\System32\drivers\etc\hosts 127.0.0.1 admin.lv ::1 admin.lv
colnagem instalação e configuração do Laravel na pasta www
 
07:52
vejam os primeiros videos deen like e inscrevam-se no meu canal Comando para a isntalação do laravel e configuração do apache para rodar o laravel como default mover-se para a pasta /var/www cd /var/www vamos clonar o laravel do git git clone https://github.com/laravel/laravel.git entar na pasta laravel criada cd laravel e rodar o composer install composer install as dependencias para a instalação vao depender da sua velocidade de conexao com a internet agora os comandos para poder modificar as permições de execução e escrita nas pastas do laravel chown -R www-data.www-data /var/www/laravel chmod -R 755 /var/www/laravel chmod -R 777 /var/www/laravel/storage fazer uma coipia do arquivo .env.example cp .env.example .env adicinar a chave de incriptação php artisan key:generate verificar o arquvio .env para ver se a chave gerada esta configurada corretamente no arquivo nano .env (ou pode utilizar o gedit mesmo ) localize a linha APP_KEY e comprare com a saida no seu terminal Criar a base de dados no mysql para o laravel mysql -u root -p comando para alteração e difinir uma nova senha para o mysql usar a base mysql use mysql; alterar a senha atual para uma nova senha no caso usarei toor UPDATE user SET password=PASSWORD("toor") WHERE user="root"; ressetar os privilegios FLUSH PRIVILEGES; e saio pro fim para reiniciar o mysql exit reinciar o serviço service mysql restart logar com a nova senha para o root mysql -u root -p Agora dentro do mysql vamos usar os comandos: CREATE DATABASE laravel; GRANT ALL ON laravel.* to 'root'@'localhost' IDENTIFIED BY 'toor'; FLUSH PRIVILEGES; quit editar o arquivo .env gedit .env DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD=toor e por fim vamos modificar a configuração do apache para a carregar o laravel que instalamos e configuramos como pagina base edite o arquivo /etc/apache2/sites-available/000-default.conf gedit /etc/apache2/sites-available/000-default.conf configure para ficar assim: Localizar chaves VirtualHost *:80 ServerAdmin [email protected] DocumentRoot /var/www/laravel/public localizar chave -- Directory caso não exita criar ela dicionar dentro Options FollowSymLinks AllowOverride None chedar chave directory e criar outra chave e colar /var/www/laravel AllowOverride All ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined fechar o VirtualHost
Views: 10 Isaac Bueno
WORDPRESS - Enable Pretty URL:s (Apache2)
 
09:53
Expand for description and videoinfo + Donate: https://www.paypal.me/freddan88 + Description: Wordpress enable pretty URL:s using Wordpress Version 4.4.2 + Commands & HowTo: Load the Rewrite Module (mod_rewrite.so) Change the first line to the second line: #LoadModule rewrite_module modules/mod_rewrite.so LoadModule rewrite_module modules/mod_rewrite.so Allow overrides in the directory for public files, htdocs or www Change the first line to the second line: AllowOverride None AllowOverride All + My Links: Website/fredrik/home http://www.leemann.se/fredrik Website/fredrik/downloads http://www.leemann.se/fredrik/downloads Website/fredrik/tutorials http://www.leemann.se/fredrik/tutorials YouTube + Subscribe https://bit.ly/2GCDDdi Twitch https://www.twitch.tv/freddan_88 Google+ https://bit.ly/2Jqc4tg GitHub https://github.com/freddan88 Twitter https://twitter.com/FredrikLeemann FileZilla https://filezilla-project.org PuTTY https://bit.ly/1jsQjnt Wordpress https://wordpress.org URL Shortener https://bitly.com + DONATE: Donation are not required but very much appreciated. Click the below link to donate with PayPal (PayPal.Me) Link: https://www.paypal.me/freddan88 ________
Views: 193 FreLee54
Centralizando joomla
 
05:16
configuracion: # Virtual Hosts # _VirtualHost *:81_ ServerName localhost DocumentRoot c:/wamp64/www _Directory "c:/wamp64/www/"_ Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require all granted _/Directory_ _/VirtualHost_ #
Views: 4 alarcox sin
How to fix WAMP server not running problem
 
07:22
Fix WAMP server orange icon problem, WAMP Server not running, Apache service not running, WAMP Red, orange and green icon Please Subscribe Channel Like, Share and Comment Visit : www.geekyshows.com
Views: 18708 Geeky Shows
Laravel 5 Ubuntu 14
 
07:46
Instalación de Laravel 5 en Ubuntu 14 1. sudo apt-get install php7.0-xml php7.0-mbstring php7.0-zip 2. php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" 3. php composer-setup.php 4. php -r "unlink('composer-setup.php');" 5. sudo php composer.phar global require "laravel/installer" 6. sudo cp composer.phar /usr/local/bin/composer 7. sudo ln -s /home/miguel/.composer/vendor/laravel/installer/laravel /usr/local/bin/laravel 8. rm composer.phar 9. sudo laravel new nombredemiproyecto 10. cd /etc/apache2/sites-available/ 11. sudo vi 000-default.conf 12. Youtube no deja escribir el símbolo menor que y mayor que en la descripción del vídeo así que donde veáis el símbolo * teneis que sustituirlo por el símbolo menor que y cuando veáis el símbolo ^ teneis que sustituirlo por el símbolo mayor que. *VirtualHost 127.0.0.2:80^ ServerAdmin [email protected] DocumentRoot /home/miguel/nombredemiproyecto/public ServerName miproyecto.com *Directory /home/miguel/nombredemiproyecto/public^ Options Indexes FollowSymLinks MultiViews AllowOverride all Require all granted */Directory^ ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined */VirtualHost^ # vim: syntax=apache ts=4 sw=4 sts=4 sr noet :wq 13. sudo a2ensite 000-default.conf 14. sudo service apache2 reload 15. sudo a2enmod rewrite 16. sudo service apache2 restart 17. sudo vi /etc/hosts 18. cd nombredemiproyecto/ 19. sudo chmod -R 777 bootstrap/ storage/ 20. miproyecto.com Si os ha servido dejarme un comentario, gracias. If this video helped you, write a comment, thank you
Views: 83 Miguel Moreno
Laravel "Hello World" tutorial using Xampp and Composer
 
03:07
A tutorial indended to help you start programming with Laravel php framework, Composer and Xampp Apache solution stack. The video presents creating a Laravel "Hello World" program and adding minor alterations to it. song: Arilena Ara - Nentori (Bess Remix) https://www.youtube.com/watch?v=bSbU8SHxJe4 ================================================================================= You can download the project via Git: https://github.com/ClaRadu/laravel_h_w And if you want to see this tutorial in another form here's a link to my blog: https://crgtutorials.blogspot.ro/2017/10/laravel-hello-world-example-using-xampp.html ================================================================================= First of all I want to send a big thank you to Jeff Davis for his work on the laracasts forum https://laracasts.com/@jeffdavis https://laracasts.com/discuss/channels/laravel/how-can-i-modify-laravel-5-login-system-and-add-on-registration-a-username-or-another-field?page=1 and to Marc Garcia on codementor.io https://www.codementor.io/magarrent ================================================================================= For this application to work as intended you will need Xampp and Composer. I have used xampp v.3.0.12 and composer v.1.5.2 but the it should work regardless of the versions of these two programs. Also, it should work on Laravel 5.0 and higher. If there are any problems please let me know in the comments section below, or you can contact me via my webpage. This tutorial shows you how to create a laravel project, to get it running, and to some monor alterations to it. The full project, available via Git, is a bit more complex, but not too much, and I plan to explain it in a future tutorial. It adds minor alterations to a laravel default project. It modifies laravel's default registration procedure to make possible for a user to be registered by more details like: username, first and last name, phone number. Also, the home page and the navigation bar have suffered slight modifications. Xampp: https://www.apachefriends.org/download.html Composer: https://getcomposer.org/download/ ================================================================================= Below are the code lines you need to insert into different files for your project to work as shown in the tutorial: >>> Xampp configuration: Shown in tutorial at 0:39 Open "C:\xampp\apache\conf\extra\httpd-vhosts.conf" and add at the bottom of the file the code below (the paths can be changed to your respective paths): # VirtualHost for LARAVEL.DEV <VirtualHost laravel.dev:80> DocumentRoot "C:\xampp\htdocs\laravel_h_w\public" ServerAdmin laravel.dev <Directory "C:\xampp\htdocs\laravel_h_w"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost> >>> Hosts file configuration (windows): Shown in tutorial at 1:00 Open "C:\WINDOWS\system32\drivers\etc\hosts" and add at the bottom of the file the line below: 127.0.0.1 laravel.dev * Under Vindows 7 and later, your text editor must be run as administrator before opening the hosts file. >>> Modifying the Laravel prject Shown in tutorial at 2:26 In "C:\xampp\htdocs\laravel_h_w\resources\views\welcome.blade.php" and replace line 43 with the code below: <a style="text-align:right;" href="{{ url('/auth/login') }}">Login</a> <div class="title">Hello World from Laravel!!</div> Now that everything is set, open your internet browser and type "laravel.dev" in the address bar. You're good to go. ================================================================================= C.R.G. 2017 http://crgames.elementfx.com/
Views: 588 Claudiu Radu
3 Vídeo Tutorial Grocery Crud (Configurar el archivo .htaccess)
 
06:43
En en este vídeo tutorial explico la manera de configurar el archivo .HTACCESS, para de esta manera quitar el index.php de nuestras url. Los invito a que se suscriban a mi canal
XAMPP ERROR 403 ACCESS FORBIDDEN FIX
 
02:45
This is a quick tutorial on how to fix the error 403 access forbidden message. Hope this helps anyone who is having this problem. XAMPP download: http://www.apachefriends.org/en/xampp.html Notepad++ download: http://notepad-plus-plus.org/ Tutorial C:/xampp/apache/conf/extra/httpd-xampp.conf
Views: 164275 MrTech302
How to install Zoneminder on Ubuntu 16.0.4 server
 
16:42
This video is a tutorial on how to install Zoneminder on Ubuntu 16.0.4 server. Here is a great link to get you started..... https://www.youtube.com/redirect?q=https%3A%2F%2Fwiki.zoneminder.com%2FUbuntu_Server_16.04_64-bit_with_Zoneminder_1.29.0_the_easy_way&redir_token=6b8HEaU9OJ1a7igTYZM5ue2A_QR8MTUxODIxMDEyMUAxNTE4MTIzNzIx&v=Bx-xXo0qN1E&event=video_description Prerequisites needed are... - Apache2 - Mysql - PHP As always make sure your system is up to date.... sudo apt-get update sudo apt-get upgrade Then you are ready to edit the mysql config... sudo rm /etc/mysql/my.cnf sudo cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf sudo vi /etc/mysql/my.cnf add below 'skip-external-locking'..... sql_mode = NO_ENGINE_SUBSTITUTION then you are ready to restart mysql... sudo systemctl restart mysql.service sudo systemctl status mysql.service Now lets install zoneminder and php-gd sudo apt-get install zoneminder php-gd Now you are ready to create mysql zoneminder user.... mysql -uroot -p (ANGLE BRACKET) /usr/share/zoneminder/db/zm_create.sql mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" mysqladmin -uroot -p reload set permissions on zm.conf and enable apache modules.... sudo chmod 740 /etc/zm/zm.conf sudo chown root:www-data /etc/zm/zm.conf sudo adduser www-data video sudo a2enmod cgi sudo a2enconf zoneminder sudo a2enmod rewrite sudo chown -R www-data:www-data /usr/share/zoneminder Edit zoneminder.conf for apache and start zoneminder.... sudo vi /etc/apache2/conf-available/zoneminder.conf add '-' before Indexes and '+' before FollowSymLinks then add in a new directory at the end.... (ANGLE BRACKET)Directory /usr/share/zoneminder/www/api(ANGLE BRACKET) AllowOverride All (ANGLE BRACKET)/Directory(ANGLE BRACKET) enable and start zoneminder.... sudo systemctl enable zoneminder sudo systemctl start zoneminder sudo systemctl status zoneminder add timezone to php.ini..... sudo vi /etc/php/7.0/apache2/php.ini date.timezone = America/Chicago then restart apache2 sudo systemctl restart apache2.service you should now be able to access the zoneminder web frontend http://zoneminder.ip/zm If you like the video, please subscribe to my channel. If you have any questions, hit me up in the comments below. Please let me know if there are any tutorials you would like to see.
Views: 3653 BurnsHA
Codeigniter + Nginx configuration on Ubuntu 16.04
 
06:28
i'm confused, when trying to migrate (codeigniter) from apache to nginx. Just so you know, Nginx not support .htaccess, huftt. When i trying to open http://ci/contollers, it showing error, 404 not found. i'm searching on google how to create 'rule' like htacess, and i got it.., so i create 'rule' on nginx server block (file : /etc/nginx/sites-available/default) .. restart nginx and ci works! --- see this video for details.
Views: 4441 A. Hasbiyatmoko
WampServer - Forbidden - You don't have permission to Access / on this server
 
03:17
To watch this tutorial step by step with screen shots please visit http://wp.me/p3WS6M-U If you are facing Error : PhpMyAdmin - Forbidden - You don't have permission to Access / on this server - THEN Visit Link Below www.youtube.com/watch?v=7fo4h-n5TN0 This tutorial is How to fix. WampServer - Forbidden - You don't have permission to Access / on this server. If you have any further questions feel free to ask me any time.
Views: 333079 Technicia Earth