Skip to content

US President Part 01

YouTube Poster
US President Part 01

Welcome to our series on the biographies of the Presidents of the United States. Join us as we embark on a journey through the lives and legacies of the individuals who have shaped the course of American history.

George Washington, born on February 22, 1732, in Westmoreland County, Virginia, was an American political leader, military general, and Founding Father of the United States. He played a crucial role in the American Revolutionary War and served as the first President of the United States from 1789 to 1797. Washington’s leadership and character laid the foundation for the development of the young nation. As a young man, Washington showed a strong interest in military affairs. He received a basic education and learned practical skills necessary for plantation life. At the age of 17, he worked as a surveyor in the western lands of Virginia, gaining valuable experience and knowledge of the frontier. Washington’s military career began in the French and Indian War (1754 until 1763). He served as a lieutenant colonel in the Virginia Regiment and gained recognition for his bravery and leadership. His experiences during this conflict laid the groundwork for his future military endeavors. In 1775, tensions between the American colonies and Great Britain escalated, leading to the outbreak of the American Revolutionary War. The Continental Congress appointed George Washington as Commander-in-Chief of the Continental Army. Despite the numerous challenges he faced, including limited resources, inexperienced troops, and harsh winters, Washington provided steady leadership and strategic guidance. One of Washington’s most significant achievements during the Revolutionary War was the successful crossing of the Delaware River on December 25, 1776. This surprise attack on the Hessian forces at Trenton, New Jersey, boosted morale and provided a turning point in the war. After years of fighting, Washington’s leadership and the assistance of French forces under General Lafayette helped secure a decisive victory at the Battle of Yorktown in 1781. This victory ultimately led to the signing of the Treaty of Paris in 1783, which recognized the independence of the United States from Great Britain. Following the Revolutionary War, Washington played a crucial role in shaping the future of the newly formed nation. In 1787, he presided over the Constitutional Convention in Philadelphia, where the United States Constitution was drafted. His influence and support were instrumental in the ratification of the Constitution and the establishment of a strong federal government. In 1789, Washington was unanimously elected as the first President of the United States. During his presidency, he faced numerous challenges, including the formation of a new government, the establishment of financial stability, and the maintenance of neutrality in foreign affairs. Washington set important precedents, such as the two-term limit for presidents, and he established a strong executive branch while respecting the authority of the other branches of government. Washington’s Farewell Address in 1796 outlined his vision for the nation’s future, emphasizing the importance of unity, avoiding political factionalism, and maintaining strong diplomatic relationships. He chose not to seek a third term and retired from public office in 1797, setting another important precedent of a peaceful transfer of power. After his retirement, Washington returned to his plantation, Mount Vernon, in Virginia. He dedicated his time to agricultural pursuits and became a symbol of the nation’s gratitude for his leadership. George Washington passed away on December 14, 1799, at the age of 67. George Washington’s legacy remains an integral part of American history. He is revered for his leadership during the Revolutionary War, his crucial role in the formation of the United States government, and his commitment to the principles of liberty and freedom. His steadfastness, integrity, and devotion to public service continue to inspire generations of Americans.

