Search results “Apache options debian 7”
Installing and Configuring Web Server in Linux  -Step by Step Method
Apache is the Web Server most frequently used on the Internet today. This tutorial covers its installation and and configuration in Red Hat Linux 6.0 and 7.0. The CD-ROM distribution includes an Apache package, but you can also download Apache for free. • Installing Apache Mount the CD-ROM 1 and install the package for apache. The package will automatically create all the directories for you besides installing the software. The document root will be placed in /home/httpd in 6.0 and in /var/www in 7.0. The server root will be located in /etc/httpd. The path to the apache program will be /usr/sbin/httpd. • Configuring Apache in 6.0 Apache comes with the three configuration files mentioned above already with basic configuration information. Your job will be to tailor these configuration files to your needs. In this tutorial we will only deal with some basic features you need or may be interested in adding to your Web server. 1. httpd.conf: this is the configuration file related to the server in itself. Open the file httpd.conf in Kedit or any other text editor like Pico or Emacs. You are supposed to find the line ServerNameand enter the FQDN of your machine, and also find the line ServerAdmin and enter your e-mail address. The server comes configured to run in standalone mode, to listen in port 80, with user and group nobody privileges (low level of permissions for security reasons), and you don't need to change these options. 2. access.conf: this is the configuration file related to access to directories and services in the Web server. Again, open the file access.conf in a text editor. Look for the section that starts with and look for the Options line and change it to allow Server Side Includes, but disabling scripts to be run from a Web page, as follows: Options Indexes Includes FollowSymLinks IncludesNOEXEC. This will allow the dynamic dating of your changes, the dynamic display of time and date in your pages, but will prevent scripts to be run outside of your cgi-bin directory. For example, will be displayed as Saturday July 22, 2017 -- 01:59 PM As an additional security measure you may also change the section starting with so that the Options line be commented out as follows: # Options ExecCGI. This will not prevent you to run CGI programs in cgi-bin, but rather it will prevent the command exec to be used even in the cgi-bin directory. 3. srm.conf: this is the configuration file related to the location of the document root, directory infornation formatting, user directories, etc. Once more, open the file srm.conf in a text editor. If you want to change the location of the document root, look for the line DocumentRoot /home/httpd/html and change it to a new location, but do not forget to move its three sub-directories (html, cgi-bin and icons) to the new location, but there is no need for it. You may wish, however, to change the default user Web directory to www . Look for the line UserDir and change it to UserDir www . Files placed in the user accounts in this directory are displayed in the web when /~username is used after the server name (e.g. ubmail.ubalt.edu/~abento). You may also want to add index.htm to the list of files that may be index files to a Web directory. In order to do so, look for the line DirectoryIndex and change it to DirectoryIndex index.html index.shtml index.htm Check that your cgi-bin directory is properly identified as follows: ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/ . If you moved your document root path change this line accordingly. If you want your CGI script files to be identified with .cgi be sure that the line AddHandler cgi-script .cgi is not commented out (market with in * in front). To complete the installation of server side includes be sure that the following two lines are present: AddType text/html .shtml AddHandler server-parsed .shtml Finally, to make your Web server support image maps be sure that the following line exists: AddHandler imap-file map • Configuring Apache in 7.0 Apache in 7.0 comes with the same three configuration files, but only httpd.conf needs to be configured, changed, by you. The other two are considered obsolete and should not be changed.
Views: 10969 Skill Institution
How to Install SSL Certificate on Linux Apache Web Server
SSL stands for Secure Sockets Layer, the protocol which provides the encryption. SSL Certificates provide secure, encrypted communications between a website and an internet browser. SSL Certificates are typically installed on pages that require end-users to submit sensitive information over the internet like credit card details or passwords. SSL certificate used to secure our web site and web app. Steps to install SSL Certificate on Linux(Ubuntu/Debian) Apache Web Server. Step1: Install OpenSSL on Linux OpenSSL is a software library to be used in applications that need to secure communication over the internet. To install on Ubuntu/Debian run the following command sudo apt-get update sudo apt-get install openssl Step2: Generate Key and CSR for certificate request CSR stands for Certificate Signing request, To generate server key file run the following command, replace example.com to your domain name on which you want to install ssl certificate. openssl genrsa -out example.com.key 2048 Generate CSR file you may run the following command openssl req -new -sha256 -key example.com.key -out example.com.csr When you will run the above command it will ask your information like Country: IN State / Province: XYZ City: XYZ Department:XYZ Organization: XYZ Common Name: www.example.com *Fill your details and hit enter, In Country provide two digit of your country code(example India: IN, USA: US etc ) Download these two file(example.com.key and example.com.csr) and submit submit it to certificate provider, Than they will issue certificate. The certificate should contains two file .crt and .ca-bundle or bundle.crt Put your certificate file, bundle file and key file in the directory /etc/ssl/certs/ SSLCertificateFile --- Certificate file SSLCertificateKeyFile --- Server key file SSLCertificateChainFile --- bundle file step3: Configuration of Certificate in Apache web server Add the virtual host in apache sudo nano /etc/apache2/site-enabled/000-default.conf virtual host like <VirtualHost *:443> ServerAdmin [email protected] DocumentRoot /var/www/html ServerName example.com ServerAlias www.example.com SSLEngine on SSLCertificateFile /etc/ssl/certs/example.com.crt SSLCertificateKeyFile /etc/ssl/certs/example.com.key SSLCertificateChainFile /etc/ssl/certs/example_bundle.crt <Directory /var/www/html> Options FollowSymLinks AllowOverride All </Directory> </VirtualHost> #Redirect all http traffic to https <VirtualHost *:80> ServerName example.com ServerAlias www.example.com Redirect permanent / https://www.example.com </VirtualHost> Now enable SSL Mode in apache sudo a2enmod ssl Restart apache services sudo service apache2 restart Step4: Test Open your website URL in web browser eg. example.com or www.example.com Done!!! install ssl certificate how to install ssl certificate apache how to install ssl certificate godaddy how to install ssl certificate in linux how to install ssl certificate cpanel install ssl certificate apache ubuntu install ssl certificate apache centos apache ssl configuration step by step how to install ssl certificate in linux apache install ssl certificate linux command line ubuntu 16.04 apache ssl enable ssl apache2 ubuntu install godaddy ssl certificate apache ubuntu ubuntu ssl certificate location apache2 enable ssl install comodo ssl certificate apache ubuntu ubuntu install ssl certificate create self signed certificate ubuntu ubuntu 16.04 apache ssl
Views: 47115 X Admin
Autenticación Básica con htaccess en Apache2 con Debian
Autenticación Básica utilizando el fichero de configuración htaccess en Apache2 con Debian.
Views: 516 Jsús Gómez
Install Solr 7 - The 5 Steps to an Easy Apache Solr Installation
Install Solr search in a test environment on a local or cloud hosting platform using five easy steps to an Apache Lucene Solr installation. Find the code here: https://factorpad.com/tech/solr/tutorial/install-solr.html See the Outline of all Solr tutorials here: https://factorpad.com/tech/solr/tutorial/solr-tutorial.html Find an Apache Solr and Lucene reference here: https://factorpad.com/tech/solr/reference/index.html Happy Searching! https://factorpad.com
Views: 7631 FactorPad
Apache - disable and enable directory listing
Apache http server can be downloaded from: http://httpd.apache.org/ In httpd.conf disable directory listing Options -Indexes enabledirectory listing Options +Indexes More about this video: http://jiansenlu.blogspot.ca/2014/01/apache-disable-directory-listing.html
Views: 9113 Jiansen Lu
Debian Email Server Part 4 (Administration)
Part 4 of 4 In this video I will continue where part 3 left off configuring Postfixadmin, Apache2, MySQL and PHPMyAdmin. This Video concludes the series on Debian Email Servers! *NOTE: Video has been re-uploaded to remove some proprietary information that slipped in at a certain point in the video. *NOTE: At 39:53 I am demonstrating the file spamass-milter and there is a slight error. The lines OPTIONS="-r -1" and OPTIONS="-m" should be uncommitted so they take effect. Here is a pastebin with all the config files from the video series: http://pastebin.com/nDNzLJEX Please let me know if you find one that I missed! Part 1 is here: https://www.youtube.com/watch?v=yjyfqyQAecw Part 2 is here: https://youtu.be/kou1y2woD7Y Part 3 is here: https://www.youtube.com/watch?v=k3NbYLj3FPQ
Views: 1116 Joe McEntire
Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing
This is one of the basic secuirty hardening and first steps, by default server will show the OS information and Apache version in the footer whenever a page not found or any other requests replies. One of the first steps when you start securing your Apache server is to disable the directory browsing, you don't want anyone to browse your file and know the structure. Other Apache Hardening Tutorials: 1- Secure Apache Web Server - Use SSLScan and Disable Ciphers: https://goo.gl/mb7pYz 2- Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing: https://goo.gl/VqcLrG 3- Apache Hardening Tutorial: Disable HTTP Trace / Cross Site Method https://goo.gl/KJnbDS Disable Server Response Header vi /etc/httpd/conf/httpd.conf Add ServerTokens Prod Save Restart Apache service httpd restart "RHEL/CentOS 6 and earlier versions" systemctl restart httpd "RHEL/CentOS 7 and earlier versions" Disable Apache Trailing Footer vi /etc/httpd/conf/httpd.conf Add ServerSignature Off Save Restart Apache service httpd restart "RHEL/CentOS 6 and earlier versions" systemctl restart httpd "RHEL/CentOS 7 and earlier versions" n this example i will disable browsing for /var/www/html/dotsway folder. vi /etc/httpd/conf/httpd.com Add below to the directory part Options -Indexes Save Restart Apache service httpd restart OR systemctl restart httpd
Views: 2567 dotsway
How to create a custom 404 message on Apache
How to create a custom 404 message on Apache You can find the written instructions here: http://soltveit.org/apache-custom-404-pages/ This example is done on a Debian machine. Should be the same on most Linux distros. Not sure if the AllowOverride setting is done the same way on all Linux distros (Or where the sites-available files are). The standard 404 (Page not found) is enough for telling someone the page they are looking for is not there. However you can use that 404 traffic to share funny pages, or redirect them to your main page. Or you can promote product, adverts and such. What ever you want to use your 404 traffic for. Here is how you do it. Ssh into your web server, if your not local, and navigate to your root folder of your website. Example: /var/www/example.com/ Create a .htaccess file if you don't have one from before. And add this to your .htaccess file. ErrorDocument 404 /404.html The above line says if a 404 error, go to 404.html. And this example assume the 404.html file is located in the website root folder. Example of a 404.html file: See the link above as YouTube doesn't allow brackets. Anyway, happy redirecting!
Views: 2423 solron75
Secure Apache Web Server - Use SSLScan and Disable Ciphers (SSLv3, TLSv1 ..etc)
How to Disable Vulnerable Ciphers after Finding Them using SSLScan This part of the series will be an SSLScan tutorial while giving examples to it. In this tutorial i will go through SSLScan and how to use it to find available ciphers. I will then update the openssl and disable vulnerable ciphers and force to use newer ones. sslscan will scan all the different ciphers being used in the target host, there are different versions and types of SSLs and this is where SSLscan comes to help you determine everything about them. Older Ciphers are vulnerable to attacks and that's why it's a good practice to disable them and force to use only newer ones. Other Apache Hardening Tutorials: 1- Secure Apache Web Server - Use SSLScan and Disable Ciphers: https://goo.gl/mb7pYz 2- Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing: https://goo.gl/VqcLrG 3- Apache Hardening Tutorial: Disable HTTP Trace / Cross Site Method https://goo.gl/KJnbDS Install SSLScan utility on linux yum install sslscan Or manually You must have git , glibc and openssl-devel installed, if you don't have them run 'yum install git gcc openssl-devel' Download the tar file from here to your linux box Decompress the file using 'tar xfvz file-name-tar.gz' Change folder to the one you decompressed the files and run 'make static' Run 'make install' Confirm by running 'sslscan version' Use SSLScan for scanning available ciphers. Replace "whatever" with the domain or use an IP and specify the port which is 443 by default. sslscan www.whatever.com:443 Or sslscan ip.ip.ip.ip:443 Disable older ciphers vi /etc/httpd/conf.d/ssl.conf SSLProtocol all -SSLv2 -SSLv3 Save Restart the service service httpd restart systemctl restart httpd Update your Openssl and force newer ciphers Note: to enable newer ciphers you have to be sure that your openssl is updated and supports them or else you will get similar error to "SSLProtocol: Illegal protocol 'TLSv1.1'" This is part of the Apache Web Server Hardening and Secure Tutorial Series. This tutorial apply to all ciphers like disablng sslv3 , sslv2 and forcing all tlsv1 , tlsv1.1 and tlsv1.2
Views: 4233 dotsway
How to solve apache2 error while starting | job for apache2.service failed
Hi in this video we are going to see about how to solve apache2 start error. Job for apache2.service failed because the control process exited with error code see systemctl status apache2.service and journalctl -xe for details. This error occurs due to a misconfiguration in apache server file. ------------------------------------------------------------------------------------------------------------ ⭐COMMANDS: 🔗sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2 🔗sudo apt-get purge apache2 🔗sudo apt-get install apache2 🔗apt-get purge libapache2-mod-php5 php5 apt-get install libapache2-mod-php5 php5 ------------------------------------------------------------------------------------------------------------ ⭐FOR MORE TOOLS: https:kitsploit.com ------------------------------------------------------------------------------------------------------------ ⭐SOCIAL LINKS: 🔗 https://www.facebook.com/hackison 🔗 https://www.instagram.com/hackison_ 🔗 https://www.twitter.com/hackison_ 🔗 https://www.facebook.com/groups/hackison ------------------------------------------------------------------------------------------------------------ ⭐ DONT FORGET TO SUBSCRIBE ------------------------------------------------------------------------------------------------------------ Thanks for watching! Благодаря за гледането Kiitos katsomisesta 感谢您观看 Merci d'avoir regardé Grazie per la visione Gracias por ver شكرا للمشاهدة دیکھنے کے لیے شکریہ देखने के लिए धन्यवाद
Views: 3480 HackIsOn
Install and Configure Apache Tomcat Web Server in Eclipse IDE
Apache Tomcat Eclipse Integration Guide & Plugin Integrating Eclipse and Tomcat Tutorial: Configuring and Using Apache Tomcat 7 with Eclipse Step by Step Guide to Setup and Install Apache Tomcat Java web development with Eclipse how to configure apache tomcat server in eclipse juno how to configure apache tomcat server in eclipse kepler how to configure apache tomcat server in eclipse luna how to install apache tomcat server in eclipse galileo how to configure apache tomcat in eclipse in ubuntu how to run tomcat server in eclipse "Easy step-by-step instructions on installing and configuring Tomcat 7 and using Eclipse to start/stop it and deploy apps to i
Views: 413247 ProgrammingKnowledge
Multicraft install including Web Server, PHPmyadmin and SQL on Debian Linux
This is a tutorial on how to install the minecraft server administration tool multicraft as well as it's dependancies and a full minecraft server's dependancies including an SQL server A written tutorial can also be used, be warned it does not follow the same order as the video tutorial, if you have any questions or need clarification on anything in the video feel free to ask in the comments, if you want to know chances are other people do too. //setup multicraft // things with // are comments, things without are commands or things you need to do. // stuff in () represents stuff you need to replace // http://www.ovh.com/ca/en/vps/vps-classic.xml is where I got my server, they sent me an email with login details // on mac you can ssh in using terminal, run all commands here in that to start the connection ssh [email protected](your ip) (enter your servers root password, you got this in the email from the host/you set this yourself) // on PC you will need to download putty // http://www.chiark.greenend.org.uk/~sgtatham/putty/ // you will need to install and configure that to connect to the server. //update the sources: apt-get update //upgrade installed packages: apt-get upgrade //install sql; this installs both the server and the client //make up a secure password, write it down as the sql root account password apt-get install mysql-server mysql-client //install apache2; this is used to serve html to the client apt-get install apache2 //install php; run code to generate dynamic pages, this is required for the multi craft web panel, also another package to tie it together with apache apt-get install php5 libapache2-mod-php5 //install plugins so php5 can use the sql server apt-get install php5-mysql php5-sqlite //restart the apache2 server; lets it use the packages you installed since its start /etc/init.d/apache2 restart //install phpmyadmin apt-get install phpmyadmin //add it to the configuration nano /etc/apache2/apache2.conf //add the following line to the end of the file Include /etc/phpmyadmin/apache.conf //restart apache2 /etc/init.d/apache2 restart //to secure phpmyadmin visit this page here https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-debian-7 //install java //if this says java 1.7 you are good, if not run the command after it java -version apt-get install openjdk-7-jre //check again for java 1.7, if its here then then do the following, if it is then move on to installing multi craft update-alternatives --config java //select the number to the left of the path that mentions java 7, if none do something is wrong and you need to look this up in detail on the internet or post a comment and I may try to help you. see this page for more https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get //install multicraft //download the files wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz //unpack them tar xvzf multicraft.tar.gz //open the directory you unpacked them too cd multicraft //run the installer, chose yes for everything chose mysql and change the user and database name to multicraft_dae, you may also want to allow uploading of jars via ftp ./setup.sh //secure multicraft panel //run this 3 times to get to the root directory cd .. cd /etc/apache2/sites-available/ nano default // change all the "AllowOverride None" to "AllowOverride All” // save and exit // do the same for the ssl version nano default-ssl //restart web server again /etc/init.d/apache2 restart //add a new file to the server http://www.multicraft.org/download/conf/?file=spigot.jar.conf //address on the internet your jar file is, hopefully by the time you are watching this the default spigot jar will work and 1.8 spigot will be out. good luck to you all // //setup first server and accept eula //if you have followed along this far through the text alone you should be able to use the web panel to do the rest. If not, just watch the video for this part… it’s much easier to see the video //upload larger files navigate to /etc/php5/apache2/ using cd (directory) ls for list and cd .. to move up in the tree nano php.ini //change these values memory_limit = 99M max_execution_time = 300 upload_max_filesize = 20M post_max_size = 24M
Views: 14563 RandomDigits
Learning Apache http server : Minimal http configuration
More videos like this online at http://www.theurbanpenguin.com Rather than just use the Apache http configuration that is rolled out with you distribution, spend a little time taking a look at a minimal configuration and loading what you need and not just what is given to you. this is my manta as a sysadmin, if you don't understand it don't use it. We cut the httpd.conf down to just 14 lines, yes just 14 lines and we have a working apache web server
Views: 109616 theurbanpenguin
How to Install PHP 7.0 AND 5.6 on Debian 8
This video show you how to install PHP 7.0 & 5.6 on Debian 7 & 8. PHP 7 adds support for return type declarations. This feature seeks to provide better security when unserializing objects on untrusted data.
Views: 881 MT Software
How to Configure Apache Web Server on Linux
Configure Apache Web Server on Linux How to Configure Apache Web Server on Linux Apache Web server Web server
Views: 103797 Jimmy Rosell
How to install SSL/TLS Certificate on an Apache Tomcat Server
Learn how to install an SSL/TLS Certificate on an Apache Tomcat Server with GlobalSign's support team. Get your SSL/TLS Certificate here today: https://goo.gl/vmZtgK ********************************************************************* GlobalSign is a WebTrust-certified certificate authority (CA) and provider of Identity Services. Founded in Belgium in 1996, the company offers a diverse range of Identity service solutions. GlobalSign provides PKI and Identity and Access Management services to provide enterprises with a platform to manage internal and external identities for the Internet of Everything. The services allow organizations to deploy secure e-services, manage employee and extended enterprise identities and automate PKI deployments for users, mobile, and machines. #SSL #PKI #IoT ********************************************************************* ✔ We've been a Certificate Authority for over 20 years! 🌎 Visit the link to find out more about GlobalSign: ➪ https://www.globalsign.com/ 🔒 Click below to explore our SSL options: ➪ https://www.globalsign.com/en/ssl/ ☁ Scalable options made available for business and enterprise levels, visit the link below to find out more details: ➪ https://www.globalsign.com/en/enterprise/ ********************************************************************* 👉 Follow our Social Networks and stay connected: ● Facebook - https://www.facebook.com/GlobalSignSSL/ ● Twitter - https://www.twitter.com/globalsign ● Google Plus - https://www.google.com/+globalsign ● LinkedIn - https://www.linkedin.com/company/928855/ *********************************************************************
Views: 9154 GlobalSign
Apache Hardening Tutorial: Disable HTTP Trace / Cross Site Method
What is HTTP Trace ? Apache Hardening Tutorial This article is part of the Apache Hardening and Securing tutorial series. This time we will be taking a look on HTTP Trace find how to check if you are vulnerable and how to fix it. Apache Hardening Tutorial Series: 1- Secure Apache Web Server - Use SSLScan and Disable Ciphers: https://goo.gl/mb7pYz 2- Apache Secure Tutorial: Hide HTTP Header and Disable Directory Listing: https://goo.gl/VqcLrG 3- Apache Hardening Tutorial: Disable HTTP Trace / Cross Site Method https://goo.gl/KJnbDS If your webserver has the HTTP Trace enabled this going to put it into a risk of Cross-Site Tracing and use of Cross-site Scripting (XSS). TRACE: This method simply echoes back to the client whatever string has been sent to the server, and is used mainly for debugging purposes. The TRACE method, while it looks fine, it can be used in some scenarios to steal customers' credentials. It allows the client to see what is being received at the other end of the request. This attack method was first discovered in 2003. Find if your Web-server is Vulnerable To check if the trace is enabled by default or not disabled you can use curl for that. -k To perform insecure connection. -X Use specified proxy curl -k -X TRACE https://ip.ip.ip.ip/ If the HTTP Trace is enabled you will be getting something similar to below output and means that you are vulnerable to cross site tracing. TRACE /phpinfo.php HTTP/1.1 User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 Host: ip.ip.ip.ip Accept: */* Disable HTTP Trace and Secure your Web-server vi /etc/httpd/conf/httpd.conf Add TraceEnable Off Save service httpd restart After disabling HTTP Trace try the curl command to check the status
Views: 3861 dotsway
Install and Configure Apache Traffic Server 7.0 as Reverse Proxy on Linux
# Create the compilation environment and install required packages sudo yum groupinstall "Development Tools" -y sudo yum install wget pcre-devel tcl-devel expat-devel openssl-devel libcap-devel hwloc hwloc-devel ncurses-devel libcurl-devel -y # Download trafficserver cd /usr/src sudo wget $url # Verify md5 # https://www.apache.org/dist/trafficserver/ md5sum trafficserver-7.0.0.tar.bz2 sudo tar xjvf trafficserver-7.0.0.tar.bz2 cd trafficserver-7.0.0 # Add group/user to run the service sudo groupadd -g 176 trafficserver sudo useradd -g 176 -u 176 -d /var/empty -s /sbin/nologin trafficserver # Compile trafficserver sudo ./configure --prefix=/opt/ts --with-group=trafficserver --with-user=trafficserver sudo make sudo make install # Create systemd script sudo vi /lib/systemd/system/trafficserver.service #Add [Unit] Description=Apache Traffic Server After=syslog.target network.target [Service] Type=simple ExecStart=/opt/ts/bin/traffic_cop ExecReload=/opt/ts/bin/traffic_line -x [Install] WantedBy=multi-user.target # Reload systemd sudo systemctl daemon-reload # Configure trafficserver cd /opt/ts/etc/trafficserver/ sudo vi records.config # Enable these options CONFIG proxy.config.http.cache.http INT 1 CONFIG proxy.config.reverse_proxy.enabled INT 1 CONFIG proxy.config.url_remap.remap_required INT 1 CONFIG proxy.config.url_remap.pristine_host_hdr INT 1 CONFIG proxy.config.http.server_ports STRING 80 80:ipv6 # Configure trafficserver with the origin server sudo vi remap.config map http://www.frostwolfs.org http://internal.frostwolfs.org # Increase the cache size sudo vi storage.config #Add var/trafficserver 5G # Start the service sudo systemctl start trafficserver # Enable service at boot sudo systemctl enable trafficserver # Configure the firewall sudo firewall-cmd --zone=public --add-port=80/tcp --permanent sudo firewall-cmd --reload # Test from the client
Views: 2257 Alejandro T
Enable htaccess in apache 2.4.7 on Ubuntu 14.04.3
Enable .htaccess in apache 2.4.7 on Ubuntu 14.04.3 Enable mod rewrite in apache 2.4.7 on Ubuntu 14.04.3 RewriteEngine on RewriteRule index.html index.php How to check apache version How to check Ubuntu version
Views: 10662 Dodo Momo
How to install Smokeping on debian
In this video I show you how to install smokeping on debian and configure some basic options URL to smokeping http://oss.oetiker.ch/smokeping/ @mancinitech www.seanmancini.com
Views: 6384 sean mancini
How to Create a CSR in Apache OpenSSL
GlobalSign's support team show you how to create a certificate signing request (CSR) in Apache Open SSL. Order your certificate today: https://goo.gl/RquJW7 ********************************************************************* GlobalSign is a WebTrust-certified certificate authority (CA) and provider of Identity Services. Founded in Belgium in 1996, the company offers a diverse range of Identity service solutions. GlobalSign provides PKI and Identity and Access Management services to provide enterprises with a platform to manage internal and external identities for the Internet of Everything. The services allow organizations to deploy secure e-services, manage employee and extended enterprise identities and automate PKI deployments for users, mobile, and machines. #SSL #PKI #IoT ********************************************************************* ✔ We've been a Certificate Authority for over 20 years! 🌎 Visit the link to find out more about GlobalSign: ➪ https://www.globalsign.com/ 🔒 Click below to explore our SSL options: ➪ https://www.globalsign.com/en/ssl/ ☁ Scalable options made available for business and enterprise levels, visit the link below to find out more details: ➪ https://www.globalsign.com/en/enterprise/ ********************************************************************* 👉 Follow our Social Networks and stay connected: ● Facebook - https://www.facebook.com/GlobalSignSSL/ ● Twitter - https://www.twitter.com/globalsign ● Google Plus - https://www.google.com/+globalsign ● LinkedIn - https://www.linkedin.com/company/928855/ *********************************************************************
Views: 945 GlobalSign
Configure Apache Virtual Host From ServerGyan
In this video I will explain what all options are using in httpd.conf file and how to configure Virtual Host in Apache.
Views: 258 Server Gyan
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04 And Ubuntu 16.10
Introduction A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we'll get a LAMP stack installed on an Ubuntu 16.04 Droplet. Ubuntu will fulfill our first requirement: a Linux operating system. Step 1: Install Apache and Allow in Firewall #sudo apt-get update #sudo apt-get install apache2 Set Global ServerName to Suppress Syntax Warnings Next, we will add a single line to the /etc/apache2/apache2.conf file to suppress a warning message. While harmless, if you do not set ServerName globally, you will receive the following warning when checking your Apache configuration for syntax errors: Open up the main configuration file with your text edit: #sudo nano /etc/apache2/apache2.conf Adjust the Firewall to Allow Web Traffic Next, assuming that you have followed the initial server setup instructions to enable the UFW firewall, make sure that your firewall allows HTTP and HTTPS traffic. You can make sure that UFW has an application profile for Apache like so: #sudo ufw app list If you look at the Apache Full profile, it should show that it enables traffic to ports 80 and 443: #sudo ufw app info "Apache Full" Step 2: Install MySQL Now that we have our web server up and running, it is time to install MySQL. MySQL is a database management system. Basically, it will organize and provide access to databases where our site can store information. #sudo apt-get install mysql-server When the installation is complete, we want to run a simple security script that will remove some dangerous defaults and lock down access to our database system a little bit. Start the interactive script by running: Warning: Enabling this feature is something of a judgment call. If enabled, passwords which don't match the specified criteria will be rejected by MySQL with an error. This will cause issues if you use a weak password in conjunction with software which automatically configures MySQL user credentials, such as the Ubuntu packages for phpMyAdmin. It is safe to leave validation disabled, but you should always use strong, unique passwords for database credentials. #sudo mysql_secure_installation Step 3: Install PHP PHP is the component of our setup that will process code to display dynamic content. It can run scripts, connect to our MySQL databases to get information, and hand the processed content over to our web server to display. #sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql This should install PHP without any problems. We'll test this in a moment. In most cases, we'll want to modify the way that Apache serves files when a directory is requested. Currently, if a user requests a directory from the server, Apache will first look for a file called index.html. We want to tell our web server to prefer PHP files, so we'll make Apache look for an index.php file first. To do this, type this command to open the dir.conf file in a text editor with root privileges: #sudo nano /etc/apache2/mods-enabled/dir.conf After this, we need to restart the Apache web server in order for our changes to be recognized. You can do this by typing this: #systemctl restart apache2 Install PHP Modules To enhance the functionality of PHP, we can optionally install some additional modules. To see the available options for PHP modules and libraries, you can pipe the results of apt-cache search into less, a pager which lets you scroll through the output of other commands: #apt-cache search php- | less Use the arrow keys to scroll up and down, and q to quit. For example, to find out what the php-cli module does, we could type this: apt-cache show php-cli If, after researching, you decide you would like to install a package, you can do so by using the apt-get install command like we have been doing for our other software. If we decided that php-cli is something that we need, we could type: # sudo apt-get install php-cli Step 4: Test PHP Processing on your Web Server n order to test that our system is configured properly for PHP, we can create a very basic PHP script. We will call this script info.php. In order for Apache to find the file and serve it correctly, it must be saved to a very specific directory, which is called the "web root". In Ubuntu 14.04, this directory is located at /var/www/html/. We can create the file at that location by typing: sudo nano /var/www/html/info.php This will open a blank file. We want to put the following text, which is valid PHP code, inside the file:
Installing a Spring Boot Application on a Server - Part One
Website: http://www.leanstacks.com Publications: https://leanpub.com/leanstacks-marionette-spring GitHub: https://github.com/leanstacks/spring-boot-fundamentals/tree/executable Compare: https://github.com/leanstacks/spring-boot-fundamentals/compare/upgrade-140...executable This episode is part one of a two-part mini-series showing you how to instrument, install, configure, and run a Spring Boot application on a server. Install the application as an Operating System service so that it will automatically restart during server boot or reboot. Supply external configuration to the application that augments or overrides internal configuration. Manage the application service configuration such as PID and Log File locations and Java Options such as heap size. Part Two: https://youtu.be/Dz_y8w04dBk?list=PLGDwUiT1wr6-Fn3N2oqJpTdhGjFHnIIKY For the entire Spring Boot Fundamental Series: https://www.youtube.com/playlist?list=PLGDwUiT1wr6-Fn3N2oqJpTdhGjFHnIIKY
Views: 6627 LeanStacks
[LINUX] - #17 Installare redmine 3.3.3 su Centos 7
In questo video vedremo come installare Redmine, un applicazione che consente di gestire clienti/progetti ed helpdesk ticketing. Supporta mysql e postgres. Tutto su Centos 7 LINK: FACEBOOK: https://www.facebook.com/sistemistaitaliano/?ref=bookmarks GOOGLE+: https://plus.google.com/?hl=it TWITTER: https://twitter.com/sistemistaitali PASSAGGI INSTALLAZIONE: http://devopsknowhow.blogspot.it/2016/03/how-to-setup-redmine-in-centos-7.html yum install -y curl-devel openssl-devel httpd-devel apr-devel apr-util-devel mod_fcgid gcc-c++ mysql-devel mariadb-server httpd httpd ImageMagick ImageMagick-devel zlib-devel yum groupinstall "Development Tools" yum install -y ruby-libs ruby ruby-rdoc ruby-devel rubygems mysql_secure_installation gem install rack -v=1.6.4 gem install passenger -v=5.0.10 --conservative gem install passenger passenger-install-apache2-module mysql -uroot -p create database redmine character set utf8; create user 'redmine'@'localhost' identified by 'password'; grant all privileges on redmine.* to 'redmine'@'localhost'; wget http://www.redmine.org/releases/redmine-3.3.3.tar.gz tar xvzf redmine-3.3.3.tar.gz cd redmine-3.3.3 mv * /var/www/redmine Rename redmine/config/database.yml.example to database.yml, and edit it production: adapter: mysql2 database: redmine host: localhost username: redmine password: redmine encoding: utf8 gem install bundler cd /var/www/redmine bundle install cd /var/www/redmine rake generate_secret_token RAILS_ENV=production rake db:migrate RAILS_ENV=production rake redmine:load_default_data chown -R apache:apache files log tmp public plugins chmod -R 755 files log tmp public plugins Create /etc/httpd/conf.d/redmine.conf (Change passenger version according to your installed version) LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p648/gems/passenger-5.0.23/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby-2.0.0-p648/gems/passenger-5.0.23 PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.0.0-p648/wrappers/ruby Listen 8080 VirtualHost *:8080 ServerName localhost DocumentRoot "/var/www/redmine/public/" Directory "/var/www/redmine/public/" # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews /Directory /VirtualHost ATTENZIONE QUI MANCANO LE PARENTESI ANGOLARI PERCHE' YOUTUBE NON LE SUPPORTA
Views: 3514 Sistemista Italiano
Install Magento 2 on Ubuntu with apache2 without error
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: 2809 TatTanTat
Virtualmin Installation on Debian Linux
This video teaches you how to install Virtualmin GPL on Debian Linux, and discusses the post-installation wizard and what the options mean and what tradeoffs are involved in choosing between them. Virtualmin is a powerful and flexible Open Source and commercial web hosting control panel based on Webmin. Virtualmin has been downloaded hundreds of thousands of times and is in use all over the world. Installation is designed to be easy, even for people without a lot of Linux experience (you only need to know how to access the command line and run simple commands). To download Virtualmin GPL or Virtualmin Professional visit: http://www.virtualmin.com/download.html
Views: 3139 Virtualmin
Deploying ASP.NET Core Applications
It's a whole new world: support for Linux in Azure and cross-platform support for the next version of ASP.NET. This session will demonstrate a variety of options and techniques to deploy ASP.NET Core applications on premises and to Azure including IIS and Docker.
ISPConfig 3.1 Automated installation on Debian and Ubuntu
ISPConfig 3.1: Automated installation on Debian and Ubuntu As you might know, ISPConfig is one of the best free open source hosting control panels available to manage Linux hosting servers in single and multi-server environments. Today you will see how to deploy and install this amazing control panel with the ispconfig_setup script. This script is available for free on GitHub at https://github.com/servisys/ispconfig_setup, developed and maintained free from Servisys by Matteo Temporini with the help of the community. The script works on many Linux distributions: Debian 7 Debian 8 Ubuntu 14.10 Ubuntu 15.10 Ubuntu 16.04 Centos 7 Prerequisites There are some prerequisites needed to use this script: The installation works only on a fresh installed (empty) server A working internet connection on your server. Download and preparation apt-get update && apt-get -y upgrade //I have done already apt-get install -y unzip  cd /tmp wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master" tar zxvf installer.tgz cd *ispconfig* bash install.sh Select SQL Server Type==MySQL Specify Root [email protected] Select WebServer==apache Install Xcache==Yes Install PhpMyadmin==yes Select MailServer==dovecot Update FreshclamDB=yes Setup User Quota==yes Setup Mode=standard Install Jailkit==yes
Views: 5441 Amarnath Jaiswal
Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
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: 23679 Ambar Hasbiyatmoko
Configure apache with HTTPS and configure an internal CA
00:04 Installing apache and ssl on slitaz 00:40 Defining /etc/hosts on webserver 01:14 Defining /etc/hosts on certificate authority (CA) 01:38 Test http connection 02:15 Generate webserver private key 02:28 Generate webserver Certificate Signing Request (CSR) 03:03 Configure certificate authority 04:03 Configure default CA options 04:18 Generate self signed certificate on CA 05:31 Configure apache webserver for https 06:06 Sending webserver CSR to CA 06:40 CA signs webserver CSR 07:10 Sending certificate to webserver 08:21 Configure apache webserver for https 08:51 Configure old apache server for https 09:20 Trust internal CA in browser
Views: 421 kdguntu
Ubuntu 14.04 LTS - Apache .htaccess - mod_rewrite | ITFroccs.hu
Web: http://www.itfroccs.hu Twitter: https://twitter.com/itfroccs Facebook: https://www.facebook.com/pages/Itfr%C3%B6ccshu/299586646809406 ITFRÖCCS.HU | Szoftver - Hardver újdonságok, tesztek, megoldások egy helyen! Cikk: http://itfroccs.hu/ubuntu_14_04_lts_apache_htaccess_mod_rewrite
Views: 5058 ITFroccs
How to add htaccess protection to apache2 web server folders in Ubuntu
How to add htaccess protection to apache2 web server folders in Ubuntu
Views: 12893 unlokia
LPIC-2 202 DHCP Server Configuration
More videos like this online at http://www.theurbanpenguin.com Configuring the ISC DHCP server on Debian 7 for LPI LPIC-2
Views: 2368 theurbanpenguin
Wordpress permalinks not working 404 on apache. How to fix it?
In this video I will show how to setup wordpress permalinks on apache and fix 404 error. You need to do 3 steps: 1. create .htaccess files in the root wordpress directory, chown www-data, chmod 660 2. add "AllowOverride All" to your virtual host configuration 3. enable rewrite module: a2enmod rewrite
Views: 6912 Linuxoid
CentOS 7: Set up MySQL Cluster the easy way
In this vides, I will show you how to set up a five node MySQL cluster on CentOS 7 virtual machines.
Views: 34281 Just me and Opensource
500 Internal Server Error | .htaccess, Test and Configure
.htaccess | Configuring and Testing Custom Error Responses | 500 Internal Server Error page example Author: Dmytro Dzyubak http://www.dzyubak.com intro and outro music by Dmytro Dzyubak Transcript Configuring and testing customized 500 Internal Server Error page using .htaccess file. Testing the custom 500 error page is actually trickier then one might think! Because usually we won't be able to trigger it neither with PHP code nor with the error intentionally made in the .htaccess file itself. The foregoing behaviour will be demonstrated in the examples that follow. But let's first look at the contents of our DocumentRoot. What concerns us is an .htaccess file, 500.html, buggy.cgi, buggy.php and hello.cgi. "500 page" header centrally-aligned is what we eventually want to achieve showing up in our browser. So as I've already mentioned, we won't be able to trigger the output of this 500.html file with PHP code. For example, we can throw an exception (then open buggy.php to see the result) or introduce a fatal error directly (saving the document, refreshing the page) or send a raw 500 HTTP header (save the file, refresh). All these lines produce a blank page instead. We can confirm it by viewing the source. In fact, it is possible to trigger 500 status code, but not the custom 500.html page. Screwing up the .htaccess file itself, for example, with a double slash comment not valid in Apache produces a "generic error response" instead, but not our custom one that we need for testing our configuration. However, we can intentionally generate an error by using the CGI script. Actually, CGI script can be implemented in PHP, but that's usually not the case, so let's not overcomplicate this stuff. For CGI program to be executed properly by the server: enable the CGI module and restart the Apache. This procedure varies depending on the OS you use. For example, on Debian Linux these commands look like this. Elevate privileges with sudo (or just might be a root user). This (a2enmod) stands for Apache 2 enable module CGI. And CGI stands for common gateway interface. After that restart the Apache with "sudo service apache2 restart". Add the following lines to the .htaccess file. This line (Options +ExecCGI) specifies that CGI execution is permitted. And this one (AddHandler cgi-script .cgi) makes any file containing the .cgi extension to be treated as a CGI program. The CGI script has some garbage text that produces an error. Make the script executable (chmod 755 buggy.cgi) and "ls -l" to ensure that the changes have been applied. The following output shows that executable bit has been set on the buggy.cgi file. Now we access our buggy.cgi script. (I type buggy.cgi and hit Enter.) Ultimately we can see that our custom 500.html file is served when we have some problems with the server. And just in case you've been wondering how a valid CGI script might look like, here I've added hello.cgi script. Navigating to hello.cgi gives the following output. like / subscribe :-)
Views: 10577 dzyubak
Secure PHPmyadmin on Ubuntu Server 16.04
PHPmyadmin setup security on Ubuntu Server 16.04 Commands: 1. sudo vim /etc/phpmyadmin/apache.conf 2. AllowOverride All 3. sudo vim /usr/share/phpmyadmin/.htaccess 4. AuthType Basic AuthName "Restricted Files" AuthUserFile /etc/apache2/.phpmyadmin.htpasswd Require valid-user 5. sudo htpasswd -c /etc/apache2/.phpmyadmin.htpasswd " username " 6. sudo systemctl restart apache2.service 7. Order Allow,Deny Allow from your public IP 8. curl http://icanhazip.com
Views: 794 Grebenaha
How to Reset Root Password On Ubuntu 18.04 / 16.04 / 17.10 LTS
1 Reboot your computer. 2 Hold Shift during boot to start GRUB menu. 3 Select advanced options for ubuntu 4 Select the option with recovery mode 5 Select root and press enter 6 Give command - mount -n -o remount,rw / 7 Press Enter 8 Give command - passwd your_username 9 Give new password 10 reboot ------------------Online Courses to learn---------------------------- Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter Searches related to How to Reset Root Password In Ubuntu how to set root password in ubuntu how to reset root password in ubuntu using grub forgot ubuntu password how to change root password in ubuntu create root password ubuntu ubuntu change password terminal start ubuntu in recovery mode linux root password
Views: 212208 ProgrammingKnowledge
Настройка VPN PPTP сервера  на CentOS 7
Настройка VPn PPTP сервера на CentOS 7 ● В этом ролике: # yum update && yum upgrade # yum install -y epel-release # yum install -y mc # yum install -y net-tools Удаляем NetworkManager в CentOS 7 Это программа, облегчающая определение и конфигурацию средств для автоматического подключения к сети. Полезна она только для домашнего ПК или ноутбука, на сервере же может создавать проблемы с настройкой сети, т.к. может самостоятельно менять настройки. # systemctl stop NetworkManager && systemctl disable NetworkManager && systemctl restart network Отключите Selinux: # sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/sysconfig/selinux # sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config После перезагрузки проверьте статус SELinux командой «sestatus», Вы должны увидеть следующий вывод: SELinux status: disabled yum -y install ppp pptpd cp /etc/pptpd.conf /etc/pptpd.conf.bak cat /etc/pptpd.conf EOF option /etc/ppp/options.pptpd logwtmp localip remoteip EOF cp /etc/ppp/options.pptpd /etc/ppp/options.pptpd.bak cat /etc/ppp/options.pptpd EOF name pptpd refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 proxyarp lock nobsdcomp novj novjccomp nologfd ms-dns ms-dns EOF cp /etc/ppp/chap-secrets /etc/ppp/chap-secrets.bak cat /etc/ppp/chap-secrets EOF root pptpd toor * EOF cp /etc/sysctl.conf /etc/sysctl.conf.bak cat /etc/sysctl.conf EOF net.core.wmem_max = 12582912 net.core.rmem_max = 12582912 net.ipv4.tcp_rmem = 10240 87380 12582912 net.ipv4.tcp_wmem = 10240 87380 12582912 net.core.wmem_max = 12582912 net.core.rmem_max = 12582912 net.ipv4.tcp_rmem = 10240 87380 12582912 net.ipv4.tcp_wmem = 10240 87380 12582912 net.core.wmem_max = 12582912 net.core.rmem_max = 12582912 net.ipv4.tcp_rmem = 10240 87380 12582912 net.ipv4.tcp_wmem = 10240 87380 12582912 net.ipv4.ip_forward = 1 EOF sysctl -p Удаляем firewalld, вместо него ставим IPTABLES # systemctl stop firewalld # systemctl disable firewalld устанавливаем iptables # yum install iptables-services iptables Включим автозапуск iptables: # systemctl enable iptables chmod +x /etc/rc.d/rc.local echo "iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE" /etc/rc.d/rc.local iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE systemctl start pptpd systemctl enable pptpd.service ● Дополнительные хештеги: #компьютер #pc #анонимность #firewall #брандмауер #фаерволл #VirtualPrivateNetwork #VPN #codeby #hack #brute #danger #хакеры #мотивация #internet #CentOS
Views: 2121 Russian Hackers
How to install LAMP (Apache, Mysql, PHP, PhpMyAdmin) on Ubuntu, LinuxMint, ElementaryOS
How to install LAMP (Linux, Apache, MySQL, PHP/Perl/Python) on Ubuntu, LinuxMint, ElementaryOS: 1. Open terminal: Ctrl + Shift + T 2. Run this command: sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server-5.6 mysql-client-5.6 php5-curl php5-mcrypt php5-gd phpmyadmin 3. now, open browser and go to link http://localhost 4. Create info.php in /var/www with content ?php phpinfo(); Navigate browser to http://localhost/info.php 5. Config Apache - Change Document directory to /home/username/www: - mkdir /home/username/www - sudo gedit /etc/apache2/apache2.conf - change Directory /var/www to Directory /home/username/www - change AllowOverride None to AllowOverride All - open file /etc/apache2/sites-enabled/000-default.conf - change DocumentRoot /var/www to DocumentRoot /home/username/www - restart apache: sudo service apache2 restart - go to /home/username/www and create index.php with content: ?php phpinfo(); - navigate to http://localhost 6. Fix error on restart apache: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message sudo gedit /etc/apache2/apache2.conf add this line to end of file: ServerName localhost restart apache → Done 7. Enable module mcrypt and rewrite sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available sudo php5enmod mcrypt && sudo a2enmod rewrite
Views: 9101 Nho Huynh
Deep Web - Como hospedar sites na onion (Tor e Tor Browser)
Hospedando sites na onion: Primeiramente, é necessário alguns destes requisitos para criar um site na onion: requisitos obrigatórios: Apache HTTP Server (Linux ou Windows) e similares ou Internet Information Services – IIS (Windows) mais o Tor Browser ou TOR executando apenas como serviço (Windows ou Linux corretamente instalado e funcionando) Conceito teórico começa em 00:15 Conceito prático começa em 12:25 12:40 - Para máquinas Windows modo simples Download do Tor Browser https://www.torproject.org/download/download-easy.html.en configuração Tor browser Windows acesse: C:\Users\Seu nome de usuário\Tor Browser\Browser\TorBrowser\Data\Tor e altere o arquivo torrc adicionando: HiddenServiceDir hidden_service HiddenServicePort 80 netstat -nat para localizar a porta 80. 37:37 - Para máquinas Windows modo avançado como um serviço download Tor Browser em lista: https://dist.torproject.org/torbrowser/ arquivo de configuração Tor: C:\Data\conftor.txt SocksPort 0 GeoIPFile C:\Data\Tor\geoip GeoIPv6File C:\Data\Tor\geoip6 DataDirectory C:\Data\Tor\ Log notice file C:\Data\tor_log.txt # DisableDebuggerAttachment 0 # ControlPort # HashedControlPassword 16:C8D67D0FD42088846056BC021EAA36010168BCEC5EA23BDCAA567A7AD6 HiddenServiceDir C:\Data\Tor\hidden_service HiddenServicePort 80 comando para o prompt de comando Windows: cd \ cd Tor tor --service install -options -f C:\Data\conftor.txt 57:12 - Para máquinas Windows a execução do Garlic (gerador de domínios personalizados para a onion) download do Garlic: http://garlic7ravilyupx.onion/ Torchat ID maker download 01:10:20 - Para máquinas Linux modo simples logar como superusuário su Instala o Apache HTTP Server yum update && yum install httpd Inicia durante o boot o serviço do Apache Server chkconfig httpd on arquivo de configuração do Apache HTTP Server vim /etc/httpd/conf/httpd.conf iniciar o serviço: service httpd start ver log do Apache em tempo real: tail -f /var/log/httpd/access_log arquivo de configuração do Tor: Tor-Browser_pt-PT\Browser\TorBrowser\Data\Tor\torrc adicione ao arquivo de configuração do tor: HiddenServiceDir hidden_service HiddenServicePort 80 adicionar arquivos no Apache Server: cd /var/www/html vim index.html instalação do repositório: rpm -i http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 32bits CentOS 6 rpm -i http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 64bits CentOS 6 yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm para CentOS 7 atualização do repositório e instalação do Tor: yum update && yum install tor edite o arquivo do Tor: vim /etc/tor/torrc iniciar o Tor durante o boot do sistema: chkconfig tor on iniciar o tor imediatamente service tor start ver as chaves geradas: cd /var/lib/tor/hidden_service cat hostname Instalação do Shallot 01:36:00 download: https://github.com/katmagic/Shallot Instalação: descompactar pasta e compilar CentOS: trocar apt-get por yum Ubuntu: apt-get install unzip make gcc openssl* wget https://github.com/katmagic/Shallot/archive/master.zip unzip master.zip cd Shallot-master ./configure make make install - opção para enviar arquivo shallot para /usr/bin/ quando quiser executar em outro local que não seja pasta de compilação. Para Ubuntu: apt-get install tor-arm arm instalação no CentOS e derivados: yum install https://www.atagar.com/arm/resources/static/arm- configuração do tor na máquina servidor colocar no arquivo de configuração: ControlPort HashedControlPassword 16:D... se quiser gerar uma senha nova, digitar tor --hash-password senha no servidor. no cliente remoto: arm -i Referências: Apache HTTP Server configuração – Como configurar o apache pelo arquivo httpd.conf no CentOS 6 https://www.youtube.com/watch?v=IE1hvcuwjTE (vídeo criado por mim mesmo) Download do Eschalot (variante do Shallot) http://skunksworkedp2cg.onion/eschalot-1.2.0.tar.gz GitHub - katmagic/Shallot: Shallot allows you to create customized .onion addresses for your hidden service. https://github.com/katmagic/Shallot Hidden Service How-To Ubuntu Apache 2 Tor http://nfokjgfj3hxs4nwu.onion https://www.youtube.com/watch?v=BPDZz9VQjwQ Configuração e instalação do Microsoft Windows Internet Information Services no Windows XP SP3 Os comentários do vídeo estão desativados, por este motivo, caso queira comentar, compartilhar suas ideias com o criador deste vídeo ou mesmo para relatar problemas e outros assuntos, entre em contato via página do canal pelo link: https://www.facebook.com/vandersonnerd e depois entre em contato via inbox ou postagem pública se preferir. boas configurações em seus sistemas e bons estudos.
Internal Network of Linux Machines on VirtualBox
Setup a Linux client, router and server inside VirtualBox, and establish an internal network between them. Includes setting the NAT and Internal Network options in VirtualBox, as well as setting the routing table inside Linux.
Views: 2070 Steven Gordon
Simulation of Apache-Nutch 1.12(Binary Version) on Linux
This is a team effort for simulation of apache-nutch 1.12 with help of solr 4.10.1. The team members are Aayushi Kalia(BE CSE), Ananta Gupta(BE CSE), Sanchay Mehta(BE SE), Kartik Gogia(BE SE), Pratibha Sharma(ME CSE), Aarti Patel(ME CSE), Vandana(ME CSE). All are from Thapar University, Patiala.
Views: 898 Kartik Gogia
Bruno Mars - Liquor Store Blues ft. Damian Marley [OFFICIAL VIDEO]
Moonshine Jungle Tour 2014 tickets and more info: http://www.brunomars.com/moonshinejungletour Available now on iTunes! http://smarturl.it/Doo-Wops © 2011 WMG. The official music video for 'Liquor Store Blues' featuring Damian Marley from Doo-Wops & Hooligans - available now on Elektra Records! Connect with Bruno: http://www.brunomars.com http://www.twitter.com/brunomars http://www.facebook.com/brunomars http://www.instagram.com/brunomars Get 'Unorthodox Jukebox' on iTunes http://smarturl.it/unorthodoxjukebox LYRICS Standing at this liquor store Whiskey coming through my pores Feeling like I run this whole block Lotto tickets and cheap beer That's why you can catch me here Tryna scratch my way up to the top Cause my job's got me going nowhere So I ain't got a thing to lose Take me to a place where I don't care This is me and my liquor store blues I'll take one shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow One shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow Me and my guitar tonight Singing to the city lights Tryna live on more than what I got Cause 68 cent Just ain't gonna pay the rent so I'll be out here til they call the cops Cause my job got me going nowhere So I ain't got a thing to lose Take me to a place where I don't care This is me and my liquor store blues I'll take one shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow One shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow Here comes Junior Gong I'm flying high like Superman And thinking that I run the whole block I don't if it's just because Pinapple kush between my jaws Has got me feeling like I'm on top Feeling like I woulda stand up to the cops And stand up to da bigger heads because de whole a dem a saps All de talk dem a talk and dem (fly make no drop) Nuff ghetto youth cannot escape the trap Give me this one shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow One shot for my pain One drag for my sorrow Get messed up today I'll be okay tomorrow Comic Chimp Mask used by permission of Easter Unlimited, Inc. / FunWorld Div. All Rights Reserved. Copyright 2009.
Views: 116804913 Bruno Mars
How To Install Apache Solr 6.2 on Ubuntu 16
In this tutorial you will learn how to install & configure Apache Solr on ubuntu Apache Solr is an open source search platform built upon a Java library called Lucene. Solr is a popular search platform for Web sites because it can index and search multiple sites and return recommendations for related content based on the search query's taxonomy.
How to Use a GUI with Ubuntu Linux on AWS EC2
This video's goal is to show you how to use a Microsoft RDP client to securely connect to an Ubuntu instance on AWS EC2, so we can have a GUI for the Ubuntu instance. 1. Configure Free Tier Ubuntu instance on AWS EC2 2. Connect to Ubuntu instance via SSH with PuTTY 3. Add GUI options to Ubuntu 4. Configure PuTTY to Tunnel RDP traffic 5. Test with RDP *Link referenced: https://aws.amazon.com/premiumsupport/knowledge-center/connect-to-linux-desktop-from-windows/ NOTE: The link above now returns a 404 error. Here are the commands that were copied from the link: sudo apt update && sudo apt upgrade sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config sudo /etc/init.d/ssh restart sudo passwd ubuntu sudo apt install xrdp xfce4 xfce4-goodies tightvncserver echo xfce4-session$ /home/ubuntu/.xsession ##### NOTE: Replace the $ with the Greater Than Sign sudo cp /home/ubuntu/.xsession /etc/skel sudo sed -i '0,/-1/s//ask-1/' /etc/xrdp/xrdp.ini sudo service xrdp restart
Views: 7806 Alpine Security
Obtaining and installing TLS/SSL certificates via Let's Encrypt on Apache
ATM let's encrypt is in beta, in future we will just need to run *sudo apt install letsencrypt* and use it like letsencrypt [options]. Command rundown: 1. [sudo] apt-get install git 2. [sudo] git clone https://github.com/letsencrypt/letsencrypt 3. cd letsencrypt 4. [sudo] ./letsencrypt-auto --apache -d example.org -d www.example.org -d blog.example.org -d mail.example.org
Views: 926 Blago Eres
Upgrade PHP 5.6 to PHP 7.0/7.1 on Vesta CP
https://www.sitepoint.com/run-multiple-versions-php-one-server/ http://www.servermom.org/upgrade-vestacp-to-php-7-centos/ https://www.rootusers.com/upgrade-php-5-6-7-1-centos-7-linux/ https://webtatic.com/packages/php70/ https://www.howtoforge.com/tutorial/centos-lamp-server-apache-mysql-php/
Views: 7962 Nguyễn Hữu Hỷ

Prednisone 10mg pack 48
Risperdal 0 5mg nebenwirkungen magnesium
Obat glucophage xr 500 mg
Mesyrel 150mg clomid
Lowest price 81 mg baby aspirin