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

Shivam  posted in History

1  Indian Institute of Technology Kharagpur


Type:                   Public Technical University
Established:        1951
Chairman:         Sanjiv Goenka
Director:         Virendra Kumar Tewari 
Location              Kharagpur, West Bengal
Campus:              2,150 acres Urban
Academics:         Undergraduate, Postgraduate and Research Degrees in Engineering, Sciences, Humanities, Design and Management.
Admission tests: JEE-Advanced, HSEE, GATE, JAM, CAT, CEED, JMET
Rankings:            281 in the QS World University Rankings, 56 in Asia and 5th among engineering colleges in India by the NIRF in 2020.
Festival:              Robotix(technical festival), Spring Fest(Social and cultural festival)
Facilities:            Accommodation (for its students, faculty, administrative and supporting staff, and their families), Schools, Temples, Banks, Hospital, Shopping Centres, Food Shops, Gym, Swimming Pool,  Internet, Cricket, Football, Hockey and Badminton Stadiums.


2  Indian Institute of Technology Roorkee


Type:  Public Technical University
Established: 1847
Affiliation:    UGC
Director: Ajit Kumar Chaturvedi
Location:  Roorkee, Uttarakhand
Campus:  365 acres Urban
Academics:  Undergraduate, Postgraduate and Research Degrees in Engineering, Sciences, Humanities, Design and Management.
Admission tests:  JEE-Advanced, HSEE, GATE, JAM, CAT, CEED, JMET, REE
Rankings:  383 in the QS World University Rankings, 90 in Asia and 6th among engineering colleges in India by the NIRF in 2020.
Festival:  Cognizance (Technical festival), Thomso(Cultural festival) and Sangram (Sports festival)
Facilities:  Accommodation (for its students, faculty, administrative and supporting staff, and their families), Schools, Temples, Banks, Hospital, Shopping Centres, Food Shops, Gym, Swimming Pool,  Internet, Cricket, Football, Hockey and Badminton Stadiums.


3  National Institute of Technology Calicut Kozhikode


Type:  Public
Established:  1961
Chancellor:  Gajjala Yoganand
Director:  Sivaji Chakravorti
Registrar:  Lt. Col. Pankajakshan
Location: Kozhikode, India
Campus:  300 acres, rural
Affiliations:  UGC, NAAC, AIU, AICTE
Academics:   
Undergraduate course offered by NITC includes Bachelor of Technology (B.Tech.) in various engineering fields and Bachelor of Architecture (B.Arch.). These are paralleled by postgraduate courses offering Master of Technology (M.Tech). In addition, NITC offers an applied computer science course granting Master of Computer Application (M.C.A.), a business course granting Master of Business Administration (M.B.A.) and a two-year Master of Science (M.Sc.) in science departments. PhD programs are available in all engineering and science disciplines and management.
Admission tests:  JEE, GATE, CAT, NET
Rankings:  3rd among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


4  Centre for Environmental Planning and Technology University Ahmedabad


Type:  Private
Established:  1962
President:  Bimal Patel
Location:  Ahmedabad, India
Campus: Urban
Affiliations:  UGC, NAAC
Academics:
  • Faculty of Architecture (1962)
  • Faculty of Planning (1972)
  • Faculty of Technology (1982)
  • Faculty of Design (1991)
  • Faculty of Management (2008)
Admission tests:  JEE, GATE, CAT, GMAT
Rankings:  4th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


5  School of Planning and Architecture New Delhi


Type:  Public
Established:  1941
Chairperson:  Dr. Ramesh Pokhriyal 
Director:  Prof. Dr. P.S.N. Rao
Location:  New Delhi, India
Campus: Urban
Affiliations:  UGC, NAAC, AIU, AICTE
Academics:   
  • Department of Architecture
  • Department of Urban Planning
  • Department of Housing
  • B.Arch Studio Classroom
  • Department of Transport Planning
  • Department of Landscape Architecture
  • Department of Urban Design
  • Department of Environmental Planning
  • Department of Physical Planning
  • Department of Regional Planning
  • Department of Architectural Conservation
  • Department of Industrial Design
  • Department of Building Engineering and Management
Admission tests:  JEE, CAT, GATE, NET, GMAT
Rankings:  5th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


6  Indian Institute of Engineering Science and Technology Shibpur