John Adams, born on October 30, 1735, in Braintree, Massachusetts (now Quincy), was an American statesman, lawyer, diplomat, and Founding Father. He played a crucial role in the early history of the United States, serving as the second President from 1797 to 1801. Adams’ contributions to American independence, diplomacy, and the formation of a strong central government are widely recognized. Adams grew up in a modest family and received an excellent education. He attended Harvard College, where he studied law and graduated in 1755. Adams was admitted to the bar in 1758 and began his legal practice in Braintree. His reputation as a skilled lawyer quickly grew, and he became known for his intellect and commitment to justice. Adams’ involvement in politics began during the tumultuous years leading up to the American Revolution. He became known for his opposition to British policies, especially the Stamp Act of 1765. Adams argued for the rights of the colonists and became a prominent advocate for American independence. In 1774, he was elected to the First Continental Congress, where he played a crucial role in drafting the Declaration of Independence. During the Revolutionary War, Adams served in various diplomatic roles. In 1777, he traveled to France to negotiate loans and military aid for the struggling American forces. Adams also played a key role in negotiating the Treaty of Paris in 1783, which officially ended the war and recognized American independence. His diplomatic skills and commitment to the American cause were instrumental in securing crucial international support. After the war, Adams served as the United States’ first ambassador to the Court of St. James’s in Great Britain. In this position, he worked to improve relations between the two countries and negotiate commercial treaties. Adams’ diplomatic work laid the foundation for future Anglo-American relations and helped establish the United States as a respected nation on the international stage. In 1789, Adams returned to the United States and became the Vice President under George Washington. During his vice presidency, Adams faced challenges as the country struggled to establish its identity and define the powers of the federal government. He played a significant role in the development of the new nation, presiding over the Senate and providing a strong voice for the executive branch. In 1796, Adams was elected as the second President of the United States, narrowly defeating Thomas Jefferson. His presidency was marked by significant challenges, including strained relations with France and political divisions within the country. Adams navigated these difficulties with determination, signing the Alien and Sedition Acts in an attempt to protect national security but facing criticism for potentially infringing on civil liberties. Adams’ presidency also saw the peaceful transfer of power from one political party to another, as Thomas Jefferson’s Democratic-Republican Party took over in the election of 1800. Adams retired to his farm in Quincy, Massachusetts, after leaving the presidency, where he spent his remaining years reading, writing, and reflecting on his legacy. John Adams passed away on July 4, 1826, at the age of 90, just hours before his friend and political rival, Thomas Jefferson. The coincidence of their deaths on the 50th anniversary of the signing of the Declaration of Independence added to the significance of their contributions to American history. John Adams’ legacy is that of a tireless patriot, diplomat, and leader. His unwavering commitment to American independence, his role in shaping the United States’ early foreign relations, and his dedication to public service continue to inspire generations of Americans. Adams’ belief in the importance of the rule of law, strong institutions, and the pursuit of liberty and justice remains a vital part of the American ethos.

Thomas Jefferson, born on April 13, 1743, in Shadwell, Virginia, was an American statesman, lawyer, architect, philosopher, and Founding Father. He is best known for his role in drafting the Declaration of Independence and serving as the third President of the United States from 1801 to 1809. Jefferson’s impact on American history is profound, as he played a pivotal role in shaping the principles of democracy, individual rights, and expanding the young nation’s territory. Jefferson grew up in Virginia and received a quality education. He attended the College of William and Mary, where he studied law and developed a deep interest in Enlightenment philosophy. Jefferson’s education and intellectual curiosity shaped his belief in the inherent rights of individuals, limited government, and the pursuit of happiness. Jefferson’s political career began in the years leading up to the American Revolution. He emerged as a vocal critic of British policies, particularly the Stamp Act of 1765 and the Townshend Acts. In 1774, he was elected to the Virginia House of Burgesses, where he authored a bold pamphlet titled “A Summary View of the Rights of British America,” which asserted the colonists’ rights to self-governance. In 1776, Jefferson’s most significant contribution to American history came as the principal author of the Declaration of Independence. His eloquent words articulated the fundamental principles of human equality, natural rights, and the right of revolution. The Declaration became a seminal document in the struggle for American independence and continues to be a beacon of liberty and inspiration worldwide. During the American Revolution, Jefferson served in the Virginia legislature and contributed to the development of a new legal code for the state. His efforts resulted in the passage of significant legislation, including the Statute of Virginia for Religious Freedom, which disestablished the Anglican Church and guaranteed religious freedom for all citizens. Jefferson’s commitment to public service extended to his diplomatic endeavors. In 1784, he was appointed as a trade commissioner to France, where he worked to establish economic alliances and negotiate commercial treaties. His time in Europe exposed him to new ideas, art, and architecture, which influenced his later work as an architect and planner.After returning to the United States, Jefferson served as the first Secretary of State under President George Washington from 1790 to 1793. In this role, he advocated for a limited federal government, strong states’ rights, and an agrarian-based economy. Jefferson clashed with Treasury Secretary Alexander Hamilton over various issues, including the establishment of a national bank and interpretation of the Constitution. In 1796, Jefferson ran for President as the Democratic-Republican candidate and narrowly lost to John Adams. However, he became Vice President due to the way electoral votes were counted at the time. Jefferson’s time as Vice President was marked by his continued opposition to Adams’ Federalist policies, including the controversial Alien and Sedition Acts, which he believed violated individual liberties. In 1800, Jefferson ran for President again and won the election, ushering in a new era of American politics known as the “Revolution of 1800.” As President, Jefferson prioritized a limited government, reducing the national debt, and expanding westward. One of his most significant achievements was the Louisiana Purchase in 1803, which doubled the size of the United States and provided vast opportunities for westward expansion. Jefferson’s presidency also saw the Lewis and Clark Expedition, which explored and mapped the newly acquired western territories, and the establishment of the United States Military Academy at West Point. He championed religious freedom, advocated for public education, and believed in the importance of an informed citizenry.After serving two terms as President, Jefferson retired to his estate, Monticello, in Virginia. He dedicated his later years to various pursuits, including the founding of the University of Virginia, architectural projects, scientific exploration, and correspondence with friends and political allies. Thomas Jefferson passed away on July 4, 1826, at the age of 83, just hours before his friend and political rival, John Adams. His legacy as a philosopher, statesman, and visionary is deeply ingrained in American history. Jefferson’s ideas on liberty, democracy, and individual rights continue to shape the nation’s identity, and his contributions to the development of the United States remain an enduring testament to his remarkable intellect and dedication to the principles of freedom.

