Good evening steemian friends all over the archipelago.Salam sejahtra for you all, May you always be given the health to continue to share the good and also useful information information on each platform. Amen
on occasion I would like to write about web server hopefully useful for steemians everything.
A. CONFIGURATION DNS SERVER
Before we start the web server configuration, we must to configure the DNS Server.
- Install Debian Linux OS [based on text]
- Network configuration
Before configuration first check the network on your linux is already in the settings or not, if not the order to check is type ifconfig then enter. if not already in the settings, do the following:
• Edit network interfaces by typing commands: nano / etc / network / interfaces
• Delete dhcp replaced with static
• Then type the command as shown below
- If it is saved by: CTRL + X> Save> Enter
- After that restart your network / os, type command: /etc/init.d/networking/restart or reboot
- Check whether it is configured correctly or not by the way, type: ifconfig
3.Install Bind9
Bind9 is one of the applications used to create a DNS Server, how to install:
•first Input CD / ISO file. [Device> CD / Drive> Find ISO file]
• Type command: apt-get install bind9
• Select Y
• Restart your bind9 or linux os, the way it was: reboot
4.Configure the DNS Server
Before the configuration, it would be nice first we prepare any files or folders to be configured, the files to be configured:
1.Go to the bind folder first: cd / etc / bind
2.Edit the file named.conf.local: nano named.conf.local and then fill in the command as in the picture below. If it has saved Ctrl + X> Y> Enter
- Copy db.local to db.pnl, with nano command
4.Edit the file db.veri type: nano db.pnl
Replace localhost with your domain name, example: Ctrl + W> Ctrl + R> write: localhost> Enter> domain name> Enter> A Fill and change the file as shown below:
5.Edit the file db.xitkjb type: nano db.ip Replace localhost with your domain name, example: Ctrl + W> Ctrl + R> write: localhost> Enter> domain name> Enter> A Fill and change the file as shown below:
6.Edit the file named.conf.options type: nano named.conf.options
Remove slash //, and 0.0.0.0 change to your IP Address, eg: 192.168.1.32 After that Save
7.Edit the resolv.conf file type: nano /etc/resolv.conf Change and add the contents of the file as below.
8.Restart your Bind9, type: /etc/init.d/bind9 restart
9.Testing your DNS Server using the command nslookup [domain name]
B. Web Server Configuration
Here's how to install and configure Web Server on Debian 6, among others:
1.Install apache and phpmyadmin packages
apt-get install apache2 php5 mysql-client mysql-server phpmyadmin
Analysis: The above command is a command to install the apache2 php5 mysql-client mysql-server phpmyadmin software in the iso debian package. So when we want to configure Web Server then install apache2 package.
2.Then click Yes
3.Then type the password for MySQL
4.After that, reenter the password
5.Then mark Apache2 in the phpmyadmin configuration, and wait until it goes through the install process
6.Already, click No on the following phpmyadmin configure, wait until finished
7.Webserver configuration, first move to the sites-available directory #cd / etc / apache2 / sites-available
8.Copy default file to desired filename "kimo.com" #cp default pnl.com
9.after that, open the file, and configure it by adjusting the red line mark below, use IP eth1 #nano kimo.com
10.Then move to www directory #cd / var / www
11.After that, open the index.html file, edit as you wish and ability. #nano index.html
12.Then edit the info.php file as below #nano info.php
13.Then enable kimo.com file # a2ensite kimo.com
14.Then disable the default file # a2dissite default
15.After that, restart its apache daemon # / etc / init.d / apache2 restart
16.And restart also its MySQL daemon # / etc / init.d / mysql restart
17.Last test of his web server #type the ip address eth1 it: 192.168.100.1
#CONCLUSION
Web server is a server that handles data communications on the internet through the world wide web, and is the server on the internet.beacause most of the demand for communication services such as HTTP. Apache was first designed on systemUnix, but in later versions apache can run on Windows NT machines.
Thank you for having read my writing, Steemian Do not forget to follow @ajier.bedeng, upvote, and comment below.
Posted on Utopian.io - Rewarding Open Source Contributors
Your contribution cannot be approved because it does not follow the Utopian Rules.
Rule Says: Contributions must be Formal and Professional
Thank you for having read my writing, Steemian Do not forget to follow @ajier.bedeng, upvote, and comment below.
& Your introduction message is so unprofessional and not accepted.You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @rufans, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit