About us

Join us FREE!

Write and publish your ideas, thoughts, blogs or articles on any topic. You are at right place for guest blogging. Post tutorials for knowledge sharing. Upload respective images and tag your YouTube or Facebook videos with the articles and share it on various social media with simple steps. Join us Free to add your post.



Monthly trending articles on ConnectClue

Deepanjali  posted in Yoga

1. Download postgress -  ex - version 10 as zip file
 https://www.postgresql.org/download/
 2. unzip postgress. and go to command prompt.
 3. create a folder named data anywhere as ex - "C:\Users\Abhishek\data"
 4. go to bin folder of postgress and run command like below.
    C:\pgsql\bin>set PGDATA=C:\Users\Abhishek\data
5. run -  pg_ctl init
6. run below command
   pg_ctl -D "C:\Users\Abhishek\data" -l logfile start
  7. create user ? and enter password as shown below
   createuser.exe -P -s -e pguser
8. createdb.exe -U "pguser" localdb
 9 connect DB with username and password using pgadmin, HeidiSql.

Abhishek  posted in Technical

Post updated on:  Sep 6, 2020 10:49:17 AM

Apache http web server is open source. In this tutorial we will get to know the steps to install this in Ubuntu Server.
This steps are tested on Ubuntu 16.04. I have listed down some basic Linux commands also which you should be aware of.

1.  Since this is Ubuntu so you need to update it before all types of installation
      -sudo apt update

2.  Install Apache server by running the below command.
   - sudo apt install apache2

3. Once this is installed, try the below url to check if web server is running with default page without any issue. You can type your IP address instead of localhost.
  - localhost:80/


 

4. If you see the above screen shot in your response then Apache web server is installed successfully. This is serving the default page created during installing from below location.
 - cd /var/www/html

 5. You can try to open the index.html file present here and update, same will reflect here localhost:80/
    Open and Edit file
   - vim index.html
    Type "i" to enter insert mode.
    Press ESC and then type ":wq!" then press Enter to save the changes and exit vim.


6. Now we will learn how to create a placeholder for any new site hosting. Suppose your site name is myexample
 cd /var/www/myexample
 nano index.html
   Add any content in this file which you wants, I added below content.



7. Now let's configure the new site in default location of apache.
    cd /etc/apache2/sites-available/

9. Create config for our domain
    sudo nano myexample.conf
    Add the email address in ServerAdmin email@myexample.com
    Add the server name as ServerName myexample.com
    Add the Document for the folder which you had already created




10. Once all done resrtart Apache
- service apache2 reload


Now hit myexample.com, it will open the page for this domain which you had mentioned in the html.
     
     Happy learning!!








Amit  posted in Technical

Post updated on:  Sep 5, 2020 10:02:42 PM

Trending authors

Discover your area of interest

More recent categories

Back to top