James Madison, born on March 16, 1751, in Port Conway, Virginia, was an American statesman, political theorist, and Founding Father. He is often hailed as the “Father of the Constitution” for his pivotal role in drafting and promoting the United States Constitution and the Bill of Rights. Madison’s intellectual brilliance, leadership, and political acumen profoundly influenced the early development of the United States. Madison grew up in Virginia and received a classical education. He attended the College of New Jersey (now Princeton University), where he studied various subjects, including Latin, Greek, philosophy, and political science. Madison’s education provided him with a solid foundation in liberal arts and an understanding of democratic principles that would guide his political career. Madison’s involvement in politics began during the American Revolution. He served in the Virginia state legislature and was a delegate to the Continental Congress in 1780. Recognizing the limitations of the Articles of Confederation, Madison became a proponent of a stronger central government and worked tirelessly to establish a new framework for governance. In 1787, Madison played a central role in the Constitutional Convention held in Philadelphia. As one of the main architects of the Constitution, he contributed significantly to the drafting and shaping of its content. Madison’s ideas and proposals, including the Virginia Plan, formed the basis for the structure of the federal government, with a balance of power between the states and the central authority.After the Constitution’s ratification, Madison collaborated with Alexander Hamilton and John Jay to write a series of essays known as the Federalist Papers. Published under the pseudonym “Publius,” these essays provided a comprehensive defense of the Constitution and helped sway public opinion in favor of its adoption. Madison’s contributions to the Federalist Papers, particularly in Federalist No. 10 and No. 51, underscored his understanding of the dangers of factionalism and the need for checks and balances. Madison continued to champion the Constitution’s ratification, working closely with Thomas Jefferson to form the Democratic-Republican Party, which advocated for states’ rights and limited government. In 1789, Madison was elected to the newly established United States House of Representatives, where he served four terms. During his time in Congress, he introduced the Bill of Rights, a series of amendments that guaranteed individual liberties and further strengthened the protection of citizens’ rights. In 1801, Madison was appointed Secretary of State by President Thomas Jefferson. As Secretary of State, he played a vital role in shaping American foreign policy, including the Louisiana Purchase, which doubled the size of the United States. Madison’s diplomatic skills helped expand American influence and secure the nation’s economic and territorial interests. Following Jefferson’s two terms as President, Madison was elected as the fourth President of the United States in 1808. His presidency was marked by challenges, including increasing tensions with Britain and France, which eventually led to the War of 1812. Despite initial setbacks, Madison successfully led the country through the conflict and oversaw the writing of the Treaty of Ghent, which ended the war in 1814. Madison’s presidency also witnessed the burning of the White House and the U.S. Capitol by British forces during the War of 1812. However, his leadership during the war and his subsequent efforts to promote internal improvements, including the establishment of the Second Bank of the United States and the creation of a protective tariff, helped foster economic growth and strengthen the nation’s infrastructure.After leaving the presidency in 1817, Madison retired to his estate, Montpelier, in Virginia. He devoted his later years to scholarly pursuits, including the study of history and political theory. Madison’s contributions to political thought were immense, and he continued to be a respected voice on matters of governance and constitutional interpretation. James Madison passed away on June 28, 1836, at the age of 85. His legacy as a Founding Father and political philosopher endures, with his ideas on federalism, separation of powers, and individual rights profoundly shaping the American system of government. Madison’s steadfast commitment to the principles of liberty and his unwavering dedication to the well-being of the United States solidify his place among the nation’s most revered leaders.

