All posts by Sayed
Different types of Distance for ML Algorithms
Manhattan, Cosine, Ln Form
# http://dataaspirant.com/2015/04/11/five-most-popular-similarity-measures-implementation-in-python/
# Manhattan
def manhattan(x, y):
return sum( abs(a-b) for a, b in zip(x,y))
d = manhattan([5,10], [30,20])
print(d)
#------ Cosine Distance
import math
def square_rooted(x):
return math.sqrt(sum([a * a for a in x]))
def cosine_distance(x, y):
numerator = sum ( a * b for a, b in zip(x, y ) )
denominator = square_rooted(x) * square_rooted(y)
return numerator/denominator
print ( cosine_distance([3, 45, 7, 2], [2, 54, 13, 15]) )
#----------------
#Ln Form Distance
def ln_form_distance(x,y, dim):
return pow(sum([ pow(abs(a-b),dim) for a,b in zip(x,y)]), 1/dim)
print (ln_form_distance([3, 45, 7, 2], [2, 54, 13, 15], 3))
Future Startup Weekly
Future Startup Weekly Email
"FS Weekly
Please find the updates that you missed from FS in last 7 days. If you enjoy them, please share the mail with others.
Adzuna Acquires UK’s Leading Tech Startup Job Board Work in Startups |
Chaldal Launches Bangladesh’s Largest E-commerce Warehouse |
CMED Health Wins The HEAD Foundation Innovative Social Enterprise Award At SVC 2018 |
Introducing Founder Stories: The Largest Collection Of Interviews Of Bangladeshi Entrepreneurs |
Md. Rafiqul Islam Reappointed as MD & CEO of Green Delta Capital Limited |
Light Of Hope Founder Waliullah Bhuiyan Wins The Unilever Young Entrepreneurs Awards 2018 |
With Its Sub-brand Growups, Cookups Tiptoes Into Online Grocery |
FS Weekly Digest: Our 05 Must Read Stories From Last Week |
Shadmart’s Parent Company Gets Into B2B Cross-border Logistics Business, Launches Shadco Express
" |
These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka
These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka
These Startups Want To Shake Up Primary Education, Fashion, Real Estate Buying, Travel, And What Food You Consume In Dhaka |
FS Weekly Digest: The Insights You Missed Last Week (Late) |
Building Serverless Web Applications with AWS Amplify
|
Migrating Microsoft Workloads Like an Expert
|
Empower Your Organization with Alexa for Business
|
Automate Threat Mitigation Using AWS WAF and Amazon GuardDuty
|
Using Predictive Analytics in Industrial IoT Applications
|
Distributed Tracing for Kubernetes Applications on AWS
|
Accelerate Database Development and Testing on AWS
|
Automate for Efficiency with AI Language Services
|
Optimizing PostgreSQL on AWS
|
Tech Talk Follow Up: Machine Learning Models with TensorFlow Using Amazon SageMaker
|
Future Startup Weekly
FS Weekly
Please find the updates that you missed from FS in last 7 days. If you enjoy them, please share the mail with others.
How Light Of Hope Is Shaping The Future Of Education In Bangladesh, One Kid At A Time: An Interview With Waliullah Bhuiyan, CEO, Light Of Hope
Light Of Hope Founder, and CEO, Waliullah Bhuiyan, on his journey to the world of entrepreneurship, how his passion for literature, art, and culture shaped his outlook towards life and the world, talks about Light Of Hope’s journey from idea and a small team to a team of over 60 people, what went into building the initial operation of Light Of Hope, how Light Of Hope has managed to find a sustainable business model to scale, how Light Of Hope has used a combination of hard work, hustle and efficient execution to grow its business, the state of Light Of Hope’s business today, how Light Of Hope operates as an organization and how it has built an entrepreneurial culture, and how Light Of Hope plans to shape the future of education in Bangladesh, shares his on challenges of entrepreneurship and how he deals with stress of being a founder, the infinite importance of having right people around you while building a company and why you should ignore what other people think of you if you are into making something meaningful and be obsessed with a seamless execution over having a beautiful idea. |
How Truck Lagbe Is Taking On An Age-old Transportation Industry: An Interview With Anayet Rashid, Founder and CEO, Truck Lagbe
Truck Lagbe Founder and CEO Anayet Rashid on the early days of Truck Lagbe, how it has evolved and grown from a mere idea to a team of over 25 people and 150 agents in a span of a year, how Truck Lagbe is using technology to change an age-old complex transportation industry, how Truck Lagbe works, its business model, challenges of Truck Lagbe, its business today and ambition going forward, the hard work and intricacies of scaling a business, the most critical aspects of transportation business, how Truck Lagbe operates as an organization and why having a good idea is a rather inconsequential part of building a company and why execution is what makes all the difference. |
The Secret To A Successful Startup
Starting a new business can be satisfying but stressful. Among other tasks, entrepreneurs must raise enough funds for their ventures. But it turns out the type of funding matters, not just the amount. Start-ups funded via business loans tend to outperform those using personal loans or having no loans at all. |
FS Weekly Digest: The Insights You Missed Last Week
Praava health, Japan Tobacco, Flight Expert, Styline, GD Assist and more |
Future Startup
Basilla Mohammadpur
Dhaka Dhaka 1209
Bangladesh
https://futurestartup.com
You Received this email because you have subscribed to our list. Please unsubscribe if you don't want to receive email.
ACM TechNews, Wednesday, August 8, 2018
|
ACM TechNews, Monday, August 6, 2018
Click here to view this online
|
Recent Announcements from AWS
Tech Talk Follow Up: Best Practices for Security in Amazon S3
Tech Talk Follow Up: Introduction to Amazon QuickSight: Business Analytics for Everyone
Thank you for registering for an AWS Online Tech Talk. The on-demand content is now available. Webinar: Introduction to Amazon QuickSight: Business Analytics for Everyone
My Account | Getting Started | Products | Solutions | Pricing | Partners | Documentation | Training | Events & Webinars | AWS Activate | Marketplace | What's New | Blog | Analyst Reports
Amazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc.
This message was produced and distributed by Amazon Web Services, Inc., 410 Terry Ave. North, Seattle, WA 98109-5210.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. View our privacy policy.
Databases (AWS or Not): What to use When?
Purpose Built Databases:
https://www.youtube.com/watch?v=clnz4oVaGlY
Which Database to Use When
https://www.youtube.com/watch?v=KWOSGVtHWqA
Applying AWS Purpose-Built Database Strategy
https://www.youtube.com/watch?v=Z3VmcWlIp84
Databases and what are available on Amazon
https://aws.amazon.com/products/databases/
Sayed Ahmed
sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Readings for Today : July 25th, 2018
Business
Millennials Are Making a Costly Investment Mistake
Almost 1 in 3 millennials say they prefer cash instruments for long-term investments—but the generation is least likely to earn interest on such savings.
https://www.bloomberg.com/news/articles/2018-07-25/millennials-are-making-a-costly-investment-mistake
Four stocks likely to struggle when interest rates rise
http://cawidgets.morningstar.ca/ArticleTemplate/ArticleGL.aspx?culture=en-CA&id=874152
The evolution of the Chinese market
As they open their doors to foreign investors, Chinese capital markets are entering the next stage of their evolution.
http://cawidgets.morningstar.ca/ArticleTemplate/ArticleGL.aspx?culture=en-CA&id=873100
Take your first steps in the Lightsail console
Once your Lightsail instance is up and running, here are a few ways to get started in the Lightsail console:
|
|
Sayed Ahmed
sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
if-then এর ব্যবহার – শেল প্রোগ্রামিং-এ
#!/bin/sh
#count the number of files in current directory, and check if the number is equal to or greater than or less than 26
#NOF represents number of files
NOF=`ls -l | wc -l`
if [ $NOF -eq 26 ]
then
echo "No of files and directories is equal to 26"
fi
if [ $NOF -gt 26 ]
then
echo "No of files is greater than 26"
fi
if [ $NOF -lt 26 ]
then
echo "No of files is less than 26"
fi
exit
শেল প্রোগ্রামিং while লুপ এর উদাহরণ । একটি চার্ট প্রদর্শন করুন
Example Output
bash-3.2$ ./while-loop-example.sh
Enter your Number
10
10 * 1 = 10
10 * 2 = 20
10 * 3 = 30
10 * 4 = 40
10 * 5 = 50
10 * 6 = 60
10 * 7 = 70
10 * 8 = 80
10 * 9 = 90
10 * 10 = 100
The Code
#!/bin/ksh
#example : how to use while loop in shell programming
multiplication()
{
#clear
i=1
while (( i <= 10 ))
do
echo "$Y * $i = `expr $Y \* $i`"
(( i = i + 1 ))
done
}
echo "Enter your Number"
read X
case "$X" in
1)
Y=1
multiplication
;;
2)
Y=2
multiplication
;;
3)
Y=3
multiplication
;;
4)
Y=4
multiplication
;;
5)
Y=5
multiplication
;;
6)
Y=6
multiplication
;;
7)
Y=7
multiplication
;;
8)
Y=8
multiplication
;;
9)
Y=9
multiplication
;;
10)
Y=10
multiplication
;;
esac
exit
বৃহস্পতিবার এবং শুক্রবারে / etc ফোল্ডারে সমস্ত বিষয়বস্তু /export/home/shell/test/etc.tar তে tar হিসাবে backup করুন
#!/bin/ksh
# on every thursday and friday tar all contents of /etc folder into /export/home/shell/test/. On thursday only create a log file with the list of files
#in the tar file. On thursday untar /export/home/shell/test/etc.tar into vfstab . Then log vfstab exist or not information
DAY=`date +%a`
DATESTAMP=`date +%m-%d-%Y-%H:%M`
if [[ "$DAY" == Mon ]]
then
echo "Today is Monday"
elif [[ "$DAY" == Tue ]]
then
echo "Today is Tuesday"
elif [[ "$DAY" == Wed ]]
then
echo "Today is Wednesday"
elif [[ "$DAY" == Thu ]]
then
echo "Today is Thursday" >> /export/home/shell/test/log/backup-$DATESTAMP.log
cd /etc
tar cvf /export/home/shell/test/etc.tar * >> /export/home/shell/test/log/backup-$DATESTAMP.log
cd /export/home/shell/test
tar xvf etc.tar vfstab
if [[ -f vfstab ]]
then
echo "file vfstab exist" >> /export/home/shell/test/log/backup-$DATESTAMP.log
else
echo "file vfstab does not exist" >> /export/home/shell/test/log/backup-$DATESTAMP.log
fi
elif [[ "$DAY" == Fri ]]
then
echo "Today is Friday"
cd /etc
tar cvf /export/home/shell/test/etc.tar *
elif [[ "$DAY" == Sat ]]
then
echo "Today is Saturday"
else
echo "Today is Sunday"
fi
exit
শেল প্রোগ্রামিং এ if-then-else এর উদাহরণ
#!/bin/sh
#If then else example
#if elif else
NOF=5
if [ $NOF -eq 27 ]
then
echo "No of files and directories = 27"
elif [ $NOF -gt 27 ]
then
echo "No of files are dir are greator than 27"
else
echo "No of files and directories are less than 27"
fi
exit
উদাহরণঃ case এর ব্যবহার। আজকের দিনটির নাম দেখান
bash-3.2$ cat ksh_case_example_1.sh
#!/bin/ksh
#show today's day name
DAY=`date +%a`
#show value of $DAY
echo $DAY
#based on the value of the DAY variable show the day name in full format
case "$DAY" in
Mon)
echo "Monday"
;;
Tue)
echo "Tuesday"
;;
Wed)
echo "Wednesday"
;;
Thu)
echo "Thursday"
;;
Fri)
echo "Friday"
;;
Sat)
echo "Saturday"
;;
Sun)
echo "Sunday"
;;
esac
---------------
Output - ফলাফল
bash-3.2$ ./ksh_case_example_1.sh
Sun
Sunday
For লুপ এর ব্যবহার
bash-3.2$ cat multiplication.sh
#!/bin/bash
# Example use of function/method declaration in Shell Programming
# Example use of for loop
#a function that will multiply 1 to 10 with 5
multiplication()
{
x=5
for i in {1..10}
do
echo $i
echo "the multiplication result is:" $(($i*$x))
done
}
echo "Print 1 to 10; also multiply each number with 5 and show the multiplication result"
multiplication
-----------------------------
Output - ফলাফল
bash-3.2$ ./multiplication.sh
Print 1 to 10; also multiply each number with 5 and show the multiplication result
1
the multiplication result is: 5
2
the multiplication result is: 10
3
the multiplication result is: 15
4
the multiplication result is: 20
5
the multiplication result is: 25
6
the multiplication result is: 30
7
the multiplication result is: 35
8
the multiplication result is: 40
9
the multiplication result is: 45
10
the multiplication result is: 50
case এর ব্যবহার
Example Output:
10 * 1 = 10
10 * 2 = 20
10 * 3 = 30
10 * 4 = 40
10 * 5 = 50
10 * 6 = 60
10 * 7 = 70
10 * 8 = 80
10 * 9 = 90
10 * 10 = 100
----------------------------------
#!/bin/bash
multi()
{
clear
for ((i=1;i<=10;i++));
do
echo "$Y * $i = `expr $Y \* $i`"
done
}
echo "Enter your Number"
read X
case "$X" in
1)
Y=1
multi
;;
2)
Y=2
multi
;;
3)
Y=3
multi
;;
4)
Y=4
multi
;;
5)
Y=5
multi
;;
6)
Y=6
multi
;;
7)
Y=7
multi
;;
8)
Y=8
multi
;;
9)
Y=9
multi
;;
10)
Y=10
multi
;;
esac
exit
Output
7 * 1 = 7
7 * 2 = 14
7 * 3 = 21
7 * 4 = 28
7 * 5 = 35
7 * 6 = 42
7 * 7 = 49
7 * 8 = 56
7 * 9 = 63
7 * 10 = 70
case এর আর একটি উদাহরণ
Output First
bash-3.2$ ./ksh_case_chart.sh
Enter your Number
9
9 * 1 = 9
9 * 2 = 18
9 * 3 = 27
9 * 4 = 36
9 * 5 = 45
9 * 6 = 54
9 * 7 = 63
9 * 8 = 72
9 * 9 = 81
9 * 10 = 90
----
কোড
#!/bin/ksh
#example on how to use case and for loop
multi()
{
#clear
for i in 1 2 3 4 5 6 7 8 9 10
do
echo "$Y * $i = `expr $Y \* $i`"
done
}
#take a number from the user ( 1..10)
echo "Enter your Number"
read X
case "$X" in
1)
Y=1
multi
;;
2)
Y=2
multi
;;
3)
Y=3
multi
;;
4)
Y=4
multi
;;
5)
Y=5
multi
;;
6)
Y=6
multi
;;
7)
Y=7
multi
;;
8)
Y=8
multi
;;
9)
Y=9
multi
;;
10)
Y=10
multi
;;
esac
exit
-----
৩০ সেকেন্ড পর পর যে সমস্ত শেল রান করছে তাদের ডাটা একটা লগ ফাইল এ সেভ করতে হবে
#!/bin/sh
#find all currently running shells and create in full listing form for them . Log the data into a file in every 30 secs
# -e means currentl running
# -f means full format output
# sleep takes parameters in seconds
ps -ef | grep shell >> process.log
sleep 30
ps -ef | grep shell >> process.log
sleep 30
ps -ef | grep shell >> process.log
sleep 30
case এর অন্য একটি ব্যবহার . Example use of case
ফলাফল
bash-3.2$ ./ksh_case_chart.sh
Enter your Number
9
9 * 1 = 9
9 * 2 = 18
9 * 3 = 27
9 * 4 = 36
9 * 5 = 45
9 * 6 = 54
9 * 7 = 63
9 * 8 = 72
9 * 9 = 81
9 * 10 = 90
----
কোড
#!/bin/ksh
#example on how to use case and for loop
multi()
{
#clear
for i in 1 2 3 4 5 6 7 8 9 10
do
echo "$Y * $i = `expr $Y \* $i`"
done
}
#take a number from the user ( 1..10)
echo "Enter your Number"
read X
case "$X" in
1)
Y=1
multi
;;
2)
Y=2
multi
;;
3)
Y=3
multi
;;
4)
Y=4
multi
;;
5)
Y=5
multi
;;
6)
Y=6
multi
;;
7)
Y=7
multi
;;
8)
Y=8
multi
;;
9)
Y=9
multi
;;
10)
Y=10
multi
;;
esac
exit
-----
case এর ব্যবহার . Example use of case
Example Output:
10 * 1 = 10
10 * 2 = 20
10 * 3 = 30
10 * 4 = 40
10 * 5 = 50
10 * 6 = 60
10 * 7 = 70
10 * 8 = 80
10 * 9 = 90
10 * 10 = 100
----------------------------------
#!/bin/bash
multi()
{
clear
for ((i=1;i<=10;i++));
do
echo "$Y * $i = `expr $Y \* $i`"
done
}
echo "Enter your Number"
read X
case "$X" in
1)
Y=1
multi
;;
2)
Y=2
multi
;;
3)
Y=3
multi
;;
4)
Y=4
multi
;;
5)
Y=5
multi
;;
6)
Y=6
multi
;;
7)
Y=7
multi
;;
8)
Y=8
multi
;;
9)
Y=9
multi
;;
10)
Y=10
multi
;;
esac
exit
Output
7 * 1 = 7
7 * 2 = 14
7 * 3 = 21
7 * 4 = 28
7 * 5 = 35
7 * 6 = 42
7 * 7 = 49
7 * 8 = 56
7 * 9 = 63
7 * 10 = 70
শেল প্রোগ্রামিং এ for লুপ এবং ফাংশন এর ব্যবহার। Use of For Loop and Function in Shell Programming
bash-3.2$ cat multiplication.sh
#!/bin/bash
# Example use of function/method declaration in Shell Programming
# Example use of for loop
#a function that will multiply 1 to 10 with 5
multiplication()
{
x=5
for i in {1..10}
do
echo $i
echo "the multiplication result is:" $(($i*$x))
done
}
echo "Print 1 to 10; also multiply each number with 5 and show the multiplication result"
multiplication
-----------------------------
Output - ফলাফল
bash-3.2$ ./multiplication.sh
Print 1 to 10; also multiply each number with 5 and show the multiplication result
1
the multiplication result is: 5
2
the multiplication result is: 10
3
the multiplication result is: 15
4
the multiplication result is: 20
5
the multiplication result is: 25
6
the multiplication result is: 30
7
the multiplication result is: 35
8
the multiplication result is: 40
9
the multiplication result is: 45
10
the multiplication result is: 50
শেল – case এর ব্যবহার ksh – এ। Example use of Case in KSH. Show Today’s Day Name
bash-3.2$ cat ksh_case_example_1.sh
#!/bin/ksh
#show today's day name
DAY=`date +%a`
#show value of $DAY
echo $DAY
#based on the value of the DAY variable show the day name in full format
case "$DAY" in
Mon)
echo "Monday"
;;
Tue)
echo "Tuesday"
;;
Wed)
echo "Wednesday"
;;
Thu)
echo "Thursday"
;;
Fri)
echo "Friday"
;;
Sat)
echo "Saturday"
;;
Sun)
echo "Sunday"
;;
esac
---------------
Output - ফলাফল
bash-3.2$ ./ksh_case_example_1.sh
Sun
Sunday
গাণিতিক অপারেশন – ব্যবহারকারী থেকে দুটি মান ব্যবহার করে : Arithmetic operations using two values from the user
#!/usr/bin/bash
clear
echo "Enter First Number"
read x
echo "Enter Second Number"
read y
#does not work for /bin/sh
(( z = $x + $y ))
(( a = $x - $y ))
(( b = $x \* $y ))
(( c = $x \/ $y ))
#clear
echo "Addition of 2 numbers is =" $z
echo "Subtraction of 2 numbers is =" $a
echo "Multiplication of 2 numbers is =" $b
echo "Division of 2 numbers is =" $c
-----------------------------
Output - ফলাফল
Enter First Number
20
Enter Second Number
5
Addition of 2 numbers is = 25
Subtraction of 2 numbers is = 15
Multiplication of 2 numbers is = 100
Division of 2 numbers is = 4
এরিথমেটিক অপারেশন দুটি ভেরিয়েবল ব্যবহার করে
#!/bin/sh
#will do addition, subtraction, multiplication, and division of two variables
X=12
Y=5
#print the values of the variables
echo "X value is: "$X
echo "Y value is: "$Y
#addition
echo "X + Y" = `expr $X + $Y`
#subtraction
echo "Y - X" = `expr $Y - $X`
#multiplication
echo "X * Y" = `expr $X \* $Y`
#division
echo "X / Y" = `expr $X \/ $Y"`
---
ফলাফল - Output
bash-3.2$ ./arithmetics-operations-of-variables.sh
X value is: 12
Y value is: 5
X + Y = 17
Y - X = -7
X * Y = 60
X / Y = 2
ভেরিএবল এর ব্যবহার – use of variables
#!/bin/sh
#assign value to a variable and print to the screen
NAME="Justetc"
echo $NAME
#Ask the user to enter a Name
echo ##################################
echo "enter name"
#read command is used to take input from the user
read X
#print the value two times to the screen
echo $X
echo $X
---------------------------
ফলাফল - Output
bash-3.2$ ./variable_use.sh
Justetc
enter name
Sayed Ahmed
Sayed Ahmed
Sayed Ahmed
একটি বেসিক শেল প্রোগ্রাম
#!/bin/sh
#if enabled - will spit out the script to the screen
#set -v
#clear the screen
clear
echo "SCRIPT BEGINS"
#shows current login name
echo "Hello $LOGNAME"
#shows current date in the same line
echo "Todays date is: \c"
date +%m/%d/%y
#shows current time in the same line
echo "and the current time is: \c"
date +%H:%M:%S%n
#shows a list of the processes
echo "Now a list of the processes in the current shell"
ps
echo "SCRIPT FINISHED!!"
#example of how to use a variable
NAME="Justetc"
echo $NAME
--------------------------------------------
Output - প্রোগ্রাম এর ফলাফল
SCRIPT BEGINS
Hello shell
Todays date is: 04/15/18
and the current time is: 14:46:43
Now a list of the processes in the current shell
PID TTY TIME CMD
14522 pts/2 0:00 bash
14590 pts/2 0:00 a_basic_
14595 pts/2 0:00 ps
14508 pts/2 0:00 sh
SCRIPT FINISHED!!
Justetc
Solaris Unix – Quick Administration Guide/Cheatsheet
Solaris QuickSheet Version: 0.18.0 Date: 8/23/7
http://tablespace.net/quicksheet/solaris-quicksheet.pdf
Blog: http://sitestree.com, http://bangla.salearningschool.com
Machine Learning on OpenShift and Kubernetes
|
|
|
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
China’s Rise is Over
China's Rise is Over
http://stanfordpress.typepad.com/blog/2015/03/chinas-rise-is-over.html
Future of China:
http://sup.org/books/extra/?id=24761&i=Preface.html
Sayed Ahmed
sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
2018 will mark the end of the resumé
"2018 will mark the end of the resumé for evaluating developers. As more and more companies across all industries are hiring software engineers, it's more important than ever to truly take the time to understand who developers are, what they're interested in, what drives them, and what they look for in a job. Without this, hiring managers will continue struggling to find the best technical people," said Vivek Ravisankar, co-founder & CEO of HackerRank.
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
AutoFS and Mounting in Linux/Redhat/CentOS
AutoFS and Mounting in Linux/Redhat/CentOS
echo "AutoFS - Automatic FS system Mounting - Dec 26th, 2017 by Sayed"
check if Autofs installed or not
yum list installed | grep autofs
I just installed; hence it is there
you can install with yum -y install autofs
944 yum -y install autofs
then you can enable autofs
946 systemctl status autofs
947 systemctl start autofs
948 systemctl enable autofs
enable - will start this service at reboot/system start
AutoFS in general does not use /etc/fstab
AutoFS uses /etc/mtab file
Also, AutoFS has some files under /etc and starting with auto. You can also define which file will contain the mounting mapping. the file that will act like /etc/fstab for autofs
AutoFS has direct mapping and indirect mapping
let's see some files under /etc for autofs
955 ls /etc/auto*
The files
/etc/auto.direct /etc/autofs.conf /etc/autofs_ldap_auth.conf /etc/auto.master /etc/auto.misc /etc/auto.net /etc/auto.smb /etc/auto.master.d:
I saw to use /etc/auto.master for configuring which file will do the mapping for direct mounting.
I saw to use /etc/auto.misc for configuring which file will do the mapping for indirect mounting for AutoFS.
One more config file is under: /etc/sysconfig/autofs
961 cat /etc/sysconfig/autofs
the content
#
# Init system options
#
# If the kernel supports using the autofs miscellanous device
# and you wish to use it you must set this configuration option
# to "yes" otherwise it will not be used.
#
USE_MISC_DEVICE="yes"
#
# Use OPTIONS to add automount(8) command line options that
# will be used when the daemon is started.
#
#OPTIONS=""
#
For mounting NFS i.e. remote/network file-systems/folders - we can use the regular mounting i.e. /etc/fstab and mount command. However, that is kinda manual. We can mount NFS using AutoFS that will be automatic mount
We use AutoFS for LDAP clients to auto mount Users' home directories. We just configure, then the mounting happens automatically. You remember that getent passwd user-name mounted the remote users' home directory into local system. we used /etc/auto.master to tell that auto.guests will have the mounting configurations. then on /etc/auto.guests file - we configured that users' home directories will be mounted on /home/guests. you can check our notes on LDAP client configuration
979 cat /etc/auto.master
980 vim /etc/auto.master
we added the following line on /etc/auto.master
/etc/auto.guests /etc/auto.direct
it just tells that AutoFS will consult /etc/auto.guests file for direct mapping
984 vim /etc/auto.guests
we added the following line on /etc/auto.guests
/home/guests 192.168.1.15:/nfsrh
it just tells remote /nfsrh will be automatically mounted to /home/guests
you can try to restart autofs
989 systemctl restart autofs
Indirect Map
indirectly mounted points are only visible when accessed
automatically mounts shares under one common parent directory
each indirect map put only one entry in the mtab file
local and indirect maps cannot exist in the same parent directory
for indirect mapping - you use /etc/auto.misc file
On File Systems and Linux Commands (Redhat/CentOs/Fedora)
On File Systems and Linux Commands (Redhat/CentOs/Fedora)
echo "Dec 26th, 2017, Sayed Ahmed, Justetc Technologies"
On file Systems - Target Audience: Technical People. Software Developers and System/Network Administrators or DevOps (or wanna be)
/ and /boot are the default Linux file systems
you can also configure /home, /opt, /var, /tmp, /usr as separate file systems or can make these as part of the / file systems.
/ and /boot are mandatory
The advantages of having separate file systems (and/or partitions) for different purpose (/var, /usr) are: you can independently manage them, extend them or reduce them as required. Can implement restriction on users who can access which file system. do repair and maintenance activities separatel
Types of file systems: ext2, ext3, ext4, xfs (default for Redhat 7), btrfs, vfat, iso9660, BIOS Boot, EFI System Partitions, NFS, AutoFS, CIFS (Common Internet File Systems)
AutoFS: NFS based auto mount. You can use this for LDAP Client configuration. Check our LDAP Notes.
xfs_repair : repair xfs file system devices
813 File System Administration Commands
814 dumpe2fs
815 dumpe2fs /dev/sdb
816 lsblk
817 dumpe2fs /dev/sdb
818 dumpe2fs /dev/sdc1
819 dumpe2fs /dev/sda
820 e2fsck /dev/sdb
821 e2fsck /dev/sda
823 lsblk
824 mkfs.ext2 /dev/sdb
825 mkfs.ext2 /dev/sdc1
826 e2fsck /dev/sdc1
827 e2fsck is for ext2 file system. ext2 will be removed soon. ext2 is deprecated on RHEL 7.
828 fsck.ext2 /dev/sdc1
829 fsck.xfs /dev/sda
830 xfs_repair /dev/sda
831 dumpe2fs, e2fsck, e2label, mke2fs, resize2fs, tune2fs, mkfs.xfs, xfs_admin, xfs_growfs, xfs_info, xfs_repair, mkfs.vfat, blkid, df, du, findmnt, fuser, mount, umout - some file system related linux commands
835 man e2label
836 e2label - Change the label on an ext2/ext3/ext4 filesystem
837 SYNOPSIS
838 e2label device [ new-label ]
839 DESCRIPTION
840 e2label will display or change the filesystem label on the ext2, ext3, or ext4 filesystem located on device.
841 man mke2fs
mke2fs is used to create an ext2, ext3, or ext4 filesystem, usually in a disk partition. device is the special file corresponding to the device (e.g /dev/hdXX). blocks-count is the number of blocks on the device. If omitted, mke2fs automagically figures the file system size. If called as mkfs.ext3 a journal is created as if the -j option was specified.
man resize2fs
The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located
on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line
resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 and ext4.).
849 man tune2fs
tune2fs allows the system administrator to adjust various tunable filesystem parameters on Linux ext2, ext3, or ext4 filesystems. The cur‐rent values of these options can be displayed by using the -l option to tune2fs(8) program, or by using the dumpe2fs(8) program.
852 man mkfs.xfs
mkfs.xfs constructs an XFS filesystem by writing on a special file using the values found in the arguments of the command line. It is invoked automatically by mkfs(8) when it is given the -t xfs option.
855 man xfs_admin
xfs_admin uses the xfs_db(8) command to modify various parameters of a filesystem.
Devices that are mounted cannot be modified. Administrators must unmount filesystems before xfs_admin or xfs_db(8) can convert parameters.
A number of parameters of a mounted filesystem can be examined and modified using the xfs_growfs(8) command.
859 man xfs_growfs
xfs_growfs expands an existing XFS filesystem (see xfs(5)). The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be grown (see mount(8)). The existing contents of the filesystem are undisturbed, and the added space becomes available for additional file storage.
863 man xfs_info
xfs_info is equivalent to invoking xfs_growfs with the -n option (see discussion below).
865 man xfs_repair
xfs_repair repairs corrupt or damaged XFS filesystems (see xfs(5)). The filesystem is specified using the device argument which should be the device name of the disk partition or volume containing the filesystem. If given the name of a block device, xfs_repair will attempt to find the raw device associated with the specified block device and will use the raw device instead. Regardless, the filesystem to be repaired must be unmounted, otherwise, the resulting filesystem may be inconsistent or corrupt.
870 man mkfs.vfat
mkfs.fat is used to create an MS-DOS filesystem under Linux on a device (usually a disk partition). device is the special file correspond‐ing to the device (e.g /dev/hdXX). block-count is the number of blocks on the device. If omitted, mkfs.fat automatically determines the filesystem size.
874 man blkid
The blkid program is the command-line interface to working with the libblkid(3) library. It can determine the type of content (e.g. filesystem or swap) that a block device holds, and also the attributes (tokens, NAME=value pairs) from the content metadata (e.g. LABEL or UUID fields).
878 man df
df displays the amount of disk space available on the file system containing each file
name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.
882 df
883 du
884 man du
du - Summarize disk usage of each FILE, recursively for directories.
886 man findmnt
findmnt will list all mounted filesytems or search for a filesystem. The findmnt command is able to search in /etc/fstab, /etc/mtab or /proc/self/mountinfo. If device or mountpoint is not given, all filesystems are shown.
889 findmnt
890 man fuser
fuser displays the PIDs of processes using the specified files or file systems. In the default display mode, each file name is followed by a letter denoting the type of access:
c current directory.
e executable being run.
f open file. f is omitted in default display mode.
F open file for writing. F is omitted in default display mode.
r root directory.
m mmap'ed file or shared library.
899 man mount
mount command - All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the filesystem found on some device to the big file tree. Conversely, the umount(8) command will detach it again.
903 man umount
umount - The umount command detaches the file system(s) mentioned from the file hierarchy.
You can customize mount operation by giving some parameters and options such as async: allow async I/O operation, acl: to support ACL (facl: getfacl, setfacl), users: allow all users to mount exec:noexec: permit/deny execution of binary files, ro:read only suid/nosuid: allow/disallow setuid operation user/nouser: allow/disallow a normal user to mount the file system remount: remount an already existing filesystem,
_netdev: network connectivity is a must before mounting, owner: allow the file system owner to mount dev/nodev: allow/disallow device files on the file system, defaults: accept all defaults (async, auto, dev, exec, nouser, rw, suid), auto: support auto mounting when -a option is used for mount command
note: mount -a will mount all filesystems mentioned in /etc/fstab
umount -a : everything mentioned in fstab will be unmounted. provided auto was there for the mount operation. auto is default parameter for mount command
blkid : gives you UUID for partitions/file systems. you can use UUID in /etc/fstab - usually is a good practice. because if you use /dev/sda /dev/sdb in the /etc/fstab - that might not work always because that can change depending on what storage device to add or remove to the system.
909 blkid
910 xfs_admin -u
911 xfs_admin -u /dev/sda
912 xfs_admin -u /dev/sda1
913 xfs_admin -u /dev/sdc1
914 xfs_admin -u device/partition : will also give UUID for that partition
915 blkid /dev/sdb
916 blkid /dev/sdc1
917 blkid
918 you can also create a label for a partition/file-system and use that in the /etc/fstab file
919 xfs_admin -l /dev/sdc1
920 xfs_admin -l /dev/sda
921 lsblk
926 lsblk
927 df -h
to create a label: xfs_admin -L testpartition /dev/sdc1
929 xfs_admin -L testpartition /dev/sdc1
930 then you can use testpartition in the /etc/fstab file
xfs_admin : -l shows label, -L creates label
932 cat /etc/fstab
933 the default format in the /etc/fstab file
934 /dev/mapper/cl-root / xfs defaults 0 0
device mount-point file-system defaults/options-you-want(auto, rw, defaults, async) dump-or-not-for-dump-command scan-sequence-for-fsck
UUID and Label cab be used for the device/first parameter on /etc/fstab file
941 vim /etc/fstab
examples:
/dev/mapper/cl-root / xfs defaults 0 0
UUID=45213437-3dcf-4ee7-b6b7-26c37e2a82d7 /boot xfs defaults 0 0
/dev/mapper/cl-swap swap swap defaults 0 0
/dev/sdb1 /mnt ext2 defaults 0 0
947 df -h: disk free : check usage
948 df -h
partiton exercise
950 parted /dev/sdb mklabel msdos
951 parted /dev/sdb mkpart 1 101MB
952 parted /dev/sdb mkpart primary 1 101MB
953 parted /dev/sdb print
954 parted /dev/sdb mkpart primary 101 201MB
955 parted /dev/sdb print
956 mke2fs -t ext3 /dev/sdb2
957 mkfs.xfs /dev/sdb1
958 blkid
959 xfs_admin -L testlabel /dev/sdb1
960 vim /etc/fstab
961 mkdir -p /disks/sdb1
962 mount -a
963 vim /etc/fstab
964 mount -a
965 blkid
966 vim /etc/fstab
967 mount -a
968 umount -a
969 mount -a
970 cat /etc/fstab
971 example of using label on /etc/fstab
972 LABEL="testlabel" /disks/sdb1 xfs defaults 0 1
973 xfs_repair /dev/sdb1
974 umount /dev/sdb1
975 xfs_repair /dev/sdb1
976 xfs_repair : requires the file system to be unmounted
you can use nfs-utils to mount/unmount remote file systems
978 yum -y install nfs-utils
979 mkdir /disks/nfs-pc2
the format in the /etc/fstab file can be
981 192.168.10.15:/folder/fs-to-share-remotely /disks/nfs-pc2 nfs _netdev 0 0
check that I used: nfs as the file system
For options: I used _netdev because this is network devie and network connectivity is a must for this mounting operation
to mount cd-drive on redhat/centos/fedora
985 mount /dev/sr0 /mnt
df -h can show you the cdrom device. for me it was: /dev/sr0
987 df -h
you could use -t with mount command to give file system. However, for CD the default works fine
for NFS to mount using commands
mount -t nfs 192.168.1.15:/folder-or-fs-to-share-remotely /mount-point-on-our-system-like-/disks/nfs/pc2-share
you can also mount samba file system as well
Users and Groups management in Linux (Redhat/CentOS/Fedora)
Users and Groups management in Linux (Redhat/CentOS/Fedora)
Target Audience: Technical people who knew or already know (to some extent) - just wanna review
Yes, from my history
622 echo "dec 25th, 2017 - sayed"
User and password related files
623 cat /etc/passwd
624 cat /etc/shadow
625 cat /etc/group
626 cat /etc/gshadow
There are some backup files for them as well
629 cat /etc/passwd-
630 cat /etc/group-
631 cat /etc/shadow-
632 cat /etc/shadow-
633 cat /etc/gshadow-
try to understand the format of the passwd, shadow, and group files
passwd file format: userid: password - or password space holder:user id: group id: comments: user home directory: user shell
shadow file format: userid : encrypted password: password last changed in timestamp format: min days - min days the password must be ket before changing: max days - max days the current password can be kept: warn days - user will get warning to change password: inactive days - how many inactive days allowed: disable days - account expiry date: not used field - kept for future use
cat /etc/group
format for /etc/group file: group name: password place holder: group id: group members - comma seprated
cat /etc/gshadow
gshadow file format: group name: encrypted group password: group admins: group members
why group password? when we want to restrict users to assign them to the groups
cat /etc/login.defs
647 vim /etc/login.defs
648 /etc/login.defs : defines default values for users and groups - some of these values are used at the time of user and group creation and modifications - i.e. some values are taken from this file (when not specified at creation/modification time)
649 pwck checks for integrity among user/permission related files
650 pwck
651 grpck
653 vipw -> passwd file: lock for others and read-only for others. admins use this command
655 cat /etc/sudoers
656 users or groups can be defined in /etc/sudoers file who can run commands with su or sudo
657 vim /etc/sudoers
658 su user1 (switch user)
659 usermod -G wheel user1 (assign users to groups)
660 user1 is added to wheel group. wheel is a sudo group
661 su user1
Graphical user management tool:
662 system-config-users
663 managing groups
664 groupadd, groupmod, groupdel
665 groupadd -g 5000 linuxadm
666 groupadd -o -g 5000 sales
667 groupmod -n mgmt sales
668 groupmod -g 6000 linuxadm
669 usermod -a -G linuxadm user1
672 id user1
673 su user1
674 groupdel mgmt
675 gpasswd -> add admins to groups, group password assign/change, add users to groups and similar
676 gpasswd -A user1, user20new linuxadm
681 gpasswd -a user20new, user1 linuxadm
684 su user20new
Needed some adjustments for the user: user20new, it was locked, shell was assigned to /sbin/nologin
685 usermod -U user20new (unlock user)
686 gpasswd -a user20new, user1 linuxadm
687 grep user20new /etc/passwd
688 usermod -s /bin/sh user20new
689 gpasswd -a user20new, user1 linuxadm
690 grep user20new /etc/passwd
691 cat /etc/passwd
692 usermod -s /bin/bash user20new
693 su user20new
694 gpasswd -a user20new, user1 linuxadm
696 su - user20new
697 su user1
699 su -
713 vipw
714 ls /etc/passwd.edit
715 pwck
716 grpchk
717 grpck
719 vigr
720 vigr -s
//enable disable shadow files
721 pwconv
722 cat /etc/passwd
723 pwunconv
724 cat /etc/passwd
725 pwunconv : do not use shadow file : move passwords back to passwd file
726 pwconv
727 cat /etc/passwd
728 grpconv
729 grpunconv
730 cat /etc/gshadow
731 cat /etc/group
732 grpconv
733 cat /etc/gshadow
cat in the above lines was to check - if the changes wee done or not
734 user related commands: useradd, usermod, userdel, chage, passwd
735 cat /etc/default/useradd
736 cat /etc/login.defs
See defaults
738 useradd -D
739 change default user home directory location
740 useradd -D -b /usr/home
741 useradd -D
742 useradd -D -b /home
743 useradd -D
744 useradd -D -b /usr/home
745 grep ^# /etc/login.defs
746 grep -v ^# /etc/login.defs
747 grep -v ^# /etc/login.defs > show-lines-from-login.defs-that-does-not-start-with-#--comment lines will not be shown
748 grep -v ^# /etc/login.defs | grep -v ^$
749 grep -v ^# /etc/login.defs
750 grep -v ^# /etc/login.defs | grep -v ^$
751 useradd user2
752 mkdir -p /usr/home
753 useradd user2
754 useradd user20
755 passwd user20
756 cd /etc; grep user20 passwd shadow group gshadow
757 useradd -u 5000 -g 5000 -m -d /home/user30 -k /etc/skel -s /bin/bash user30
758 useradd -u 5000 -g 1000 -m -d /home/user30 -k /etc/skel -s /bin/bash user30
759 create user with no login: just point shells to no login
760 useradd -s /sbin/nologin user40
761 su - user40
762 su user40
changing: min days, max days, expiry, and password
763 passwd -n 7 -x 28 -w 8 user20
764 chage -l user20
765 chage -m 10 -M 30 -W 7 -E 2017-12-31 user30
766 chage -l user30
767 modifying users
768 usermod -u 2000 -m -d /home/user20new -s /sbin/nologin -l user20new user20
769 grep user20new /etc/passwd
770 chage -l user30
771 chage -l user20
772 chage -l user20new
773 chage -d 0 -m 5 -E -1 user30
774 chage -l user30
775 lock a user
776 usermod -L user20
777 usermod -L user20new
778 userdel -r user30
781 usermod -U user20new
782 su user1
784 usermod -U user20new
//assign users to groups
785 gpasswd -a user20new linuxadm
786 gpasswd -a user1 linuxadm
787 useradd user4
788 passwd user4
789 gpasswd -M user4 linuxadm
791 cat /etc/group
792 gpasswd -M : replace existing group members with the new user assigned
793 set group password
794 gpasswd linuxadm
795 groups
796 su user4
800 su user4
801 newgrp the user can execute this to change primary group
802 important shell startup files : /etc/bashrc /etc/profile /etc/profile.d
NTP related commands/Linux
598 echo "dec 24th, 2017"
599 echo "NTP Client"
600 yum list ntp
601 yum list installed |grep ntp
602 To activate ntp
603 yum -y install ntp system-config-date
604 cat /etc/ntp.conf
605 grep ^server /etc/ntp.conf
606 systemctl restart ntpd
607 systemctl enable ntpd
608 systemctl start ntpd
609 ntpq -p
612 nmtui
613 ip addr
619 system-config-date
620 system-config-authentication
Network Interface, Network Clients related Linux/Redhat/CentOS commands
echo "Dec 24th, 2017"
532 echo "Basic Networking in Linux"
533 hostname
534 uname -a
535 uname -n
536 cat /etc/hostname
537 nmcli general hostname
538 changing hostname temporarily
539 hostname server10.example.com
540 for permanent change
541 hostnamectl set-hostname server100.example.com
542 or change /etc/hostname file
543 vim /etc/hostname
544 restart systemctl
545 systemctl restart systemd-hostnamed
546 systemctl restart systemd-hostnamed.service
547 echo "IPV4 addresses"
548 ip addr
549 cat /etc/protocols
550 ip neighbor
551 yum install arp*
552 cat /etc/services
553 cat /etc/protocols
554 ip neighbor
555 interface configuration files
556 cat /etc/sysconfig/network-scripts/
557 ll /etc/sysconfig/network-scripts/
558 ll /etc/sysconfig/network-scripts/ifcfg-*
559 you can change parameters for the interface config files
560 ll /etc/sysconfig/network-scripts/ifcfg-ens33
561 cat /etc/sysconfig/network-scripts/ifcfg-ens33
562 name and IP conversion. /etc/hosts - DNS is the system to do this.
563 interface stop and start
564 ifdown ens33; ifup ens33
565 cat /etc/default/grub
566 it used to be eth0 eth1, now default is ens
567 you can change that using some config changes
568 ip
569 nm-connection-editor
570 nm-connection-editor is graphical nmtui is text based - not command line but text based interface
571 nmtui is command line based. nmtui is text-based interface based
572 nmcli
573 nmcli device show
574 nm-connection-editor
586 to set ipv4 address - one example
589 ip addr add 192.168.0.111/24 broadcast 192.168.0.255 dev ens33
590 ip addr
591 ip addr add 192.168.0.111/24 broadcast 192.168.0.255 dev eth1
592 ls
593 systemctl status NetworkManager
594 nmcli con show
595 nmcli dev status
596 exit
597 history
TCP Wrappers in Linux/CentOS/Redhat/Fedora
TCP Wrappers in Linux/CentOS/Redhat/Fedora
yum info tcp_wrappers
yum install tcp_wrappers-devel.x86_64
506 reboot
507 ifdown ens33
508 ifup ens33
509 yum install tcp_wrappers-devel.x86_64
510 yum -y install tcp_wrappers-devel.x86_64
511 ls /var/ftp/pub/Packages/
512 ls /etc/yum.repos.d/local.repo
513 vim /etc/yum.repos.d/local.repo
514 systemctl status vsftpd
515 systemctl start vsftpd
516 systemctl enable vsftpd
517 yum -y install tcp_wrappers-devel.x86_64
518 cat /etc/hosts.allow
519 cat /etc/hosts.deny
520 two config files as above. hosts.allow will be consulted first and then hosts.deny is consulted
521 the format of the file content: service: user@source pc
522 service examples: All, All Except, sshd, vsftpd, sshd. multiple services can be given in one line with commas
523 user@source pc examples can be: All, just an IP, 192.168.1.1 Local, subnet: 192.168.0.0/24, network address with except host like: 192.168.0 except 192.168.0.25. multiple host can be given - comma separated. user1@192.168.1.1
524 the above content will serve the purpose of the file. if the content is found on the allow file - that services and user and pc will be allowed. if the content is written in the .deny file - corresponding user, service, pc will be denied
525 exit
526 history
SSH/SSHD/OpenSSH in CentOS/Redhat Linux
Experiment with SSH/SSHD/OpenSSH in CentOS/Redhat Linux
Yes, from my history (Probably a review for the technical people, who already knew these sometimes in the past)
461 echo "dec 24th, 2017"
462 vim /etc/ssh/sshd_config
463 echo "SSH Related Commands"
464 scp -> secure copy
465 tscp -> secure copy for windows
466 sftp -> secure ftp
467 slogin -> secure login - alternative to rlogin
468 ssh -> provides secure telnet, secure rlogin
469 ssh-add -> provides DSA/ECDSA/RSA characteristics to ssh-agent
470 ssh-agent
471 ssh-agent output
472 SSH_AUTH_SOCK=/tmp/ssh-DQP6FzPIZvG7/agent.3903; export SSH_AUTH_SOCK;
473 SSH_AGENT_PID=3904; export SSH_AGENT_PID;
474 echo Agent pid 3904;
475 ssh-copy-id -> copy keys to remote system (manual copy is also an option, you can use scp as well)
476 ssh-keygen: generates public and private key
477 SSH components: the server with the SSH daemon. The client with scp, sftp, slogin, ssh, ssh-copy-id. and the openssh packgae itself to provide ssh-ketgen and different modules and libraries.
478 ssh-agent : authentication agent that also holds private keys
479 cat /etc/ssh/sshd_config > system wide ssh config file
480 cat /etc/ssh/sshd_config
481 cat /etc/ssh/ssh_config
482 vim /etc/ssh/ssh_config
483 vim /etc/ssh/sshd_config
484 cat /etc/sysconfig/sshd
485 cat /etc/sysconfig/sshd -> server configuration file
486 cat /var/log/secure
487 cat /var/log/secure -> related messages
488 cat /etc/passwd
489 useradd user1
490 passwd user1
491 su user1
492 useradd user100
493 passwd user100
494 su user100
496 ipaddr
497 ip addr
498 nmtui
499 ip addr
500 su user1
501 exit
502 history > ssh_history.txt
503 history
after switching to user100
ssh 192.168.12.45
4 ssh 192.168.12.45 /bin/ls -la
exit
cd ~
14 touch file1
15 scp file1 192.168.12.45:/home/user100
16 sftp 192.168.12.45
Linux: LVM : Logical Volume Manager : Multiple Hard Disk and Partition and Volume Management
On RedHat/Centos Linux - LVM experiments
Concepts to understand:
Physical Volume: Physical Hard Drive or Partitions in Physical Hard Drive
Physical Extent: One unit of space usually 4 MB.
Volume Group: One or multiple Physical Volumes can be assigned to a Volume Group
Logical Volume: Logical volumes are created from the volume groups. This is the volume that users interact with. You mount Logical Volume to work with a logical hard drive space (not partition though similar)
Linux Commands to Know:
pvcreate : create a physical volume. Initialize a physical drive or partition for LVM
vgcreate: create volume group. Parameters: hard drive or partitions
lvcreate: create logical volume from volume group
lvextend: extend a logical volume
lvresize, lvreduce: to resize or to reduce logical volume
lvremove: to remove a logical volume
Some experiment:
I added some hard drives using VMWARE.
lsblk
pvcreate /dev/sdb /dev/sdc
vgcreate vg001 /dev/sdb /dev/sdc
lvcreate -L 500M vg001
lsblk
lvcreate -l 100 vg001
lsblk
pvs
pvdisplay
pvdisplay -v
vgcreate -s 8m /dev/sde
lsblk
vgcreate vg002 -s 8m /dev/sdd
pv
pvs
pvdisplay
lvcreate -L 1G vg002
lsblk
lvextend lv001 +100M
lvextend vg001-lvol0 +100M
lvextend /dev/sdb/vg001-lvol0 +100M
lsblk
lvrename vg01 lvol0 lvolnew
lvrename vg001 lvol0 lvolnew
lsblk
lvextend vg001 lvolnew +100M
lvreduce -L 100m /dev/vg001/lvolnew
lsblk
lvreduce -L 300m /dev/vg001/lvolnew
lvreduce -L 50m /dev/vg001/lvolnew
lvresize -L 700m /dev/vg001/lvolnew
lsblk
lvextend vg001 lvolnew +100M
lvextend /dev/vg001/lvolnew +100M
lvextend -L 100m /dev/vg001/lvolnew
lvextend +100m /dev/vg001/lvolnew
lvextend -L 200 /dev/vg001/lvolnew
lvextend -L 200m /dev/vg001/lvolnew
lvextend -l 200 /dev/vg001/lvolnew
lsblk
lvextend -l 210 /dev/vg001/lvolnew
lsblk
lvextend vg001 lvolnew +100M
history
history > history.txt
Centos/Redhat লিনাক্স এ yum ইন্সটলার সার্ভার কিভাবে কনফিগার করবেন
Centos/Redhat লিনাক্স এ yum ইন্সটলার সার্ভার কিভাবে কনফিগার করবেন
Mount Installer ISO
mkdir /mnt/dvd1
mount /dev/sr0 /mnt/dvd1
Check if FTP server is installed
systemctl status vsftpd
systemctl start vsftpd
Install ftp Server. Using rpm as yum is not available yet [default yum needs the internet, kindof]
cd /mnt/dvd1/Packages/
rpm -ivh vsftpd-3.0.2-22.el7.x86_64.rpm
systemctl start vsftpd
systemctl enable vsftpd
Copy rpm installer packages to the FTP server under Packages folder
cp -rv /mnt/dvd1/Packages /var/ftp/pub/
Also, copy the key file for Yum. Key file is to verify the integrity of the packages
cp -rv /mnt/dvd1/RPM-GPG-KEY-CentOS-7 /var/ftp/pub/
mv /var/ftp/pub/RPM-GPG-KEY-CentOS-7 /var/ftp/pub/key
Install Createrepo using rpm -ivh; create repo will help to create package rep database based on the packages on the FTP server
rpm -ivh createrepo-0.9.9-28.el7.noarch.rpm
Create the repp config file on yum server
cd /etc/yum.repos.d/
mkdir old
mv *.repo old/
vim ftp.repo
ftp.repo file content
[ftp]
name=ftp
baseurl=ftp://yumserver/pub/Packages
enabled=1
gpgcheck=1
one line for pointing to the GPG key file - if you want to configure for key based verification
Allow ftp over firewall
firewall-cmd --add-service=ftp --perm
systemctl reload firewalld
systemctl restart firewalld
Again Checking if yum works locally on the server
yum repolist all
yum repolist
yum repolist enabled
yum -y install tree
yum clean
yum clean cache
yum -y install tree
yum repolist enabled
yum repolist
Create Installer Repository Data
cd /var/ftp/pub/Packages/
createrepo .
Configure name for the server
hostnamectl set-hostname yumserver
vim /etc/hosts
192.168.1.100 yumserver
192.168.1.200 yumclient
ip addr
ip addr ens33
use nmtui command or ifconfig to set the IP of the server [when required]
you might want to restart the interface
ifdown ens33; ifup ens33
ping yumserver
ping yumclient
before pinging you might want to see if the ping package is installed and if it is blocked or not
Check if yum server works or not
yum install tree
yum -y install lynx
Configure a Client to use your FTP based yum server
Copy the ftp.repo
scp /etc/yum.repos.d/ftp.repo root@yumclient:/etc/yum.repos.d/
For Windows:
tscp /etc/yum.repos.d/ftp.repo root@yumclient:/etc/yum.repos.d/
Check if the client can access your yum server
yum install tree
yum -y install lynx
In Bengali: Some Educational Android Apps on Software/Web Development
Some are in Bengali
Project Management
https://play.google.com/store/apps/details?id=com.sitestree.pmp
On CSS
https://play.google.com/store/apps/details?id=com.sitestree.css
On JavaScript
https://play.google.com/store/apps/details?id=com.sitestree.javascript
On PHP
https://play.google.com/store/apps/details?id=com.sitestree.php
On SEO course
https://play.google.com/store/apps/details?id=com.sitestree.seo
SQL Course
https://play.google.com/store/apps/details?id=com.sitestree.sql
Oral Communications
https://play.google.com/store/apps/details?id=com.justetc.oral_communications.workplace
AngularJS
https://play.google.com/store/apps/details?id=com.salearningschool.bangla.angularjs1
HTML
https://play.google.com/store/apps/details?id=com.salearningschool.bangla.html
lecture 02 object oriented programming in PHP 5
object oriented programming in php 5
Global Market News Fwd: 5 things to start your day
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
And here’s what you need to know in global technology news
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Market News
From Bloomberg Market
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Technology News for Today
|
Sayed Ahmed
Founder & CEO, Justetc Technologies
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Market News. Fwd: 5 things to start your day from Bloomberg
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
From Bloomberg Technology: Global Technology News Today Fwd: Dream on
From Bloomberg Technology: Global Technology News Today Fwd: Dream on
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
আন্তর্জাতিক ফাইন্যান্স সংবাদ। Global Market/Finance News F wd: 5 things to start your day
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Market News Today Fwd: 5 things to start your day
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
And here’s what else you need to know in global technology news
From Bloomberg Technology News for Today
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Market News from Bloomberg Fwd: 5 things to start your day
|
From Bloomberg Technology News
From Bloomberg Technology News
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
আজকের আন্তর্জাতিক টেকনোলজি সংবাদ :Global Technology News for Today
আজকের আন্তর্জাতিক টেকনোলজি সংবাদ :Global Technology News for Today
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Market/Finance News: It might become a crazy up day : 5 things to start your day
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
আজকের আন্তর্জাতিক ফাইন্যান্স সংবাদ। Global Fin ancial News Today: 5 things to start your day
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Technology News Today
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Here’s what you should read today
Here's what you should read today |
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Financial Market News : 5 things to start your day
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
আন্তর্জাতিক ফাইনান্স সংবাদ। Global Finance/Stock Market News: 5 things to start your day
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
And here’s what you need to know in global technology news
And here’s what you need to know in global technology news
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Technology and Market News as Developing
Technology and Market News as Developing
Chinese Firm Buys CN Tower Builder Aecon for $930 Million
Alphabet Now Trading at Over $1,000 a Share, All-Time High
https://www.bloomberg.com/news/articles/2017-10-26/alphabet-third-quarter-earnings-beat-estimates
The Race for a Major Tax Overhaul Is On. Here’s One Big Obstacle
Venture Capital Funding for Canadian Tech Hits 8-Quarter High
Instead of Cutting Corporate Taxes, Solve Actual Problems
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Global Finance/Stock Market News Today : 5 things to start your day
Finance/Stock Market News Today : 5 things to start your day
|
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Technology News for Today
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
আজকের আন্তর্জাতিক ফাইনান্স সংবাদ । Global Financia l Market News Today
|
Sayed Ahmed
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
And here’s what you need to know in global technology news:
|
5 things to start your day : Bloomberg Market News
From: Bloomberg Market
|
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Technology News to Read Today
|
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
অ্যানড্রইড অ্যাপঃ পি এম পি (PMP) – প্রকল্প ব্যবস্থাপনা (Project management)
Download and install from
https://play.google.com/store/apps/details?id=com.sitestree.pmp
This is an effort to provide free Lessons on PMP - Project Management
Content:
Short Notes on PMP Project Management Topics - Step by Step
PMP Exam Resources
PMP Quiz and Practice Exams will be added
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible. Will improve as we go...
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
কানাডিয়ান প্রকল্প সুযোগ। জয় করতে চেষ্টা করুন
6 Open Opportunities | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Here’s what you need to know in global technology news:
|
কানাডিয়ান প্রকল্প সুযোগ। জয় করতে চেষ্টা করুন
Published | Closing | Reg. Of Delivery | Title, Organization Name and Category | |||
1 | 19/10/2017 | 02/11/2017 | National Capital Region | Senior Project Schedulers Elections Canada Information Processing and Related Telecommunications Services |
||
2 | 19/10/2017 | 10/11/2017 | Alberta | Network Storage and Backup Server Replacement Alberta Public Sector Research and Development (R&D) |
||
3 | 19/10/2017 | 15/11/2017 | Alberta | ServiceNow Implementation Services Alberta Public Sector Information Processing and Related Telecommunications Services |
||
4 | 18/10/2017 | 22/11/2017 | Ontario | INTERNET-TELEPHONE VOTING SYSTEM The Town of Cochrane Information Processing and Related Telecommunications Services |
Order | |
5 | 18/10/2017 | 09/11/2017 | National Capital Region | Tester, level 3 (1000195045) Public Health Agency of Canada Information Processing and Related Telecommunications Services |
Order | |
6 | 18/10/2017 | 06/11/2017 | National Capital Region | TBIPS – A.7 Programmer / Analyst (C++ Developer) – Level 2 (IC186426) Innovation, Science and Economic Development Canada Information Processing and Related Telecommunications Services |
Order | |
7 | 18/10/2017 | 27/11/2017 | National Capital Region | D302A ADP SYSTEM DEVELOPMENT SERVICES (18-135786) Global Affairs Canada Information Processing and Related Telecommunications Services |
Order | |
8 | 18/10/2017 | 01/11/2017 | National Capital Region | Senior Project Manager (G7-1000000750) Global Affairs Canada Information Processing and Related Telecommunications Services |
||
9 | 18/10/2017 | 02/11/2017 | National Capital Region | Notice of Proposed Procurement - Supply Arrangement for Task-Based Informatics Professional Services Global Affairs Canada Information Processing and Related Telecommunications Services |
||
10 | 18/10/2017 | 02/11/2017 | National Capital Region | Platform Analyst (R0000016156) Shared Services Canada Information Processing and Related Telecommunications Services
Reference: http://www.merx.com/ |
Readings for the day
Readings for the day
- China’s great ball of money may be headed back to equities.
- Conservatives are campaigning against Yellen’s reappointment as Fed Chair...
- … As bond market’s ‘ Taylor put’ signals traders on edge over Fed pick.
- Britain’s $86 billion pension problem is about to solve itself.
- What analysts are saying about the sudden plunge in Hong Kong stocks.
- Oh, and analysts really, really want to be liked.
- Yes, it pays to be nice.
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Serverless Web Application
Serverless Web Application
"
Serverless computing allows you to build and run applications and services without thinking about servers. With serverless computing, your application still runs on servers, but all the server management is done by AWS. Using AWS and its Serverless Platform, you can build and deploy applications on cost-effective services that provide built-in application availability and flexible scaling capabilities. This lets you focus on your application code instead of worrying about provisioning, configuring, and managing servers.
"
Reference:
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Android App: have your own ecommerce store
Download and install from
https://play.google.com/store/apps/details?id=com.shopforsoul
Using this Android App, you can create your own ecommerce store. Just use the Marketplace link to create your store.
You will also be able to purchase products from us and from our other partner sellers.
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible. Will improve as we go...
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: Buy Visitors for Your Web-Site/Web-App/eCommerce site
Download and install from
https://play.google.com/store/apps/details?id=com.visitorsshop.customer
Using this Android App, you can buy visitors from us. As well as, you will be able to manage your account with us
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible. Will improve as we go...
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: Justetc.com Corporate Info
Download and install from
https://play.google.com/store/apps/details?id=com.justetc.template
The application has embedded web-pages from justetc.com inside the application
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible. Will improve as we go...
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: এইচ টি এম এল শিক্ষা – HTML Training in Bengali
Download and install from
https://play.google.com/store/apps/details?id=com.salearningschool.bangla.angularjs1
This is an effort to provide free Lessons on HTML (HTML 5) in the Bengali Language.
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible. Will improve as we go...
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: অ্যানগুলার জে এস কোর্স সমূহ । AngularJS in Bangla
Download and install from
https://play.google.com/store/apps/details?id=com.salearningschool.bangla.angularjs1
This is an effort to provide free Lessons on Angular in the Bengali Language.
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible as it just loads the URL of the web-app.
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: Training and Education in English
Download and install from
https://play.google.com/store/apps/details?id=com.justetc.sayedahmed.sitestree1
This is an effort to provide free education in English language. We also want to bridge the gap between academia and industry.
Some of the topics: Software, Web, Mobile, Database, BI, Big-Data, Cloud, Telecom, Security
http://Bangla.SaLearningSchool.com: is an effort to provide free education primarily in Bengali (Bangla) language. We also want to bridge the gap between academia and industry.
We want to explore any topics possible.
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada. This is the simplest Android App possible as it just loads the URL of the web-app.
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: Training and Education in Bengali Language
Download and install from
https://play.google.com/store/apps/details?id=com.salearningschool.bangla
This is an effort to provide free education esp. in Bengali (Bangla) language. We also want to bridge the gap between academia and industry.
উন্মুক্ত শিক্ষার আসরঃ Software, Web, Mobile, Database, BI, Big-Data, Cloud, Telecom, Security
http://Bangla.SaLearningSchool.com: is an effort to provide free education primarily in Bengali (Bangla) language. We also want to bridge the gap between academia and industry.
The Android App was built by Justetc (Just Et Cetera) Technologies, Canada.
Need an Android App (or any other Software/Web/Mobile/Database Application) of any complexity - feel free to contact
Android App: BUET Night – 2017, Canada
Download and install from
https://play.google.com/store/apps/details?id=ca.buetalumni
BUET Alumni Association Canada (BAAC) represents Engineers in Canada from BUET, Bangladesh.
The Android App is built for accessing the BAAC web-site and to buy tickets for the event: BUET Night - 2017 on Nov 11th, 2017
The payment integration and implementation on the app and on the web-site was done by Justetc (Just Et Cetera) Technologies, Canada
Need an App of any complexity - feel free to contact
Use custom email server for Magento based ecommerce shops
Use custom email server for Magento based ecommerce shops
You will need to change code on the file : app/code/core/Mage/Core/Model/Email/Template.php
Comment out the existing
getMail() method.
And replace the method with the following code.
Remember: changing the core Magento code is not the greatest idea as upgrade of Magento will eventually become a big issue at a later time (if you keep doing this).
You can consider this as a quick test if you can make external mail server working with magento. However, ideally you need to take a better approach.
public function getMail() { if (is_null($this->_mail)) { /*Start of added code to specify config*/ $my_smtp_host = Mage::getStoreConfig('system/smtp/host'); $my_smtp_port = Mage::getStoreConfig('system/smtp/port'); $config = array( 'ssl' => 'tls', 'port' => $my_smtp_port, 'auth' => 'login', 'username' => 'account@gmail.com', 'password' => 'secret' ); $transport = new Zend_Mail_Transport_Smtp($my_smtp_host, $config); Zend_Mail::setDefaultTransport($transport); /*End of added code to specify config*/ $this->_mail = new Zend_Mail('utf-8'); } return $this->_mail; }
https://stackoverflow.com/questions/11558156/magento-how-enable-smtp-server-authentication-and-secure-transport
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Top Data Science and Analytics Programs in Canada | Best Big Data Analytics Courses in Canada
Top Data Science and Analytics Programs in Canada | Best Big Data Analytics Courses in Canada
Graduate Programs in Data Science – University of Waterloo
Master of Data Science – University of British Columbia
M.Sc. in Computing & Data Analytics – Saint Mary’s University
Master’s in Big Data – Simon Fraser University
Masters in Data Science and Analytics – Ryerson University
MSc in Applied Computing – University of Toronto
Master of Management Analytics - Queen's University
Master of Business Analytics - York University
MS Computing Science with Big Data Analytics / MS Computing Science with Machine Learning - University of Alberta
MSC IN MANAGEMENT: Business Analytics - University of Western Ontario
Data Science - McGill University / Information Studies - McGill University / Computer Science - McGill University
Data Science Specialization - Carleton University (Alternative Link)
Big Data Management and Analytics - University of Ottawa
MS Information Systems - Athabasca University
Information Security and Data Management - University of Calgary
Computer Science with Database Systems and Data Mining - University of Windsor
Computer Science with Data Management, Analytics, and Mining - University of New Brunswick
Big Data Analytics M.Sc.: Applied Modelling and Quantitative Methods - Trent University
Computer Science with Data Mining - University of Regina
MS Computer Science with Research in Data Science - Acadia University
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
The Story of a Change Request Form
"
I always say that, “change is the only constant”. And this is true in any situation, specially for projects. Changes come every now & then, from different situations. Few known reasons for changes in a project are as follows.
- Budget overshot
- Missing deadline
- Increased Scope
- Resource shortage
- Risk popup
- Management direction etc.
"
Reference:
https://parvejislam.wordpress.com/2017/10/18/the-story-of-a-change-request-form
এক দিন পরই সূচক বেড়েছে পুঁজিবাজারে
"
লেনদেন শেষে সূচক সামান্য বেড়েছে দেশের প্রধান শেয়ারবাজার ঢাকা স্টক এক্সচেঞ্জে (ডিএসই)। আজ সোমবার সপ্তাহের দ্বিতীয় কার্যদিবসে লেনদেন কমেছে ডিএসইতে। অন্যদিকে, সূচক বেড়েছে চট্টগ্রাম স্টক এক্সচেঞ্জেও (সিএসই)।
গতকাল রোববার সপ্তাহের প্রথম কার্যদিবসে লেনদেন শেষে সূচক কমে দুই পুঁজিবাজারে। ডিএসইর প্রধান সূচক ডিএসইএক্স ৫৫ পয়েন্ট বা প্রায় ১ শতাংশ কমে। অপর শেয়ারবাজার সিএসইর সার্বিক সূচকটিও গতকাল এক দিনে ১৯০ পয়েন্ট বা ১ শতাংশ কমে। গতকালের দরপতনে ছিল ব্যাংক খাতের বড় ভূমিকা। লেনদেন হওয়া বেশির ভাগ ব্যাংকের শেয়ারের দাম কমায় তা দিন শেষে সূচকে নেতিবাচক প্রভাব ফেলে।
"
Sayed Ahmed
647-624-8509, sayedum
Linkedin: https://ca.linkedin.com/in/sayedjustetc
Blog: http://sitestree.com, http://bangla.salearningschool.com
Even after North Korea threats, the market is moving up
Even after North Korea threats, the market is moving up. The market is mostly moving up for couple of days.
Ticker |
$ Current
Price |
$ Change |
% Change
|
$ Target
Sell |
$ Target
Buy |
Shares
Held |
$ Market
Value |
%
Weight |
News |
Analysis
Report |
Morningstar
Rating For Funds |
Morningstar
Rating For Stocks |
---|
24.82
|
0.11
|
0.45
|
---
|
---
|
24.82
|
|||||||
44.85
|
0.11
|
0.25
|
---
|
---
|
44.85
|
|||||||
40.20
|
0.08
|
0.20
|
---
|
---
|
40.20
|
|||||||
33.49
|
0.08
|
0.24
|
---
|
---
|
33.49
|
|||||||
23.52
|
0.07
|
0.30
|
---
|
---
|
23.52
|
|||||||
25.06
|
0.05
|
0.20
|
---
|
---
|
25.06
|
|||||||
21.14
|
0.05
|
0.24
|
---
|
---
|
21.14
|
|||||||
32.03
|
0.04
|
0.13
|
---
|
---
|
32.03
|
|||||||
25.11
|
0.02
|
0.08
|
---
|
---
|
25.11
|
|||||||
20.17
|
0.02
|
0.10
|
---
|
---
|
20.17
|
|||||||
16.24
|
0.01
|
0.06
|
---
|
---
|
16.24
|
|||||||
27.54
|
0.01
|
0.04
|
---
|
---
|
27.54
|
|||||||
14.40
|
0.01
|
0.07
|
---
|
---
|
14.40
|
|||||||
30.07
|
-0.02
|
-0.07
|
---
|
---
|
30.07
|
|||||||
23.67
|
-0.03
|
-0.13
|
---
|
---
|
23.67
|
|||||||
27.28
|
-0.11
|
-0.40
|
---
|
---
|
27.28
|
|||||||