Type:  Research Institute
Established:  1856
Chairman:  V. K. Aatre
Director:  Parthasarathi Chakrabarti
Location:  Shibpur, India
Campus: Urban, 123 acres
Affiliations:  UGC, NAAC, AIU, AICTE
Academics:   Undergraduate, Postgraduate and Research degrees
Admission tests:  JEE, 
Rankings:   6th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


7  School of Planning and Architecture Bhopal


Type:  Public
Established:  2008
Chairperson:  Bimal Patel
Director:  N. Sridharan
Location:  Bhopal, Madhya Pradesh, India
Campus: Urban
Affiliations:  MHRD
Academics:  Undergraduate, Postgraduate and Research degrees
Admission tests:  JEE, 
Rankings:  7th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


8  National Institute of Technology Tiruchirappalli


Type:  Public Technical University
Established:   1964
Director: Dr. Mini Shaji Thomas
Location:   Tiruchirappalli, Tamil Nadu
Campus:  800 acres Urban
Affiliations:  UGC, AICTE, Washington Accord
Academics:  Undergraduate, Postgraduate and Research Degrees in Engineering, Sciences, Humanities, Design and Management.
Admission tests:  JEE-Advanced, GATE, Ph.D-NET, UCEED, CEED, JAM, NET
Rankings:   801-1000 in the QS World University Rankings, 218 in Asia and 9th among engineering, 8th Architecture colleges in India by the NIRF in 2020.
Festival:   Technical festival and Cultural festival
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Schools, Temples, Banks, Hospital, Shopping Centres, Food Shops, Gym, Swimming Pool,  Internet, Cricket, Football, Hockey and Badminton Stadiums.


9  School of Planning and Architecture Vijayawada


Type:  Autonomous
Established:  2008
Chairperson:  Dr. Ramesh Pokhriyal 'Nishank'
Director:  Prof.(Dr.) Minakshi Jain
Location:  Vijayawada, India
Campus: Urban, 10 acres
Affiliations:  NASA, Institute of National Importance
Academics:   Undergraduate, Postgraduate and research degrees in  B.A./LL.B, LL.M., M.Phil. and PhD degrees.
Admission tests:  JEE
Rankings:   9th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.


10  Jamia Millia Islamia New Delhi


Type:  Public
Established:  1920
Chancellor:  Najma Heptulla
Vice-Chancellor:  Najma Akhtar
Location:  Delhi, India
Campus: Urban
Affiliations:  UGC, NAAC, AIU, AICTE
Academics:   Undergraduate, Postgraduate and Research degrees 
Admission tests:  CLAT, NLAT, PAT
Rankings:  10th among Architecture colleges in India by the National Institutional Ranking Framework (NIRF) in 2020.
Facilities:   Accommodation (for its students, faculty, administrative and supporting staff, and their families), Canteen, Internet, Cricket, Football, Hockey and Badminton Stadiums.

janhavi  posted in Top 10 Best

Post updated on:  Dec 29, 2020 8:02:01 AM


According to the Indian government, these apps were found prejudicial to sovereignty and integrity, defence of India, the security of the state and public order'. The government of India blocked 43 Chinese mobile apps from accessing by users in India, under section 69A of the Information Technology Act.

Ministry of Electronics and Information Technology has issued the order for blocking the access of these apps by users in India based on the comprehensive reports received from Indian Cyber Crime Co-ordination Center, Ministry of Home Affairs, it further stated.

Earlier on 28 June 2020, the Indian government had blocked access to 59 Chinese mobile apps and on 2nd September 2020, 118 more apps were banned under section 69A of the Information Technology Act. Government is committed to protecting the interests of citizens and the sovereignty and integrity of India on all fronts and it shall take all possible steps to ensure that.

Here is the full list of banned Chinese apps by the Indian government on 24 November 2020 :