The History of US Presidency

The History of US Presidency

Once upon a time, in the late 18th century, a group of American colonies broke free from British rule and declared their independence. This courageous act gave birth to a new nation known as the United States of America. But with independence came the need for a system of government, and thus began the fascinating and ever-evolving story of the United States presidency.

The first chapter of this tale introduces us to George Washington, a revered military general and a respected figure among the American people. In 1789, Washington was unanimously elected as the first president of the United States. He faced the monumental task of shaping a fledgling nation, establishing its laws, and navigating uncharted waters.
Washington’s presidency set the stage for the unique role of the president, serving as the head of state and the commander-in-chief of the armed forces. Throughout his two terms, Washington worked tirelessly to establish a strong central government, appoint capable leaders, and maintain a delicate balance between state and federal powers.

As the years passed, the presidency witnessed various transitions and transformative moments. John Adams, Thomas Jefferson, and James Madison followed in Washington’s footsteps, each leaving their mark on the young nation. Adams grappled with the challenges of maintaining neutrality during European conflicts, Jefferson facilitated the vast expansion of the United States through the Louisiana Purchase, and Madison led the country through the War of 1812.

The fabric of American history further unfolded with leaders like James Monroe, whose doctrine laid the foundation for American foreign policy, and John Quincy Adams, who advocated for internal improvements and education. Andrew Jackson ushered in a new era of populism and the expansion of democracy, while subsequent presidents faced the trials of a growing nation grappling with slavery, westward expansion, industrialization, and the Civil War.
With each passing presidency, the United States presidency evolved, adapting to the changing needs and demands of the nation. From Abraham Lincoln’s steadfast determination to preserve the Union to Theodore Roosevelt’s progressive reforms and Franklin D. Roosevelt’s transformative response to the Great Depression, the presidents grappled with unprecedented challenges and shaped the nation’s destiny.

The story of the U.S. presidency is an ongoing narrative, with each president adding a new chapter to its pages. From the struggle for civil rights led by Martin Luther King Jr. to the election of the first African American president, Barack Obama, the journey of the presidency reflects the triumphs, trials, and continuous quest for progress in the United States.

As we turn the page of history and enter each new presidency, the story of the United States presidency continues to unfold, capturing the essence of a nation that strives to uphold its ideals and forge a brighter future for its people.

George Washington (1789 until 1797)
Washington was the first president of the United States, known for his leadership during the American Revolution and his role in shaping the country’s early political institutions.

John Adams (1797 until 1801)
Adams served as the second president and played a role in early U.S. diplomacy, including the XYZ Affair and the Alien and Sedition Acts.

Thomas Jefferson (1801 until 1809)
Jefferson, the third president, is known for his authorship of the Declaration of Independence and the Louisiana Purchase, which greatly expanded U.S. territory.

James Madison (1809 until 1817)
Madison, the fourth president, was the “Father of the Constitution” and led the country through the War of 1812.

James Monroe (1817 until 1825)
Monroe’s presidency was marked by the Monroe Doctrine, which asserted U.S. influence in the Western Hemisphere and warned European powers against further colonization.

John Quincy Adams (1825 until 1829)
Adams, the son of John Adams, served as the sixth president and advocated for infrastructure development and education.

Andrew Jackson (1829 until 1837)
Jackson was the seventh president and is known for his populism, expansion of voting rights, and policies towards Native Americans, including the Indian Removal Act.

Martin Van Buren (1837 until 1841)
Van Buren, the eighth president, faced economic challenges during his term, including the Panic of 1837.

