SSL ทำให้การเข้าถึง Website มีความปลอดภัย ข้อมูลทั้งหมดที่มีเรียกใช้งานระหว่างผู้ใช้ และ Server จะถูกเข้ารหัสเพื่อป้องกันการดักจับข้อมูลหรือการโจรกรรมข้อมูลจากแฮกเกอร์ Selt-signed Certificated เป็นการสร้างโดยไม่ต้องผ่านการรับรองจาก CA คือเราสามารถ Generate และติดตั้งได้ฟรี แต่จะมี Security Warning เพื่อกด Accept เพื่อเข้าสู่หน้าเว็บไซต์
ขั้นตอนการติดตั้ง Self Sign Certificate บน Apache CentOS 7
1. Install mod_ssl Package
#yum install mod_ssl openssl
2. Create Self Signed Certificate
#mkdir -p /etc/ssl/certs
#cd /etc/ssl/certs
สร้าง SSL Certificate
#openssl req -x509 -nodes -newkey rsa:2048 -keyout ssldemo.com.key -out ssldemo.com.crt
ความหมายของ Option และอื่นๆ
req -x509: ระบุประเภทของ certificate ที่ต้องการคือ x509 รองรับมาตรฐาน public key infrastructure ที่ใช้สำหรับ ssl, tls เป็นการทำงานร่วมกันระหว่าง key และ certificatenodes: ยกเลิกการใช้ passphrase ของ keydays 365: อายุของ certificatenewkey rsa:2048: ความยาวของ key มีขนาด 2048bitkeyout: ชื่อของ private keyout: ชื่อ certificate
ขั้นตอนนี้ระบบจะถามข้อมูล ให้ดำเนินการตั้งค่าดังนี้
Country Name (2 letter code) [XX]: TH
State or Province Name (full name): Bangkok
Locality Name (eg, city) [Default City]: Bangkok
Organization Name (eg, company) [Default Company Ltd]: ชื่อบริษัท
Organizational Unit Name (eg, section) []: ชื่อหน่วยงาน
Common Name (eg, your name or your server's hostname) []: ชื่อ Hostname
Email Address []: ชื่ออีเมล์
3. ตั้งค่า Virtualhost
สร้างและแก้ไขไฟล์ /etc/httpd/conf.d/ssl.conf
เพิ่มข้อความตามด้านล่างในไฟล์ ssl.conf
ownCloud คือ Software สำหรับบริการจัดการไฟล์ ไม่ว่าจะเป็นการซิงค์ แชร์ข้อมูล แก้ไขและรีวิวเอกสารออนไลน์ รองรับการทำงานร่วมกันได้หลายผู้ใช้ และมีความปลอดภัยสูง ปัจจุบันรองรับ Feature ต่างๆ มากมาย ทั้งยังสามารถติดตั้ง Feature เพิ่มเติมได้ผ่าน Market Store ที่สำคัญคือเป็น Open Source หรือฟรี
ขั้นตอนการติดตั้งและคอนฟิก ownCloud บน CentOS 7
1. Disable SElinux
#nano -w /etc/sysconfig/selinux
Save และ Rebootเปลี่ยน “SELINUX=enforcing” เป็น “SELINUX=disabled”
2. ติดตั้งและคอนฟิก Apache
#yum -y install httpd mod_ssl
#service httpd restart
#systemctl enable httpd
เช็ค Status
#systemctl status httpd.service
ติดตั้ง Firewall
#firewall-cmd --add-service http –permanent
#firewall-cmd --add-service https --permanentfirewall-cmd --reload
3. คอนฟิก Repositories
ติดตั้ง epel และ remi repos.
#yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Disable PHP5 repo. และ Enable PHP7.2 repo.
#yum-config-manager --disable remi-php54
#yum-config-manager --enable remi-php72
4. ติดตั้ง PHP
#yum install php php-mbstring php-gd php-mcrypt php-pear php-pspell php-pdo php-xml php-mysqlnd php-process php-pecl-zip php-xml php-intl php-zip php-zlib
5. ติดตั้ง MariaDB
#yum --enablerepo=remi install mariadb-server
Start MariaDB service
#systemctl start mariadb.service
Enable MariaDB บน System Boot
#systemctl enable mariadb
Run secure MariaDB
#mysql_secure_installation
Output:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the currentpassword for the root user. If you've just installed MariaDB, andyou haven't set the root password yet, the password will be blank,so you should just press enter here.
Enter current password for root (enter for none): OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDBroot user without the proper authorisation.
Set root password? [Y/n] yNew password: Re-enter new password: Password updated successfully!Reloading privilege tables.. ... Success!
By default, a MariaDB installation has an anonymous user, allowing anyoneto log into MariaDB without having to have a user account created forthem. This is intended only for testing, and to make the installationgo a bit smoother. You should remove them before moving into aproduction environment.
Remove anonymous users? [Y/n] y ... Success!
Normally, root should only be allowed to connect from 'localhost'. Thisensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y ... Success!
By default, MariaDB comes with a database named 'test' that anyone canaccess. This is also intended only for testing, and should be removedbefore moving into a production environment.
Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success!
Reloading the privilege tables will ensure that all changes made so farwill take effect immediately.
Reload privilege tables now? [Y/n] y ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDBinstallation should now be secure.
Thanks for using MariaDB!
ขั้นตอนนี้จะถามหา Password ให้ Enter และกำหนด Root Password และตรวจสอบด้วยคำสั่ง
#mysql -u root -p
6. ติดตั้ง ownCloud 10.2.x
Create repositories file
#nano -w /etc/yum.repos.d/owncloud.repo
เพิ่มข้อความตามด้านล่างในไฟล์
[ce_10.2]
name=wnCloud Server Version 10.2.x (CentOS_7)
type=rpm-md
baseurl=http://download.owncloud.org/download/repositories/production/CentOS_7
gpgcheck=1
gpgkey=http://download.owncloud.org/download/repositories/production/CentOS_7/repodata/repomd.xml.key
enabled=1
#yum repolist
#yum clean expire-cache
ติดตั้ง ownCloud
#yum install owncloud
7. สร้าง Database สำหรับ ownCloud
#mysql -u root -p
สร้าง Database ชื่อว่า ownclouddb1
#create database ownclouddb1;
สร้าง Database User ชื่อว่า ownclouduser และ grant privileges
#create user 'ownclouduser'@'localhost' identified BY 'OwiA@3#sf;
#grant all privileges on ownclouddb1.* to ownclouduser@localhost ;
Flush privileges.
#flush privileges;
8. คอนฟิก Apache
สร้างไฟล์ Virtual host
#nano -w /etc/httpd/conf.d/owncloud.conf
เพิ่มข้อความด้านล่างในไฟล์
Cloud File Sharing คืออะไร Cloud File Sharing คือบริการ Cloud Storage สำหรับ Sync และ Share files ระดับองค์กรที่ง่ายต่อการนำไปใช้งาน คล้ายกับ Dropbox แต่สามารถติดตั้งได้บน Server หรือ Storage ขององค์กรเอง นอกจากนี้ยังสามารถเชื่อมต่อกับ External Storage เช่น Google Drive, Amazon S3, OpenStack Object Storage และ SFTP เป็นต้น Cloud File Sharing มีค่าบริการไหม บริการ Cloud File Sharing อยู่บน Software พื้นฐานของ Nextcloud หรือ ownCloud ซึ่งเป็น Open Source หรือ Software ฟรี ลูกค้าสามารถใช้งาน Feature ของโปรแกรมได้ฟรี จะมีเพียงค่า Server Storage หรือ Cloud Storage เท่านั้นที่คิดค่าบริการ ลูกค้าสามารถเลือกขนาดของพื้นที่ได้ตามความต้องการได้เลย จะสั่งซื้อบริการ Cloud File Sharing ได้อย่างไร ลูกค้าสามารถสั่งซื้อบริการ Cloud File Sharing ได้หลากหลายช่องทางดังนี้ Cloud File Sharing แตกต่างจาก Cloud Storage อื่นยังไง Cloud File Sharing เป็นบริการ Cloud Storage ที่ติดตั้ง On primise หรือติดตั้งบน Cloud Storage ของลูกค้าเอง (เช่น Dedicatd Server, Cloud VPS เป็นต้น) แตกต่างจาก Cloud Storage เช่น Dropbox, Google Drive ซึ่งถูกติดตั้งและให้บริการผ่าน Public Cloud Storage นั่นเอง Datacenter ตั้งอยู่ที่ไหน Netway มี Datacenter ใช้บริการภายใต้การดูแลของบริษัท Proen Internet ซึ่งเป็นผู้ให้บริการอินเทอร์เน็ตความเร็วสูงแบบครบวงจร (ISP) ให้บริการผ่านโครงข่าย Fiber Optic ที่มีประสิทธิภาพสูง ทั้งยังได้รับการรับรองมาตรฐาน ISO/IEC 27001:2013 - Information Security Management System (ISMS) ซึ่งเป็นมาตรฐานสากลด้านความมั่นคงปลอดภัยของข้อมูลที่บริษัทชั้นนำให้ความสำคัญ มุ่งเน้นการบริหารจัดการความมั่นคงปลอดภัยของข้อมูลในระบบ ด้วยการนำเอามาตรฐานดังกล่าวมาเป็นแนวทางดำเนินงานของการให้บริการศูนย์ข้อมูลคอมพิวเตอร์ (Data Center) เพื่อให้ได้บริการที่ได้มาตรฐานแก่ลูกค้าและตรงตามมาตรฐาน ISO 27001 พร้อมทั้งมาตรฐาน Data Center Tier III ตั้งอยู่ที่ศูนย์กลางการให้บริการอินเตอร์เน็ตแห่งประเทศไทย CAT IDC ภายในอาคาร กสท โทรคมนาคม บางรัก เชื่อมต่อกับเครือข่ายอินเตอร์เน็ตความเร็วสูงของบริษัท กสท โทรคมนาคม จำกัด (มหาชน) มี Uptime Guarantee ไหม Netway รับประกันค่าเฉลี่ยในการ Uptime มากกว่า 99.9% มีบริการ Managed Server Services หรือไม่ Netway มีบริการ Managed Server Services สำหรับให้บริการ ลูกค้าสามารถศึกษาความแตกต่างในแต่ละบริการได้ ที่นี่ มีบริการช่วยเหลือ 24 ชั่วโมงไหม หรือมีเงื่อนไขอะไรบ้าง Netway มีบริการช่วยเหลือ ตรวจสอบและแก้ไขปัญหาทางด้านเทคนิคให้กับลูกค้าทั้งทางหมายเลขโทรศัพท์ 02-055-1095 และผ่านทาง Email โดยส่งอีเมลเข้ามาที่ support@netway.co.th ได้ทุกวันไม่เว้นวันหยุดราชการ ตลอด 24 ชั่วโมง ภายใต้เงื่อนไขบริการ Manage Server Service ลูกค้าสามารถจัดการ Cloud File Sharing เองได้ไหม สำหรับบริการ Cloud File Sharing ฝั่ง Server จะมี Web Portal สำหรับให้ลูกค้าบริหารจัดการเครื่อง Server ของลูกค้าได้เองเช่น Start, Shutdown, Reboot และ Console เป็นต้น รวมถึงมีหน้า Dashboard สำหรับจัดการไฟล์, User, Group หรืออื่นๆ ได้ผ่าน Web UI ด้วย เวลาในการติดตั้งและส่งมอบนานไหม? บริการจะถูกติดตั้งและพร้อมส่งมอบให้ลูกค้าไม่เกิน 30 นาทีหลังชำระค่าบริการ ทั้งนี้ขึ้นอยู่กับบริการ Managed Server Services ที่ลูกค้าซื้อเพิ่ม ซึ่งจะมีการติดตั้ง Software สำหรับทำ Hardening และ Monitor จะถูกส่งมอบหลังชำระค่าบริการเรียบร้อยไม่เกิน 6 ชั่วโมง
ภายหลังจากการคอนเฟิร์มสั่งซื้อบริการ Managed Server Service แล้ว ลูกค้าจะได้รับ E-mail จากระบบให้ลูกค้าดำเนินการในการทำ Customer and Server Onboarding Process ซึ่งจะเป็นขั้นตอนในการกรอกรายละเอียดข้อมูลลูกค้า ข้อมูลของเซิร์ฟเวอร์ที่จะใช้บริการ ตัวอย่าง Email เมื่อได้รับ Email แล้วลูกค้าทำการ Click เพื่อดำเนินการได้เลย ซึ่งจะมีคำอธิบายวิธีการดำเนินการ By Step โดยจะมี 4 Step หลักด้วยกันคือ Step 1 INFORMATION AND POLICIES ใน Step นี้จะประกอบด้วย 2 ส่วนหลักคือ Customer Profile และ Server IP Address ซึ่งทางลูกค้าจะต้องทำการกรอกรายละเอียดให้ครบถ้วน จากนั้นกด SAVE& Next Step Step 2 CONNECTION ใน Step ที่ 2 นี้จะเป็นการเลือกวิธีการที่จะเชื่อมต่อกับระบบ Managed Server Tools ของเราซึ่งจะมีทั้งหมด 3 ตัวเลิอก ซึ่งลูกค้าสามารถเลือกในข้อที่ลูกค้าต้องการ และดำเนินการตามคำแนะนำได้ทันที เมื่อดำเนินการเรียบร้อยครบถ้วน กด Save & Next Step Step 3 SCAN ใน Step ที่ 3 นี้ตัวระบบของเราจะดำเนินการตรวจสอบในเรื่อง Service , Firewall , Port , Security เพื่อสร้าง Report นำไปใช้ใน Step 4 Step 4 SUMMARY REPORT ใน Step ที่ 4 นี้ระบบจะทำการรายงานสิ่งที่ Scan ได้มาจาก Step 3 โดยลูกค้าสามารถเลือกแนวทางการดำเนินการได้ตามคำแนะนำที่ปรากฎ
1. Login your portal 2. Click on your icon at the top right. 3. Click on "Profile" 4. At the Notification Section ,you can enable or disable notification. You can add additional email for received notification email and can config alert for incident that you need to received. Then click "Save"