AliSuppliers Mobile App
Alibaba Workbench
AliExpress - Smarter Shopping, Better Living
Alipay Cashier
Lalamove India - Delivery App
Drive with Lalamove India
Snack Video
CamCard - Business Card Reader
CamCard - BCR (Western)
Soul- Follow the soul to find you
Chinese Social - Free Online Dating Video App & Chat
Date in Asia - Dating & Chat For Asian Singles
WeDate-Dating App
Free dating app-Singol, start your date!
Adore App
TrulyChinese - Chinese Dating App
TrulyAsian - Asian Dating App
ChinaLove: dating app for Chinese singles
DateMyAge: Chat, Meet, Date Mature Singles Online
AsianDate: find Asian singles
FlirtWish: chat with singles
Guys Only Dating: Gay Chat
Tubit: Live Streams
WeWorkChina
First Love Live- super hot live beauties live online
Rela - Lesbian Social Network
Cashier Wallet
MangoTV
MGTV-HunanTV official TV APP
WeTV - TV version
WeTV - Cdrama, Kdrama&More
WeTV Lite
Lucky Live-Live Video Streaming App
Taobao Live
DingTalk
Identity V
Isoland 2: Ashes of Time
BoxStar (Early Access)
Heroes Evolved
Happy Fish
Jellipop Match-Decorate your dream island!
Munchkin Match: magic home building
Conquista Online II

Post updated on:  Dec 29, 2020 7:56:18 AM

Follow below steps to start and configure solr quickly on your machine


1. Download solr from Solr Download  For window you can download the zip file of latest version and for Unix/Linux download tgz file. For example I clicked on solr-8.6.2.zip It will take user to mirror page where all files are refereed Solr Zip I clicked on Solr Zip

2. Once downloaded unzip the zip file. Make sure you have Java 8 already installed in your machine.

3. Now you can start the solr server. Solr comes with embedded Jetty server in it. So we can directly start solr server. Solr index all data in particular Collection which is also called Core. Solr provides some collection which are already created for us. We can see the present collection in the folder --solr-8.6.2\example.
Whenever we restart solr then we need to add the name of the collection.

4. Go to folder location --\solr-8.6.2\bin and run the below command to start solr with techproducts collection
  •  solr -e techproducts
 You can see in the logs that it tries to index some of the already present XML files to solr for demo/practice

 
 
 5. Once solr is started with the above message shown in screen shot then we can hit the below url to see the solr Admin UI page
 http://localhost:8983/solr/#/

 
 6. If you see the above screen shot then it means that solr is running and it's restarted successfully.
 
 7. Now click on Core Selector from left side and you can see techproducts in dropdown. Select techproducts.
 
 8. You can see all configuration for this collection techproducts.

 
 9. Click on Query tab from left panel and then click on the "Execute Query" button
 
 10. You can see the results for the data indexed in solr. You can try this query in separate browser to see the search result.
 http://localhost:8983/solr/techproducts/select?q=*%3A*
 
 
 11. For adding new item in solr, add new content in XML file under \solr-8.6.2\example\exampledocs OR create a new XML file we your new content like below.
 I have created a new file myfile.xml and added below data in that file

    


   
12. Now index this new data in solr by below command.
Go to folder example/exampledocs
and run this command. At this folder post.jsr is already present.
  •  java -Dc=techproducts -jar post.jar myfile.xml






13. Now search for the new content which you have just indexed as http://localhost:8983/solr/techproducts/select?q=mymenu



14. You can shut down solr. Go to folder location --\solr-8.6.2\bin and run the below command
  •  solr stop
 

Stay tuned for more updated and more exercise with steps and example.


Happy learning!!




Amit  posted in Apache Solr

Post updated on:  Oct 11, 2020 11:50:32 PM

World is targeting to decrease the response time, irrespective of the application developed and technology used. Searching is a core functionality being used in eCommerce as well in other application. Keeping the response time and scalability in high priority, Apache Lucene project introduced SOLR SEARCH ENGINE.


Benefits

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features are: powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly scalable, providing distributed search. Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr's powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has extensive plug-in architecture when more advanced customization is required.

Lucene uses 3 to 5 times less memory for when dealing with terms dictionary, so it's even less RAM consuming. So it provides quick search.
Faceted Searching.
Light weight application.
 
 
Basic Work Flow
                        
Schema.xml:  
   This file is responsible to declare all fields of data feed with their type and scope for search. It first declare the data type which can be used for fields. It defines the field types and fields of documents. It can drive more intelligent processing Dynamic Fields enables on-the-fly addition of new fields in this field. CopyField functionality allows indexing a single field multiple ways, or combining multiple fields into a single searchable field. Explicit types eliminates the need for guessing types of fields. We can also provide customized data type . In that case we are required to create concerned class and need to point that class in the declaration of the data type .
It makes possible to specify that a field is a String, int, float, or other primitive, or a custom type.