William Henry Harrison (1841)
Harrison served the shortest term in U.S. presidential history, catching pneumonia and passing away just one month after his inauguration.

John Tyler (1841 until 1845)
Tyler, the first vice president to assume the presidency due to the death of a president, oversaw the annexation of Texas.

James K. Polk (1845 until 1849)
Polk’s presidency was marked by territorial expansion, including the acquisition of California and much of the Southwest through the Mexican-American War.

Zachary Taylor (1849 until 1850)
Taylor, a military hero, served briefly as president before his death. His presidency focused on issues related to slavery and the admission of new states to the Union.

Millard Fillmore (1850 until 1853)
Fillmore, who succeeded Taylor, signed the Compromise of 1850, attempting to address tensions between free and slave states.

Franklin Pierce (1853 until 1857)
Pierce’s presidency was marked by controversy surrounding the Kansas-Nebraska Act and the expansion of slavery.

James Buchanan (1857 until 1861)
Buchanan, the fifteenth president, faced a divided nation on the brink of the Civil War and was unable to prevent its outbreak.

Abraham Lincoln (1861 until 1865)
Lincoln, one of the most renowned presidents, successfully led the country through the Civil War, abolished slavery with the Emancipation Proclamation, and delivered the Gettysburg Address.

Andrew Johnson (1865 until 1869)
Johnson, who assumed the presidency after Lincoln’s assassination, faced challenges during Reconstruction and clashed with Congress.

Ulysses S. Grant (1869 until 1877)
Grant, a prominent Union general during the Civil War, oversaw Reconstruction efforts and fought against corruption in government.

Rutherford B. Hayes (1877 until 1881)
Hayes became president after a disputed election and is known for ending Reconstruction and advocating for civil service reform.

James A. Garfield (1881)
Garfield, who served only a few months as president, was assassinated. He sought to reform civil service and reduce political patronage.

Chester A. Arthur (1881 until 1885)
Arthur, succeeding Garfield, pushed for civil service reform and modernization of the Navy.

Grover Cleveland (1885 until 1889)
Cleveland was the first Democratic president since the Civil War, known for his fiscal conservatism and opposition to corruption.

Benjamin Harrison (1889 until 1893)
Harrison, the grandson of William Henry Harrison, signed significant legislation, including the Sherman Antitrust Act.

Grover Cleveland (1893 until 1897)
Cleveland was reelected to a non-consecutive second term, facing economic challenges during the Panic of 1893.

William McKinley (1897 until 1901)
McKinley’s presidency was marked by economic growth, the Spanish-American War, and the acquisition of territories like Puerto Rico and the Philippines.

Theodore Roosevelt (1901 until 1909)
Roosevelt, a progressive reformer, championed trust-busting, conservation, and consumer protection, known for his “Square Deal” policies.

William Howard Taft (1909 until 1913)
Taft, Roosevelt’s successor, continued progressive reforms, but faced conflicts within his own party.

Woodrow Wilson (1913 until 1921)
Wilson led the country through World War I, championed the League of Nations, and pursued progressive domestic policies.

Warren G. Harding (1921 until 1923)
Harding’s presidency was marred by corruption scandals, but he also pursued pro-business policies and advocated for disarmament.

Calvin Coolidge (1923 until 1929)
Coolidge, known for his economic policies, presided over a period of prosperity and limited government intervention.

Herbert Hoover (1929 until 1933)
Hoover, during the Great Depression, faced economic challenges and struggled to effectively address the crisis.

Franklin D. Roosevelt (1933 until 1945)
Roosevelt’s New Deal programs aimed to combat the Great Depression, and he led the United States through most of World War II.

Harry S. Truman (1945 until 1953)
Truman assumed the presidency after Roosevelt’s death and made the decision to use atomic bombs on Japan. He oversaw the post-war period and initiated policies like the Marshall Plan.

Dwight D. Eisenhower (1953 until 1961)
Eisenhower, a celebrated World War II general, focused on Cold War policies, infrastructure development (including the Interstate Highway System), and civil rights.

John F. Kennedy (1961 until 1963)
Kennedy, the youngest president elected, faced Cold War tensions, initiated the Peace Corps, and inspired the nation with his space exploration goal.

