<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lamp &#8211; Nexto</title>
	<atom:link href="https://nexto.ch/category/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>https://nexto.ch</link>
	<description>Business Empowerment</description>
	<lastBuildDate>Sat, 26 Oct 2024 15:37:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Installing WordPress on a LAMP Server</title>
		<link>https://nexto.ch/lamp/installing-wordpress-on-a-lamp-server/</link>
		
		<dc:creator><![CDATA[Nexto]]></dc:creator>
		<pubDate>Sun, 15 Sep 2024 15:16:33 +0000</pubDate>
				<category><![CDATA[Lamp]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://nexto.ch/?p=226672</guid>

					<description><![CDATA[Introduction WordPress is an open-source content management system (CMS) that allows you...]]></description>
										<content:encoded><![CDATA[<h3>Introduction</h3>
<p>WordPress is an open-source content management system (CMS) that allows you to easily create and manage websites and blogs. This guide will show you how to install WordPress on a LAMP server.</p>
<h4>Prerequisites</h4>
<ul>
<li>An Ubuntu server with LAMP stack installed.</li>
<li>A user with sudo privileges.</li>
<li>A domain pointed to your server (optional but recommended).</li>
</ul>
<h5>Step 1: Create a Database for WordPress</h5>
<p>Access MySQL:</p>
<pre>sudo mysql -u root -p
</pre>
<p>Create the database and user for WordPress:</p>
<pre>CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'your_secure_password';
GRANT ALL ON wordpress.* TO 'wp_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
</pre>
<h5>Step 2: Install Required PHP Extensions</h5>
<p>Install the necessary PHP extensions:</p>
<pre>sudo apt install php-curl php-gd php-mbstring php-xml php-xmlrpc -y
</pre>
<p>Restart Apache to load the new extensions:</p>
<pre>sudo systemctl restart apache2
</pre>
<h5>Step 3: Download WordPress</h5>
<p>Navigate to the /tmp directory and download the latest version of WordPress:</p>
<pre>cd /tmp
curl -LO https://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
</pre>
<h5>Step 4: Configure WordPress</h5>
<p>Copy the WordPress files to the web server’s root directory:</p>
<pre>sudo cp -a /tmp/wordpress/. /var/www/html
</pre>
<p>Set the correct permissions:</p>
<pre>sudo chown -R www-data:www-data /var/www/html
sudo find /var/www/html -type d -exec chmod 755 {} \;
sudo find /var/www/html -type f -exec chmod 644 {} \;
</pre>
<h5>Step 5: Configure the wp-config.php File</h5>
<p>Generate the unique security keys:</p>
<pre>curl -s https://api.wordpress.org/secret-key/1.1/salt/
</pre>
<p>Copy the output.</p>
<p>Rename the configuration file:</p>
<pre>cd /var/www/html
sudo mv wp-config-sample.php wp-config.php
</pre>
<p>Edit wp-config.php:</p>
<pre>sudo nano wp-config.php
</pre>
<p>Enter the database information and paste the security keys.</p>
<h5>Step 6: Complete the Installation via Browser</h5>
<p>Open your browser and navigate to http://your_domain or http://your_server_ip. Follow the on-screen instructions to complete the installation.</p>
<h4>Conclusion</h4>
<p>You have successfully installed WordPress on your LAMP server. You can now start customizing your site.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Guide to Using Git for Version Control</title>
		<link>https://nexto.ch/lamp/guide-to-using-git-for-version-control/</link>
		
		<dc:creator><![CDATA[Nexto]]></dc:creator>
		<pubDate>Mon, 15 Jul 2024 15:16:25 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Lamp]]></category>
		<guid isPermaLink="false">https://nexto.ch/?p=226674</guid>

					<description><![CDATA[Introduction Git is a distributed version control system widely used to manage...]]></description>
										<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Git is a distributed version control system widely used to manage software development projects. This guide will introduce you to the fundamental commands of Git, helping you get started with version control.</p>
<h4>Prerequisites</h4>
<ul>
<li>A system with Git installed.</li>
<li>Basic command-line knowledge.</li>
</ul>
<h5>Step 1: Install Git</h5>
<p>On Ubuntu/Debian:</p>
<pre>sudo apt update
sudo apt install git -y
</pre>
<h5>Step 2: Configure Git</h5>
<p>Set your username and email (required for commits):</p>
<pre>git config --global user.name "Your Name"
git config --global user.email "youremail@example.com"
</pre>
<h5>Step 3: Create a New Repository</h5>
<ul>
<li>Create a new directory for your project:</li>
</ul>
<pre>mkdir my_project
cd my_project
</pre>
<ul>
<li>Initialize Git:</li>
</ul>
<pre>git init
</pre>
<h5>Step 4: Add Files to the Repository</h5>
<ul>
<li>Create a file:</li>
</ul>
<pre>echo "# Project Title" &gt; README.md
</pre>
<ul>
<li>Add the file to Git tracking:</li>
</ul>
<pre>git add README.md
</pre>
<h5>Step 5: Make a Commit</h5>
<ul>
<li>Record the changes in the repository:</li>
</ul>
<pre>git commit -m "Add README.md file"
</pre>
<h5>Step 6: Clone an Existing Repository</h5>
<p>To clone a remote repository:</p>
<pre>git clone https://github.com/user/repository.git
</pre>
<h5>Step 7: View the Repository Status</h5>
<p>Check which files have been modified or are waiting to be committed:</p>
<pre>git status
</pre>
<h5>Step 8: View Commit History</h5>
<p>Display the commit history:</p>
<pre>git log
</pre>
<h5>Step 9: Work with Branches</h5>
<ul>
<li>Create a new branch:</li>
</ul>
<pre>git branch new_feature
</pre>
<ul>
<li>Switch to the new branch:</li>
</ul>
<pre>git checkout new_feature
</pre>
<h5>Step 10: Merge Branches</h5>
<ul>
<li>Return to the main branch:</li>
</ul>
<pre>git checkout main
</pre>
<ul>
<li>Merge the changes:</li>
</ul>
<pre>git merge new_feature
</pre>
<h5>Step 11: Manage a Remote Repository</h5>
<ul>
<li>Add a remote repository:</li>
</ul>
<pre>git remote add origin https://github.com/user/repository.git
</pre>
<ul>
<li>Push changes to the remote:</li>
</ul>
<pre>git push -u origin main
</pre>
<h5>Step 12: Update the Local Repository</h5>
<p>To get the latest changes from the remote repository:</p>
<pre>git pull
</pre>
<h4>Conclusion</h4>
<p>Now you know the fundamental commands to use Git in version control for your projects. Continue exploring advanced features to improve your workflow.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