It has a feature of  Dynamic field definitions.  If a field name is not found, dynamicFields will be used if the name matches any of the patterns. e.g. name="*_i" will match any field ending in _i (like myid_i, z_i). Longer patterns will be matched first.  If equal size patterns  are found then the first appearing in the schema will be used.
 
Solrconfig.xml:   On the configuration side, the solrconfig.xml file specifies how Solr should handle indexing, highlighting, faceting, search, and other requests, as well as attributes specifying how caching should be handled and how Lucene should manage the index. This is defined in solrconfig.xml. The configuration can depend on the schema, but the schema never depends on the configuration. Cache used to hold field values that are quickly accessible by document id.  The fieldValueCache is created by default    even if not configured here. Response is given in XML/JSON format as per user corresponding parameters.

 
Detailed Description

Solr Faceted Search Implementation:


Faceted search gives the facility to dig our searching upto bottom level. In the respect of user this helps to search from category to sub category and many more.  Each facet displayed also shows the number of hits within the search that match that category. Users can then "drill down" by applying specific contstraints to the search results. Faceted search is also called faceted browsing, faceted navigation, guided navigation and sometimes parametric search.
It's relatively simple to get faceting information from Solr, as there are few prerequisites. Faceting commands are added to any normal Solr query request, and the faceting counts come back in the same query response. Solr offers the following types of faceting, all of which can be requested with no prior configuration:
Field faceting - retrieve the counts for all terms, or just the top terms in any given field. The field must be indexed.
Query faceting - return the number of documents in the current search results that also match the given query.
Date faceting - return the number of documents that fall within certain date ranges.
 

Caching

Solr caches are associated with an Index Searcher ? a particular 'view' of the index that doesn't change. So as long as that Index Searcher is being used, any items in the cache will be valid and available for reuse. Caching in Solr is unlike ordinary caches in that Solr cached objects will not expire after a certain period of time; rather, cached objects will be valid as long as the Index Searcher is valid.
The current Index Searcher serves requests and when a new searcher is opened, the new one is auto-warmed while the current one is still serving external requests. When the new one is ready, it will be registered as the current searcher and will handle any new search requests. The old searcher will be closed after all request it was servicing finish. The current Searcher is used as the source of auto-warming. When a new searcher is opened, its caches may be prepopulated or "autowarmed" using data from caches in the old searcher.
 
Required attributes in caching.
 
Available  SolrCache Class for implementation:
solr.LRUCache
solr.FastLRUCache
solr.LFUCache
 
initialSize
The initial capacity (number of entries) of the cache.
 
autowarmCount
It is responsible to get the searched data from old cache instead of hitting solr.It defines the size or how many data can be cached. When a new searcher is opened, configurable searches are run against it in order to warm it up to avoid slow first hits. During warming, the current searcher handles live requests.When a new searcher is opened, its caches may be prepopulated or "autowarmed" with cached object from caches in the old searcher. autowarmCount is the number of cached items that will be regenerated in the new searcher. You will proably want to base the autowarmCount setting on how long it takes to autowarm. You must consider the trade-off ? time-to-autowarm versus how warm (i.e., autowarmCount) you want the cache to be. The autowarm parameter is set for the caches in solrconfig.xml.
 
This is Cache warming in background
 
   
      class="solr.LRUCache"
      size="512"
      initialSize="512"
      autowarmCount="0"/>
 
Caches configuration is view on static page of solr for a running Solr server.
Url for static page is http://localhost:8983/solr/admin/stats.jsp
 
 
The most recently accessed items in the caches of the current searcher are re-populated in the new searcher; enabling high cache hit rates across index/searcher changes. This is autowarming in background.



 
Query Creation
Query created to hit Solr engine follows HTTP interface with configurable response formats (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, binary).Sorting can be done by any number of fields, and by complex functions of numeric fields
Highlighted context snippets can be used.
Faceted Searching based on unique field values, explicit queries, date ranges, and numeric ranges is key feature of Solr. Spelling check and auto suggestions are also provided for user queries, in that case it is required to manipulate solrConfig.xml for spelling check.
Queries are creating using simple java code but one can use solr API apache-solr-solrj-1.4.1.jar. Inbuilt class SolrQuery is responsible to create queries. Its different methods can be used to append different parameters in query. The above API can be used for parsing response data also or one can write own code for parsing/handling response data.
Query Example:-
 