Lyndon B. Johnson (1963 until 1969)
Johnson, succeeding Kennedy, pushed for civil rights legislation and implemented his “Great Society” domestic programs.

Richard Nixon (1969 until 1974)
Nixon, facing the Vietnam War and domestic unrest, implemented a policy of détente with the Soviet Union and opened relations with China.

Gerald Ford (1974 until 1977)
Ford assumed the presidency after Nixon’s resignation and worked to heal divisions caused by Watergate, but faced economic challenges.

Jimmy Carter (1977 until 1981)
Carter’s presidency was marked by energy crises, the Camp David Accords, and the Iranian hostage crisis.

Ronald Reagan (1981 until 1989)
Reagan, a conservative icon, pursued conservative economic policies known as “Reaganomics” and escalated the Cold War before eventually engaging in arms control negotiations with the Soviet Union.

George H.W. Bush (1989 until 1993)
Bush led the United States during the end of the Cold War and the Gulf War against Iraq.

Bill Clinton (1993 until 2001)
Clinton’s presidency oversaw economic growth, welfare reform, and efforts towards peace in the Middle East, but was also marred by scandal.

George W. Bush (2001 until 2009)
Bush’s presidency was marked by the September 11 attacks and subsequent War on Terror, as well as domestic policies like tax cuts and education reform.

Barack Obama (2009 until 2017)
Obama became the first African American president and focused on healthcare reform, economic recovery, and ending the Iraq War.

Donald Trump (2017 until 2021)
Trump, a businessman and reality TV star, pursued an “America First” agenda, cutting regulations, implementing tax reforms, and engaging in controversial foreign policies.

Joe Biden (2021 until present)
Biden, the current president, has focused on addressing the COVID-19 pandemic, climate change, racial justice, and infrastructure investment.

These are the 46 individuals who have served as the presidents of the United States since its founding. Each president has left their unique mark on the nation’s history and played a role in shaping its development.

Display Bitlocker Recovery Key in Active Directory

When Bitlocker is enabled on workstation/ laptop in your entreprise, you must have a solution to get the recovery key of the hard drive. In some cases, Bitlocker can prompt to the user the Recovery key if it detects a specific behavior like partition changes.

The easiest solution is to use Active Directory Users And Computers console. This can only be possible if you set in the GPO to store Recovery Key into Active Directory.

With Active Directory Users And Computers, we can:

Continue reading “Display Bitlocker Recovery Key in Active Directory”

Merge your DBML

There is always better way to merge your DBML files when somehow your DBML become disorganized. Luckily KDiff3 has a feature that allows you to rearrange the lines in all the versions of a file that are involved in the 3-way merge. This will allow KDiff3 to compare lines that were meant to be compared together instead of getting all confused. I will show you how we did it using Git for a particular xml file type of file that was giving us problems. In our case, we were having problems with dbml files that are part and parcel of Linq to SQL. And it wasn’t our favourite colleague that was causing us issues – it was Visual Studio! This is Visual Studio will save content of the dbml file in a random order whenever we make changes to that file.

Continue reading “Merge your DBML”

Difference Between GPT and MBR

Set up a new disk on Windows 10 or 8.1 and you’ll be asked whether you want to use MBR (Master Boot Record) or GPT (GUID Partition Table). Today we’re explaining the difference between GPT and MBR and helping you choose the right one for your PC or Mac.

GPT brings with it many advantages, but MBR is still the most compatible and is still necessary in some cases. This isn’t a Windows-only standard, by the way—Mac OS X, Linux, and other operating systems can also use GPT.

Continue reading “Difference Between GPT and MBR”

How to shrink a Windows VM in XenServer

You can always grow the storage volume for a running Windows VM in XenCenter, but also there is a way to shrink it. Here is how to do it:

Continue reading “How to shrink a Windows VM in XenServer”

Configure Postfix with Gmail and Google Apps on Debian or Ubuntu

Postfix is a Mail Transfer Agent (MTA) that can act as an SMTP server or client to send or receive email. There are many reasons why you would want to configure Postfix to send email using Google Apps and Gmail. One reason is to avoid getting your mail flagged as spam if your current server’s IP has been added to a blacklist.

