<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Summaiya Mustafa on Medium]]></title>
        <description><![CDATA[Stories by Summaiya Mustafa on Medium]]></description>
        <link>https://medium.com/@summaiya.mustafa786?source=rss-5565fe73d7d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cMlIqr6fdStkUx-P</url>
            <title>Stories by Summaiya Mustafa on Medium</title>
            <link>https://medium.com/@summaiya.mustafa786?source=rss-5565fe73d7d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 18:27:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@summaiya.mustafa786/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lab 2 — Ansible-Based Web Server Deployment using Nginx on CentOS]]></title>
            <link>https://medium.com/@summaiya.mustafa786/lab-2-ansible-based-web-server-deployment-using-nginx-on-centos-7ab97dba76d7?source=rss-5565fe73d7d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ab97dba76d7</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[centos]]></category>
            <category><![CDATA[configuration-management]]></category>
            <dc:creator><![CDATA[Summaiya Mustafa]]></dc:creator>
            <pubDate>Sun, 17 May 2026 19:22:20 GMT</pubDate>
            <atom:updated>2026-05-17T19:22:20.971Z</atom:updated>
            <content:encoded><![CDATA[<h3>GOAL</h3><ul><li>Download website template on controller</li><li>Extract it</li><li>Push directly to worker node/target mahines</li><li>Serve using Nginx</li><li>Access from browser</li></ul><h3>🧩 STEP 1: Create new directory (Controller)</h3><pre>cd /Projects/</pre><h3>🧩 STEP 2: Download any website template (ZIP)</h3><pre>wget https://www.free-css.com/assets/files/free-css-templates/download/page296/space-science.zip</pre><h3>🧩 STEP 3: Extract ZIP file</h3><pre>unzip space-science.zip -d website</pre><p>Now website is ready at:</p><pre>/Projects/website</pre><h3>🧩 STEP 4: Install &amp; prepare Nginx on all worker nodes</h3><pre>ansible all -m yum -a &quot;name=nginx state=present&quot; --become</pre><p>Start and enable service:</p><pre>ansible all -m command -a &quot;systemctl enable nginx&quot; --become<br>ansible all -m command -a &quot;systemctl start nginx&quot; --become</pre><h3>🧩 STEP 6: Copy website directly to Nginx root</h3><pre>ansible all -m copy -a &quot;src=/Projects/website/ dest=/usr/share/nginx/html/ owner=root group=root mode=0755&quot; --become</pre><h3>🧩 STEP 7: Restart Nginx</h3><pre>ansible all -m command -a &quot;systemctl restart nginx&quot; --become</pre><h3>🌐 STEP 8: Access website</h3><p>Open browser:</p><pre>http://&lt;worker-ip&gt;</pre><p>Example:</p><pre>http://192.168.182.129</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSPwxEyOW8L3VCsrVYhxnQ.jpeg" /></figure><h3>🎯 FINAL RESULT</h3><p>You will see:<br> ✔ Your downloaded website<br> ✔ Hosted on worker node<br> ✔ Served by <strong>Nginx</strong><br> ✔ Deployed using <strong>Ansible</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ab97dba76d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lab 1 — Ansible Ping Module]]></title>
            <link>https://medium.com/@summaiya.mustafa786/lab-1-ansible-ping-module-f5fabd395ee2?source=rss-5565fe73d7d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5fabd395ee2</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[ping]]></category>
            <dc:creator><![CDATA[Summaiya Mustafa]]></dc:creator>
            <pubDate>Thu, 14 May 2026 19:20:03 GMT</pubDate>
            <atom:updated>2026-05-17T16:49:23.328Z</atom:updated>
            <content:encoded><![CDATA[<h3>Objective</h3><p>Ping two worker VMs (worker1 and worker2) from the Master VM (Ansible Controller) using the Ansible ping module.</p><p>For this task, three VMs are required:</p><ul><li>1 Master/Controller VM</li><li>2 Worker VMs (worker1 and worker2)</li></ul><p>Ensure that the SSH service is installed, enabled, and running on both worker VMs before proceeding with the Ansible configuration.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><strong>Step 1 — Install Ansible on Master VM</strong></p><p>Login to<strong> Master</strong> VM and install <strong>Ansible</strong>.</p><p>For CentOS/RHEL:</p><pre>sudo dnf install ansible -y</pre><p>Verify installation:</p><pre>ansible --version</pre><p><strong>Step 2 — Check Connectivity Between VMs</strong></p><p>Verify that all VMs can ping each other.</p><pre>From Master VM:<br><br>ping &lt;worker1-ip&gt;<br>ping &lt;worker2-ip&gt;<br><br>Example:<br><br>ping 192.168.182.129<br>ping 192.168.182.130</pre><p><strong>Step 3 — Create SSH Key on Master VM</strong></p><p>Generate SSH key pair on master/controller VM.</p><pre>ssh-keygen</pre><p>SSH keys will be created inside:</p><pre>~/.ssh/id_rsa<br>~/.ssh/id_rsa.pub</pre><p><strong>Step 4 — Copy SSH Key to Worker Nodes</strong></p><p>Copy public key to both worker VMs.</p><pre>ssh-copy-id octopus@192.168.182.129<br>ssh-copy-id octopus@192.168.182.130</pre><p>Replace octopus with your VM username if different.</p><p>Verify passwordless SSH:</p><pre>ssh octopus@192.168.182.129<br>ssh octopus@192.168.182.130</pre><h3>Configure SSH on Worker Nodes</h3><p>Do this on both worker VMs.</p><p>Edit SSH daemon configuration:</p><pre>sudo vi /etc/ssh/sshd_config</pre><p>Ensure these settings are enabled:</p><pre>PermitRootLogin yes<br>PubkeyAuthentication yes<br>PasswordAuthentication yes</pre><p>Then restart SSH service:</p><pre>sudo systemctl restart sshd</pre><p>Verify service status:</p><pre>sudo systemctl status sshd</pre><p>Step 5 — Configure Ansible Inventory File</p><p>Edit inventory file:</p><pre>sudo vi /etc/ansible/hosts</pre><p>Add worker node IPs:</p><pre>[web]<br>192.168.182.129<br><br>[app]<br>192.168.182.130</pre><p><strong>Step 6 — Ping All Worker Nodes</strong></p><p>Run Ansible ping command:</p><pre>ansible all -m ping</pre><p>Expected Output:</p><pre>192.168.182.129 | SUCCESS =&gt; {<br> &quot;ping&quot;: &quot;pong&quot;<br>}<br>192.168.182.130 | SUCCESS =&gt; {<br> &quot;ping&quot;: &quot;pong&quot;<br>}</pre><p><strong>Step 7 — Ping Specific Group</strong></p><p>Ping only web or app group:</p><pre>ansible web -m ping<br>ansible app -m ping</pre><p><strong>Step 8 — Create Group of Groups</strong></p><p>Edit inventory file again:</p><p>sudo vi /etc/ansible/hosts</p><p>Add child groups:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*chv10uHiq3aPfbw-5sY8qQ.png" /></figure><pre>[web]<br>192.168.182.129<br><br>[app]<br>192.168.182.130<br><br>[production:children]<br>web<br><br>[testing:children]<br>app<br><br>[deploy:children]<br>web<br>app</pre><p><strong>Step 9 — Ping Using Child Groups</strong></p><p>Ping groups:</p><pre>ansible production -m ping //Ping productiongroup<br>ansible testing -m ping //Ping testing group<br>ansible deploy -m ping //Ping deploy group:</pre><p><strong>Step 10 — Ping Using VM Hostname</strong></p><p>Edit /etc/hosts file on Master VM:</p><pre>sudo vi /etc/hosts</pre><p>Add IP and hostname entries:</p><pre>192.168.182.129 worker1<br>192.168.182.130 worker2</pre><p>Now verify hostname resolution:</p><pre>ping worker1<br>ping worker2</pre><p><strong>Step 11 — Add Hostnames in Ansible Inventory</strong></p><p>Edit inventory:</p><pre>sudo vi /etc/ansible/hosts</pre><p>Replace IPs with hostnames:</p><pre>[web]<br>worker1<br><br>[app]<br>worker2<br><br>[production:children]<br>web<br><br>[testing:children]<br>app<br><br>[deploy:children]<br>web<br>app</pre><p><strong>Step 12 — Ping Using Hostnames</strong></p><pre>ansible all -m ping</pre><p>Expected output:</p><pre>worker1 | SUCCESS =&gt; {<br> &quot;ping&quot;: &quot;pong&quot;<br>}<br>worker2 | SUCCESS =&gt; {<br> &quot;ping&quot;: &quot;pong&quot;<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5fabd395ee2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[English Speech emotion recognition using CNN]]></title>
            <link>https://medium.com/@summaiya.mustafa786/english-speech-emotion-recognition-using-cnn-91791961e2b3?source=rss-5565fe73d7d------2</link>
            <guid isPermaLink="false">https://medium.com/p/91791961e2b3</guid>
            <category><![CDATA[ser-cnn]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cnn-model]]></category>
            <category><![CDATA[spch-emotion-recognition]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <dc:creator><![CDATA[Summaiya Mustafa]]></dc:creator>
            <pubDate>Tue, 19 Mar 2024 04:53:19 GMT</pubDate>
            <atom:updated>2024-03-19T04:53:19.062Z</atom:updated>
            <content:encoded><![CDATA[<p>For speech emotion recognition there is a large amount of data already available online. I have experimented CNN model with 2 datasets and also with 4 datasets to check the accuracy of the model. below is the description of the code I have used, I&#39;ll also provide the<a href="https://www.kaggle.com/code/summaiyamustafa/eng-cnn-ser-4datasets/settings"> link to the code</a> which will redirect you toward the <a href="https://www.kaggle.com/code/summaiyamustafa/eng-cnn-ser-4datasets/settings">notebook.</a> Try and test the code and all the suggestions would be highly appreciated.</p><p>Speech emotion recognition using 2 datasets which are Revdess and Tess.</p><p><a href="https://www.kaggle.com/code/summaiyamustafa/eng-cnn-ser-4datasets/settings">Speech emotion recognition using 4 datasets Revdess, Tess,Save, CREMA-D, and SAVEE</a></p><p>If you want to use the trained model and fine-tune it further, feel free to download it from the output section. you can also integrate the trained model into your web application or mobile application.</p><p>Below is a detailed breakdown of the code:</p><ol><li><strong>Importing Libraries: </strong>The script begins by importing necessary libraries such as pandas, numpy, librosa, sklearn, keras, and matplotlib for data manipulation, audio processing, machine learning model building, and visualization.</li><li><strong>Data Loading and Preprocessing:</strong> The code loads audio data from multiple datasets (Ravdess, Crema, TESS, SAVEE), extracts emotion labels, and stores the data paths along with their corresponding emotions.</li><li><strong>Feature Extraction: </strong>Various audio features are extracted from the audio files using techniques like Mel-frequency cepstral coefficients (MFCC), zero-crossing rate (ZCR), and root mean square energy (RMSE). Additionally, data augmentation techniques like adding noise, stretching, shifting, and pitch manipulation are applied.</li><li><strong>Data Preparation:</strong> The extracted features are prepared as input data for the machine learning model. Standard scaling and one-hot encoding are performed on the data. The dataset is split into training and testing sets.</li><li><strong>Model Building: </strong>The script defines a Convolutional Neural Network (CNN) model using the Keras API with multiple layers including Conv1D, BatchNormalization, MaxPooling1D, Dropout, Flatten, and Dense layers.</li><li><strong>Model Training: </strong>The CNN model is trained on the training data with early stopping and learning rate reduction callbacks to prevent overfitting and improve training efficiency.</li><li><strong>Model Evaluation:</strong> The trained model is evaluated on the test data, and metrics such as accuracy, loss, precision, recall, and F1-score are computed. Confusion matrix and classification report are generated to assess model performance.</li><li><strong>Model Saving: </strong>The trained model along with its weights are saved in JSON and HDF5 format for future use.</li><li><strong>Serialization of Preprocessing Objects:</strong> The StandardScaler and OneHotEncoder objects used for preprocessing are serialized using the pickle module and saved to disk.</li><li><strong>Test Script:</strong> A test script is provided to load the saved model and preprocessing objects, extract features from new audio files, and make predictions on them.</li></ol><p>This script serves as a complete pipeline for emotion classification from audio data, including data loading, preprocessing, feature extraction, model building, training, evaluation, and deployment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91791961e2b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I have made a simple CV using different HTML tags.]]></title>
            <link>https://medium.com/@summaiya.mustafa786/i-have-made-a-simple-cv-using-different-html-tags-e848576cc1ab?source=rss-5565fe73d7d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e848576cc1ab</guid>
            <category><![CDATA[html-css]]></category>
            <category><![CDATA[cv-writing]]></category>
            <category><![CDATA[html5-development]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[html5]]></category>
            <dc:creator><![CDATA[Summaiya Mustafa]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 19:31:27 GMT</pubDate>
            <atom:updated>2023-03-23T19:31:27.459Z</atom:updated>
            <content:encoded><![CDATA[<p>I have made a simple CV using different HTML tags.</p><blockquote><strong>NOTE THAT: It&#39;s not a proper CV, it&#39;s just a simple template to give you guys an idea of HTML tags.</strong></blockquote><p><strong><em>I am going to tell you guys some important points to make your Cv looks good and professional.</em></strong></p><p>The very first thing is that your Cv should be very to the point, with no extra detail.</p><p>At the top, right after your name, mention your email address, linked-in profile link, and Git hub profile link ( if you have one if not then make at least a GitHub profile, it&#39;s necessary for CS students)</p><p>Go with only one to two colour themes. black text and white background. Don&#39;t focus on designing but on neatness.</p><p>If you are a fresh Graduate, then your Education portion should take the main part of your CV, and also include your semester projects and the links to that projects.</p><p>No need to mention certificates as certificates don&#39;t matters. If you have many certificates, then mention 2 or 3 just, not more than that.</p><pre><br>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;CV Summaiya Mustafa&lt;/title&gt;<br> &lt;style&gt;<br>    .container {<br>          display: flex;<br>           align-items: center;<br>           justify-content: center<br>         }<br><br>  .image{<br>    flex-basis: 40%<br>    <br>  }<br><br>     img {<br>           max-width: 100%<br>         }<br><br><br>  .div1{<br>    width: 80%;<br>     height: 200px;<br>   float:right;<br>   font-size: 20px;<br>           padding-left: 20px;<br>    <br>  }<br><br>  .div2{  <br>   width: 50%;<br>   padding: 50px;<br>   float:left;<br>   <br>  }<br>  .div3{  <br>   width: 50%;     <br>   float:right;<br>   <br>  }<br><br> &lt;/style&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br>&lt;div class=&quot;container&quot;&gt;<br>  &lt;div class=&quot;image&quot;&gt;<br>   &lt;img src=&quot;https://static.vecteezy.com/system/resources/previews/007/793/728/original/silhouette-drawing-of-muslim-woman-with-hijab-arab-woman-for-logo-template-icon-hijab-store-muslim-store-etc-free-vector.jpg&quot;/&gt;&lt;/div&gt;<br><br>  &lt;div class=&quot;div1&quot;&gt;<br>   &lt;h1&gt;Summaiya Mustafa&lt;/h1&gt;<br>   &lt;p&gt;&lt;b&gt;&lt;i&gt; summaiya.mustafa@gmail.com&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;<br>   &lt;p&gt;&lt;b&gt;&lt;i&gt; +923456789&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;<br>   &lt;p&gt;&lt;b&gt;&lt;i&gt; Sadqabad, Rawalpindi&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;<br>  &lt;/div&gt;<br> <br>&lt;/div&gt;<br>&lt;div class=&quot;container&quot;&gt;<br>  &lt;div class=&quot;div2&quot;&gt;<br>   &lt;h2&gt;Skills&lt;/h2&gt;<br>   <br>   &lt;ul style=&quot;list-style-type:disc&quot;&gt;<br>   &lt;li&gt;C++&lt;/li&gt;<br>   &lt;li&gt;Python&lt;/li&gt;<br>   &lt;li&gt;C#&lt;/li&gt;<br>   &lt;li&gt;Web Development&lt;/li&gt;<br>   &lt;li&gt;Communication&lt;/li&gt;<br>   &lt;li&gt;Team work and Collaboration&lt;/li&gt;<br>   &lt;/ul&gt;<br> <br>   &lt;h2&gt;Tools&lt;/h2&gt;<br>   <br>   &lt;ul style=&quot;list-style-type:disc&quot;&gt;<br>   &lt;li&gt;Visula Studio&lt;/li&gt;<br>   &lt;li&gt;Jupyter&lt;/li&gt;<br>   &lt;li&gt;Andriod Studio&lt;/li&gt;<br>   &lt;/ul&gt;<br><br>  &lt;/div&gt;<br><br>  &lt;div class=&quot;div3&quot;&gt;<br>  <br>  &lt;h2&gt; Experience &lt;h2&gt;<br>  &lt;h3&gt; Semester Projects &lt;/h3&gt;<br>  &lt;ol type=&quot;disc&quot;&gt;<br>   &lt;li&gt;Hotel Management System using C++&lt;/li&gt;<br>   &lt;li&gt;Serach Engine using Data structures&lt;/li&gt;<br>   &lt;li&gt;Online Railway Management system &lt;/li&gt;<br>   &lt;/ol&gt;<br>  <br> <br>  &lt;h2&gt; Education&lt;/h2&gt;<br>  &lt;ul style=&quot;list-style-type:disc&quot;&gt;<br>   &lt;li&gt;Matric (Computer Science &lt;/li&gt;<br>   &lt;li&gt;Fsc(pre-Engineering)&lt;/li&gt;<br>   &lt;li&gt;Graduation(present)  Bahria university Islamabad&lt;/li&gt;<br>   &lt;/ul&gt;<br><br>  &lt;/div&gt;<br> <br>&lt;/div&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;<br><br></pre><p>the result of the above is;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gZBiCgZLsWJ8-n99e9g8jQ.png" /><figcaption>CV template using HTML only</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e848576cc1ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>