Basic Parameters of Solr Query:
  1. q: This is the basic parameter in solr query which contains the searched content.
  2. Start: This parameter is used to paginate results from a query.
  3. Rows: This parameter is used to paginate results from a query.
  4. Fq: This parameters contains the condition applied on the search query.
  5. Fl: This parameter can be used to specify a set of fields to return, limiting the amount of information in the response.
  6. Sort: This parameter says that we need the response in sorted form asc/desc on a particular field basis.
  7. Facet: It defines weather facet search is true/false on the particular call.
  8. Wt: The value of this parameter defines the format of solr response.
 

 

Amit  posted in Apache Solr

Post updated on:  Oct 1, 2020 1:51:34 AM

clc;
foregroundDetector = vision.ForegroundDetector('NumGaussians', 3, ...
        'NumTrainingFrames', 50);
    V=VideoReader('bac cifix 15 min.avi');
    videoReader = vision.VideoFileReader('sample.avi');
    for i = 1:150
        frame = step(videoReader); % read the next video frame
        foreground = step(foregroundDetector, frame);
       end
       imwrite(frame,'C:\Abhishek\Paper\BlockMatchingAlgoMPEG\Video_Velocity\new.jpg','jpg');
       videoPlayer = vision.VideoPlayer('Name', 'Detected Subtitlis');
       videoPlayer.Position(3:4) = [650,400];  % window size: [width, height]
       se = strel('square', 3); % morphological filter for noise removal
       referenceimage=imread('C:\Abhishek\Paper\BlockMatching\Video_Velocity\new.jpg'); 
       X=zeros(2,121);
       Y=zeros(2,121);
       Z=zeros;
       while ~isDone(videoReader)
           frame = step(videoReader); % read the next video frame
           % Detect the foreground in the current video frame
           foreground = step(foregroundDetector, frame);
           % Use morphological opening to remove noise in the foreground
           filteredForeground = imopen(foreground, se);
           %-----------------------SPEED ---------------------------%
           frame2=((im2double(frame))-(im2double(referenceimage)));
           frame1=im2bw(frame2,0.1); 
           [Labelimage]=bwlabeln(frame1); 
           stats=regionprops(Labelimage,'basic');
           BB=stats.BoundingBox;
           i=2; %fblasst for
           X(i)=BB(1);
           Y(i)=BB(2);
           Dist=((X(i)-X(i-1))^2+(Y(i)-Y(i-1))^2)^(1/2);
           Z(i)=Dist;
           M=median(Z);
           %disp(M);
           %clc;
           %disp('speed=')
           Speed=((M)*(120/8))/(4);
           %disp(Speed);
           %SPEED = M ???????????
           i = i + 1;
           SE = strel('disk',6); 
           frame3=imclose(frame1,SE); 
           step(videoReader); 
           pause(0.05);
              %if(i==121) end; ??
        %-----------------------SPEED ---------------------------%
        % Detect the connected components with the specified minimum area, and
        % compute their bounding boxes
        blobAnalysis = vision.BlobAnalysis('BoundingBoxOutputPort', true, ...
        'AreaOutputPort', true, 'CentroidOutputPort', true, ...
        'MinimumBlobArea', 150);
        %bbox = step(blobAnalysis, filteredForeground);
        [areas, centroids, bbox] = step(blobAnalysis, filteredForeground);
        % Draw bounding boxes around the detected cars
        result = insertShape(frame, 'Rectangle', bbox, 'Color', 'green');
        % Display the number of cars found in the video frame
        %ICI
        disp(centroids); 
        disp(size(centroids));
        numCars = size(bbox, 1); %cars ...
        numCars_str = ['Frame:', num2str(size(bbox, 1))];
        speed_str = [num2str(Speed),'KM/h'];
        result = insertText(result,[10,10],numCars_str, 'BoxOpacity', 1, ...
            'FontSize', 14);
        for i=1:size(bbox, 1)
        result = insertText(result,[centroids(i,1),centroids(i,2)], speed_str, 'BoxOpacity', 1, ...
            'FontSize', 20);
           end;
           step(videoPlayer, result);  % display the results
       end;
       
       release(videoReader); % close the video file

Abhishek  posted in Technical

Post updated on:  Sep 6, 2020 10:53:00 AM

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

Discover your area of interest

More recent categories

Back to top