In this guide, you will learn how to install and configure a Postfix server on Debian or Ubuntu to send email through Gmail and Google Apps.

Continue reading “Configure Postfix with Gmail and Google Apps on Debian or Ubuntu”

Apache folder permissions

You should never have to run a website out of your home directoryEVER. You would otherwise have to give the web server the ability to traverse through /home/ to see the directory structure, but also into /home/$USER/ (your user’s home directory, where we can try and see what else exists in your user directory), as well as any other subfolders in there. A poorly-configured or misconfigured or unpatched web server can cause massive data leakage this way, or loss of credentials and such which would put your personal data and logins on different things at risk. The symlink approach you are using doesn’t help either for the same reason as trying to give Apache permissions to read /home/andre/www/moodle – the web server has to be able to traverse your home directory to get to the location that the symlink in /var/www/html points to, which still poses that security risk.

Continue reading “Apache folder permissions”

Install Apache’s mod_security & mod_evasive to prevent DoS/Brute-Force attacks on CentOS

I have been searching for a free open source solution to protect my web application against prying hackers, malicious screen scrapers, illegitimate crawlers, rampant bots and abusive API users. Besides being free and open source, the minimum requirement is that the solution can identify rogue user IP addresses and blacklist them if necessary. Preferably, the solution can also protect (somewhat) against denial-of-service (DOS) attack and implement API rate limiting.

Continue reading “Install Apache’s mod_security & mod_evasive to prevent DoS/Brute-Force attacks on CentOS”

Auto-Unlock Bitlocker with eDrive (Hardware Encryption)

Self-Encrypting Drive (SED) technology provides verified and certified data security which offers nearly unbreakable pre-boot access protection for user data. Because SED access is pre-boot, there is no possibility of running an OS utility to break authentication codes. Following TCG Opal 2.0 specifications and IEEE-1667 access authentication protocols provide data security which meets government standards for data in banking, finance, medical and government applications. Support for Windows 10 eDrive provides the individual user with simple plug-and-play data security which can protect sensitive personal data, without having to modify BIOS settings, and without having to spend time to encrypt data already in place (as is the case for software encryption methods).

Since Windows 8 Professional, Enterprise, and RT editions all automatically support encryption key management of SEDs. Depends on manufacturer settings, usually and mostly SEDs will support Microsoft’s requirements for eDrive capability. This provides security for data at rest with no loss of throughput performance. In other words, in order to active the password feature, to arm the security system if you will, all it takes in Windows 10 is to enable Bitlocker. While Bitlocker in older Windows Operating Systems does not support SED technology, you can still use Bitlocker like on any other drive, it just won’t take advantage of the benefits of the hardware encryption on the SED. To help users on Windows 7 or other Operating Systems take advantage of the SED ability third-party software vendors, such as Wave Systems, WinMagic, and others provide advanced encryption and authentication management features for Opal 2.0 storage devices.

With SED, it will means that all data is always encrypted by the controller when written to the NAND and decrypted when read. Windows 10 Bitlocker, along with other products, can work with this built-in hardware encryption ability when you apply a password in Windows.

Continue reading “Auto-Unlock Bitlocker with eDrive (Hardware Encryption)”

Switch BIOS settings from RAID to AHCI [Windows 10]

PSA: You should not be attempting these fixes unless you’re a professional!  And it goes without saying, you will ALWAYS need your local admin password, recovery media, and backups of your data before fooling around with low-level storage driver configuration — or really anything else for that matter.  See the comments section below for examples of a couple of people who ran into mishaps after encountering other underlying issues or forgetting their admin password before starting the process.  PROCEED AT YOUR OWN RISK!

It’s not uncommon to find a system on which RAID drivers have been installed and something like the Intel Rapid Storage Technology package is handling storage devices, but where an SSD might require AHCI operation for more optimal performance or configurability. In these cases, there is in fact a way to switch operation from RAID to AHCI within Windows 10 without having to reinstall.  Here’s how: Continue reading “Switch BIOS settings from RAID to AHCI [Windows 10]”

Delete Putty Cache Keys (GitLab)

Sometimes you will get this problem when you try to connect into GitLab

