Sunday, December 23, 2018

HTTP, PHP and Maria DB service on CentOS 7

HTTP Server on CENTOS 7

setenforce 0
# sed -i 's/enforcing/disabled/g' /etc/selinux/config

# yum install httpd 
# yum install epel-release -y 
# yum install httpd -y
# yum install php -y
# yum install php-common -y
# yum install php-mysqlnd -y
yum install php-mbstring -y 
# yum install php-gd -y
# yum install mariadb-server -y 
# yum install mod_ssl -y 
# yum install zip -y
# yum install wget -y
# yum install unzip -y

To change the http configuration file

# sed -i 's/AllowOverride none/AllowOverride all/g' /etc/httpd/conf/httpd.conf

Manage Apache HTTP Server on CentOS 7

# systemctl start httpd
# systemctl start mariadb
# systemctl enable httpd
# systemctl status httpd

Configure FIREWALL to Allow Apache Traffic

# firewall-cmd --zone=public --permanent --add-service=http
# firewall-cmd --zone=public --permanent --add-service=https
# firewall-cmd --reload

Configure Name-based Virtual Hosts on CentOS 7

# vi /etc/httpd/conf.d/vhost.conf

Please write down these following line in the file.

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@mytecmint.com
    ServerName mytecmint.com
    ServerAlias www.mytecmint.com
    DocumentRoot /var/www/html/mytecmint.com/
    ErrorLog /var/log/httpd/mytecmint.com/error.log
    CustomLog /var/log/httpd/mytecmint.com/access.log combined
</VirtualHost>

Firewall - To access from a remote location by SSH or Putty

To access the CentOS 7 from remote by SSH or Putty, we need to open the firewall for logging the server.

#firewall-cmd --permanent --add-port=100/tcp
#firewall-cmd --reload
#firewall-cmd --list-ports

Network Configuration

To configure the network, we need to use those command and steps in the CentOS 7.

#nmcli d (To check the ethernet card)
#nmtui (To open Network manager.)

After opening Network manager chose “Edit connection” and press Enter Here, we will use TAB button for choosing options. To connect with a DHCP network. We don't need to insert an IP address in the system just check the "Automatically Connect" in the Edit connection. Go to the OK Option and press enter. Then go to the QUIT option and press enter.

#service network restart (To restart the network service)
#ip address (Here, we can see our IP address with the ethernet card)

Saturday, December 22, 2018

Part 6 Summery - Purchase Order Acknowledgement - 855

Summary

  • Header: 
    • ST
    • BAK - Beginning Segment of Purchase Order Acknowledgement
    • N1 - Sender and Receiver Information,         
  • Detail: 
    • PO1 - Base Line Item Data
    • CTP - Pricing Information  
    • ACK - Line Item Status Code
    • AR - Item Accepted and released for shipment     
  • Summary: 
    • AMT - Monetary Amount
    • CTT - Transaction Total
    • SE
  • Important Segment: 
    • PO1 - which will have element information like Quantity Ordered, Unit or Basis for Measurement Code & Unit Price
    • CTT Segment consists of 2 elements, 
      • 1st on is "Number of Line Items" means no. of PO1 Segment in the file.
      • 2nd one is "Hash Total" means the sum of PO1-02 element information.




Part 5 Summery - Purchase Order

Summary

  • Header: 
    • ST
    • BEG - Beginning Segment of Purchase Order,
    • CUR - Currency,
    • N1 Loop - Sender and Receiver Information,
    • PER - Communication Contact Information,    
  • Detail: 
    • PO1 - Baseline item data, 
    • REF - Ref Identification, 
    • SCH - Line Item Schedule, 
    • PID - Purchase Item Detail        
  • Summary: 
    • CTT - Transaction Total,
    • SE
  • Important Segment: 
    • PO1 - Which will have element information like Quantity Ordered, Unit or Basis for Measurement Code & Unit Price
    • CTT Segment consists of 2 elements, 
      • 1st is "Number of Line Items" means no. of PO1 Segment in the file.
      • 2nd one is "Hash Total" means the sum of PO1-02 element information.

Part 5.4 N1 - Name of 850 - Purchase Order

Name




Entity Identifier Code

Name

Identification Code Qualifier

Identification Code

N1
*
BY
*

*
92
*
PUO1
~
N1
*
SF
*
ABC
*
92
*
NO21
~
N1
*
ST
*
Module Plant
*
92
*
5110
~
Req.

M

X

X

X

Type

ID

AN

ID

AN

MIN/MAX

2/2

1/35

1/2

2/20



Entity Identifier Code - Code identifying an organizational entity, a physical location, or an individual.
  • BY - Buying Party (purchaser)
  • SF - Ship From
  • ST - Ship To 
Name - Free-Form name
Identification Code Qualifier
  • 92 - Assigned by Buyer
  • 6 - Plant Code (For ST)
Identification Code

Posts

test

Dear All, Today is my last day in the office. As I wrap up my time here, I express my deepest gratitude for the opportunity to work with suc...