The server’s host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server’s rsa2 key fingerprint is: ssh-rsa 1024 cc:78:13:a3:68:a6:59:7e:b8:23:2d:13:3e:66:9b:b9 If you trust this host, enter “y” to add the key to PuTTY’s cache and carry on connecting. If you want to carry on connecting just once, without adding the key to the cache, enter “n”. If you do not trust this host, press Return to abandon the connection. Store key in cache? (y/n)

This will be problematic when you use GUI application like GitExtensions where you can’t enter “y” and it will wait until the user enter “y”. When something like this happen to you, you can try to remove the rsa2 key fingerprint from regedit directly. As you can follow this instruction:

After that, you can try to pull repositories first and it will prompt you correctly then you can continue to what you need to do (pull, push) to GitLab.

Enable BitLocker Drive Encryption without a TPM

Procedures to change your computer’s Group Policy settings so that you can enable BitLocker Drive Encryption without a TPM. This use a startup key to authenticate yourself and it is located on a USB flash drive inserted into the computer before the computer is turned on. In such a scenario, your computer must have a BIOS that can read USB flash drives in the pre-operating system environment (at startup). Your BIOS can be checked by the hardware test near the end of the BitLocker setup wizard.

Continue reading “Enable BitLocker Drive Encryption without a TPM”

How To Manually Install Language Packs In Windows 8 (lp.cab Files)

Microsoft has made it quite easy to install a language pack in Windows 8. Just search for “Add a language” in Windows 8 and add language through the interface. If you have downloaded the lp.cab language pack file on your computer, Windows 8 does not give any straight forward option to select the source language pack file to be installed. There are two more ways to manually install a language pack in Windows 8 (only if you have downloaded the language pack in your computer).

Continue reading “How To Manually Install Language Packs In Windows 8 (lp.cab Files)”

Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature in Online & Offline mode!

In Windows 8, .NET Framework 3.5 (includes .NET 2.0 and 3.0) not installed by default and some applications require .NET Framework 2.0 or 3.0. The first step for us is to check the Program and Features to enable any available additional features in an Operating System. This is what you see in your Control Panel –> Program and Features. Click on Turn Windows features on or off. Here you can see .NET Framework as a feature and by default the feature is disabled. You can enable this particular right away using this GUI Tool but in order to do that you need to be connected to internet i.e. Online Mode. Other way is using DISM Command and this can be done in an Offline Mode using Windows 8 installation media. Let’s see these 2 methods.

Continue reading “Windows 8: Enable .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature in Online & Offline mode!”

Using a raw disk as a VirtualBox drive

VirtualBox was capable of using physical disks for virtual machines. For more information check out this section on creating raw disks in the VirtualBox manual https://www.virtualbox.org/manual/ch09.html#rawdisk.

Continue reading “Using a raw disk as a VirtualBox drive”

How to Delete the “Windows.old” Folder in Windows 8 and 8.1

If you performed a refresh of Windows 8, upgrade to Windows 8, or a custom install of Windows 8 without formatting the drive for a clean install and selected to install Windows 8 on the same partition of the previous Windows installation, then you may have a C:\Windows.old folder left over in your new installation. The Windows.old folder contains a copy of the previous Windows installation, and can be quite large in size.
This tutorial will show you how to delete the Windows.old folder(s) generated during the installation to free up the hard drive space that the Windows.old folder(s) takes.

Continue reading “How to Delete the “Windows.old” Folder in Windows 8 and 8.1″

Compiling a C Program

Visual Studio includes a C compiler that you can use to create everything from basic C programs to Windows API applications.
This post shows how to compile it on the command line.

Continue reading “Compiling a C Program”

Windows 8 dual boot priority setting

If you following this post:
Creating a “no hypervisor” boot entry
And want to change your boot priority to with no hypervisor. You can change this easily.
Continue reading “Windows 8 dual boot priority setting”

Creating a “no hypervisor” boot entry

I was not able to run hardware accelerated on VirtualBox after installing Hyper-V on Windows 8 (due to Windows Phone 8 SDK requirement). Some Virtual PC / Virtual Server still can run with hypervisor running, but the result is that Virtual PC / Virtual Server run quite slowly.

Continue reading “Creating a “no hypervisor” boot entry”

Exit mobile version