The most common type of charitable nonprofit organization is a 501(c)(3) organization, also known as a public charity. These organizations are exempt from federal income tax and are eligible to receive tax-deductible donations. The most common type of 501(c)(3) organizations are those that focus on providing education, health care, social services, or other types of charitable work.
For small starting organizations, the actual fees for starting a nonprofit can be relatively low, especially if the organization takes advantage of online filing options and does not require extensive legal or tax services. However, it’s important to keep in mind that even small nonprofits must still comply with all applicable laws and regulations, and it may be necessary to invest in professional services to ensure compliance and ensure the long-term success of the organization.
| Fee | Description | Amount |
|---|---|---|
| Domain name registration | Fees for registering a domain name for the nonprofit’s website | $10 per year |
| Secretary of State name reservation fee (optional) | Fees for reserving the name of the nonprofit with the California Secretary of State | $10 |
| State filing fee (online) | Filing fee for registering the nonprofit with the California Secretary of State (online) | Free |
| State filing fee (paper copy) (optional) | Filing fee for registering the nonprofit with the California Secretary of State (paper copy) | $5 |
| Employer Identification Number (EIN) | Federal tax ID number required for opening a bank account and filing taxes | Free |
| Bank account setup | Fees for opening a business bank account for the nonprofit | Free |
| Form 1023 filing fee | Filing fee for obtaining tax-exempt status from the IRS | $0 (for most small nonprofits) or $600 |
| California Franchise Tax Board fee | Filing fee for obtaining tax-exempt status from the California Franchise Tax Board | $25 |
| Filing a Statement of Information (Form SI-100) | For providing updated information about your nonprofit to the California Secretary of State. You have 90 days to do this. | $20, every two years |
How are you going to help? Your business may not engage in political activities and must not overcompensate its members. For Example:
“Our mission is to empower youth in underserved communities by providing access to education, mentorship, and leadership development opportunities. We believe that every young person has the potential to succeed and make a positive impact in their communities, and we strive to create a supportive and inclusive environment that helps them achieve their goals. Through our programs and partnerships, we aim to break down barriers to success and create a more equitable and just society for all.”
The Nonprofit Startup Assessment Tool is a resource provided by Candid, a nonprofit organization that provides tools and information for nonprofits and philanthropy. The tool is designed to help individuals and organizations that are considering starting a nonprofit understand the steps and considerations involved in the process.
To access the tool, simply follow the link below and scroll down to the “Nonprofit Startup Resources” section. From there, you can click on the “Startup Assessment Tool” link to begin the assessment. The tool will walk you through a series of questions about your organization and provide customized guidance based on your responses.
https://learning.candid.org/resources/nonprofit-startup-resources/
Remember that the tool is just a starting point, and there are many other resources available to help you start and run a successful nonprofit. Good luck on your nonprofit journey!
Looking for expert guidance in starting or growing your nonprofit organization? SCORE.org can help! 
SCORE is a national nonprofit organization that provides free mentoring services to small business owners and entrepreneurs, including those in the nonprofit sector. Their experienced mentors can offer valuable insights and guidance on a wide range of topics, from business planning and fundraising to marketing and strategic growth.
To request a mentor for your nonprofit organization, simply visit their website and fill out the Mentor Request Form. This form will help pair you with the best mentor based on your specific needs and goals.
Don’t navigate the world of nonprofit entrepreneurship alone – let SCORE help you achieve your goals! Contact them today to get started. 

Visit their website to learn more and fill out the form: https://www.score.org/find-mentor/request-mentor
A nonprofit ecosystem blueprint is like a business model canvas for nonprofits 
It helps break down key components such as
value proposition,
target beneficiaries,
key activities,
revenue streams and
partnerships. This helps develop a more comprehensive understanding of the organization and create a clear vision, well-designed strategy, and necessary resources to achieve your goals.
| Category | Description |
|---|---|
| KEY PARTNERS | List of organizations, gov’t offices, or individuals to partner with |
| PROGRAMMING | Details on the programming provided to fulfill the mission |
| ORGANIZATIONAL VALUE | Explanation of why the organization is uniquely suited to fulfill its mission and the problems it’s trying to solve |
| CONSUMER RELATIONSHIPS | Strategies for finding consumers to access the programming |
| CONSUMER SEGMENTS | Description of the key demographic for the programming |
| KEY RESOURCES | Physical space, staff, and tools needed to fulfill the mission |
| OUTREACH | Strategies for marketing the organization to consumers and funders |
| COST STRUCTURE | Description of the most expensive elements of the organization and costs that vary with consumer volume |
| FUNDING | Overview of the organization’s funding sources, including committed funding, grants, contracts, and consumer payments |
Check out this free PDF template to create your own nonprofit ecosystem blueprint: https://drive.google.com/file/d/1mL7Y2UI-Axr50HB95T2imbid9TC5gc1O/view?usp=sharing
This is a presentation: https://prezi.com/wwlfmc-poqfn/nonprofit-ecosystem-blueprint/#
Creating a nonprofit ecosystem blueprint can help you communicate your organization’s vision and strategy to stakeholders and ensure that you have a clear path forward for success. 
: Make sure the name you choose is not already in use by another organization in California by checking the California Secretary of State’s database:
: If the name you’ve chosen is available, you can reserve it with the California Secretary of State by filing a name reservation request. This will prevent someone else from using the same name while you’re completing the other steps in creating your nonprofit. The fee for reserving a name in California is currently $10.00.

File the Articles of Incorporation with the California Secretary of State
: To officially create your Nonprofit Public Benefit Corporation in California, you’ll need to file Articles of Incorporation with the California Secretary of State. The Articles of Incorporation must include specific information about your nonprofit, including its name, purpose, and the names and addresses of the incorporators. You can find the form for the Articles of Incorporation on the California Secretary of State’s website:
https://www.sos.ca.gov/business-programs/business-entities/forms/
Once you’ve completed the Articles of Incorporation and submitted them along with the required fee to the California Secretary of State, your Nonprofit Public Benefit Corporation will be officially recognized in California.
The next steps are:
: Your nonprofit will need an EIN, also known as an Employer Identification Number, in order to open a bank account, file taxes, and engage in other financial transactions. You can obtain an EIN from the IRS for free by completing Form SS-4: https://www.irs.gov/forms-pubs/about-form-ss-4 or online at https://sa.www4.irs.gov/modiein/individual/index.jsp
: Once you have obtained an EIN, you can open a bank account for your nonprofit. You’ll need to provide the bank with your nonprofit’s name, EIN, and formation documents, as well as the names and addresses of the individuals who will have signing authority on the account.
: To be recognized as a tax-exempt nonprofit by the IRS, you’ll need to file for tax-exempt status. The type of form you’ll need to file will depend on the type of nonprofit you’re forming, but the most common form for a 501(c)(3) organization is Form 1023:
: If your nonprofit is exempt from federal income tax, you may also be exempt from paying the annual franchise tax fee in California. To claim this exemption, you’ll need to file for tax-exempt status with the California Franchise Tax Board. The fee for filing for tax-exempt status with the California Franchise Tax Board is $25.00. You can find more information on the process of obtaining tax-exempt status in California, including the required forms and fees, on the California Franchise Tax Board website: Note: Charitable organizations that are exempt from federal income tax under section 501(c)(3) of the Internal Revenue Code and that have annual gross receipts that are normally less than or equal to $50,000
are exempt from the $800 state tax minimum, but you must file an exemption detailed above.
Step 2 in creating a nonprofit organization in California involves establishing the governance structure of your nonprofit. This includes creating bylaws and electing a board of directors. Here are the steps involved in step 2:
: Bylaws are the internal rules and regulations that govern the operation of your nonprofit. They outline the responsibilities of the board of directors, the duties of the officers, and the procedures for conducting meetings, voting, and making decisions. You can find sample bylaws for nonprofits online or work with an attorney to draft custom bylaws for your organization.
: The board of directors is the governing body of your nonprofit. It is responsible for setting policies, making decisions, and overseeing the operations of the organization. The size of the board, the qualifications for serving on the board, and the terms of office for directors are all outlined in the bylaws.
: After the bylaws have been adopted and the board of directors has been elected, the board should hold an organizational meeting to adopt policies, elect officers, and make any other decisions necessary to begin the operations of the nonprofit.I can provide you with a step-by-step explanation of filing annual reports for a nonprofit in California:
It is important to note that the annual report is a critical document for maintaining a nonprofit’s good standing with the state. Filing the report on time and with accurate information is essential to preserving the organization’s tax-exempt status. More info here: https://calnonprofits.org/resources/nonprofit-compliance-checklist and here: https://www.irs.gov/pub/irs-pdf/p4221pc.pdf
Filing your first tax return as a nonprofit can be a complex process, but with the right preparation and guidance, it can be manageable. Here is a step-by-step guide to help you file your first tax return as a nonprofit:
By following these steps, you can successfully file your first tax return as a nonprofit and maintain your tax-exempt status. It’s important to note that the specific requirements and procedures may vary depending on the specifics of your organization, so it’s always a good idea to consult with a professional or an attorney to ensure that you are meeting all the necessary requirements.
The Community Foundation of Nevada County
https://www.nevcofoundation.org/
is a nonprofit organization that supports community organizations, schools, and individuals in the Nevada County area of California. 


Sierra Small Business Development Center’s webinars! https://www.sierrasbdc.com/webinars/ Sierra SBDC offers a variety of free online webinars that cover topics such as business planning, social media marketing, and financial management. These webinars are designed to help small business owners and entrepreneurs develop the knowledge and skills they need to succeed. With expert instructors and a wealth of practical insights, Sierra SBDC’s webinars are a great way to stay up-to-date with the latest best practices and trends. Visit their website to see the upcoming schedule and register for a webinar today! 

https://calnonprofits.org/
: The California Association of Nonprofits provides advocacy, resources, and training to help nonprofits succeed in California.
https://ncg.org/
: Northern California Grantmakers provides resources and support to help nonprofits in Northern California.
https://www.philanthropyca.org/
: Philanthropy California provides resources and support to help nonprofits and foundations in California.
https://www.lawfoundation.org/
: The Law Project of Silicon Valley provides legal services and support to help nonprofits and other community organizations.
https://www.cvnl.org/
: The Center for Volunteer & Nonprofit Leadership provides training, resources, and support to help nonprofits in Northern California.
https://svcn.org/
: The Silicon Valley Council of Nonprofits provides advocacy, resources, and support to help nonprofits in the Silicon Valley region.
https://cnmsocal.org/
: The Center for Nonprofit Management provides training, resources, and support to help individuals and organizations start and manage nonprofits in Southern California. They offer a variety of resources and services, including in-person training, consulting, and online resources.These are just a few examples of nonprofits that offer resources and support to help people start and run nonprofits in California. The specific resources and services offered may vary, but these organizations can be a helpful starting point for those seeking support in California.
https://candid.org/
: Candid (formerly known as GuideStar and Foundation Center) is a nationwide nonprofit that provides resources and tools to help individuals and organizations start and manage nonprofits. They offer a variety of training and support programs, including webinars, in-person workshops, and a library of online resources.
https://www.score.org/
: SCORE is a national nonprofit that provides mentoring and resources to help small businesses and nonprofits succeed. They offer free workshops, mentoring, and online resources to help people start and grow nonprofits.
https://www.nonprofitready.org/
: Nonprofit Ready is an online platform that provides free training and resources to help individuals and organizations build and strengthen their nonprofits. They offer courses on topics such as fundraising, board governance, and financial management.
https://taprootfoundation.org/
: Taproot Foundation is a nonprofit organization that connects skilled volunteers with other nonprofits in need of pro bono services. From website design to marketing strategy, Taproot volunteers offer their expertise to help organizations make a bigger impact. Whether you’re a professional looking to give back or a nonprofit in need of support, Taproot Foundation is a fantastic resource. Visit their website to learn more and get involved! 

https://www.hurwitassociates.com/
:Hurwit & Associates is a leading law firm that specializes in nonprofit law, and their Q&A page is a great resource for anyone looking to start a nonprofit foundation. The page covers a wide range of topics, including incorporation, tax-exempt status, fundraising, and governance.The Q&A format is user-friendly and provides clear, concise answers to some of the most common questions about starting up a nonprofit foundation. Whether you’re just getting started or looking to refine your existing foundation, Hurwit & Associates’ Q&A page is a valuable resource to have on hand. 

https://www.nten.org/
: The Nonprofit Technology Network provides resources, training, and support to help nonprofits use technology effectively. They offer a variety of resources and tools, including webinars, online courses, and an annual conference.
https://www.councilofnonprofits.org/
: The National Council of Nonprofits is a nationwide nonprofit that provides advocacy, education, and resources to help nonprofits thrive. They offer a variety of resources and guides on topics such as starting a nonprofit, fundraising, and board governance.
https://independentsector.org/
: Independent Sector is a national nonprofit that provides advocacy, resources, and support to help nonprofits succeed. They offer a variety of resources and tools, including research, policy analysis, and webinars.
https://boardsource.org/
: BoardSource is a national nonprofit that provides training, resources, and support to help nonprofit boards and board members. They offer a variety of resources and tools, including online courses, publications, and consulting services.
https://nff.org/
: The Nonprofit Finance Fund provides financing, consulting, and support to help nonprofits achieve financial sustainability. They offer a variety of financial products and services, including loans, lines of credit, and financial management consulting.
https://www.unitedway.org/
: United Way is a national nonprofit that provides resources and support to help individuals and organizations create positive community change. They offer a variety of programs and initiatives, including fundraising campaigns, community engagement programs, and advocacy efforts.The types of support and resources provided by these nonprofits vary, and not all of the support may be free. Some nonprofits may offer free resources and services, while others may charge a fee for certain programs or services.
For example, some of the resources and training offered by Foundation Center, Nonprofit Ready, and TechSoup are free of charge. Others, such as consulting services or in-depth training programs, may have a fee associated with them.
It’s important to research each nonprofit and the specific resources or programs they offer to determine if there are any associated costs. Some nonprofits may offer scholarships or other forms of financial assistance to help cover the costs of their programs or services.
In general, many nonprofits that offer support to help people start and run nonprofits are committed to providing accessible resources and services to help strengthen the nonprofit sector, so it’s worth exploring the available options to find the best fit for your organization and budget.
https://www.canva.com/design/DAEBTDbDsFc/IJ698pBYbkcK4rbGdb3Lkw/view#1
https://learning.candid.org/resources/knowledge-base/starting-a-nonprofit/
https://www.score.org/philadelphia/resource/article/nonprofit-resources
]]>
: A resource for finding volunteer opportunities in your local community. People are looking for ways to give back to their community and make a positive impact, some may consider checking out their local volunteer center. These organizations provide a wealth of resources and opportunities for volunteers, including information on local volunteer opportunities, resources for volunteer management and coordination, and training and support for volunteers. To find your local volunteer center, simply search online for “local volunteer center” followed by the name of your city or region.
: Free access from your local library.This is not an exhaustive list, nor is it sorted in any particular order. Although, the ones at the top are more generally useful to the nonprofit. Many of them use techsoup.org to verify nonprofit eligibility.
: A nonprofit digital consultancy with resources and expertise available for free. Whole Whale is a nonprofit digital consultancy that provides a range of resources and expertise to organizations looking to maximize their impact through technology. From website design and development to data analysis and strategy, Whole Whale provides nonprofits with the tools and support they need to succeed in the digital age. And the best part? Their resources and expertise are available for free. To learn more about Whole Whale and how they can help your nonprofit, visit https://wholewhale.com/.
: An email marketing platform with a free plan for nonprofits. Mailchimp offers a range of features including email design templates, automation, and analytics. Nonprofits can send up to 12,000 emails to 2,000 subscribers per month for free. Check it out at: https://mailchimp.com/
: A comprehensive marketing, sales, and customer service platform with a free nonprofit plan. Hubspot offers a range of features including website builder, email marketing, and a CRM. Nonprofits can access all the tools for free, with no time limits or restrictions. Learn more at: https://www.hubspot.com/
: A social media management tool with a free plan for nonprofits. Buffer allows nonprofits to schedule, publish, and analyze posts on multiple social media platforms from one place. Nonprofits can access the basic plan for free, including support for three social media profiles. Get started at: https://buffer.com/
: An AI-powered tool for transcribing and recording meetings, available for free to nonprofits. Otter.ai uses AI to transcribe and organize audio and video recordings in real-time. Nonprofits can access 600 minutes of transcription per month for free. Find out more at: https://otter.ai/
: A fundraising platform that is free for nonprofits to use. Givelively offers a range of features including online fundraising pages, donation processing, and donor management. Nonprofits can use the platform for free, with no transaction fees or hidden costs. Get started at: https://www.givelively.org/
: A platform for organizing volunteer events and campaigns, available for free to nonprofits. Mobilize makes it easy for nonprofits to recruit, manage, and mobilize volunteers. Nonprofits can use the platform for free, with no limits on the number of volunteers or events. Sign up at: https://mobilize.us/
: A professional networking platform with a free nonprofit account. LinkedIn is a platform designed for professional networking, connecting millions of professionals from around the world. Nonprofits can take advantage of LinkedIn’s free nonprofit account, which provides access to a wealth of resources and tools to help organizations build their online presence and connect with potential supporters, partners, and collaborators. To learn more about the free nonprofit account offered by LinkedIn, visit https://business.linkedin.com/non-profits.
: A project management tool with a free plan for nonprofits.ClickUp is a comprehensive project management tool that can help organizations of all sizes streamline their workflows and collaborate more effectively. The tool is available for free to nonprofits, offering a range of features and tools to help organizations stay organized and on track, including task management, project tracking, and team collaboration. To learn more about ClickUp and how it can help your nonprofit, visit https://clickup.com/.
: A website design and development platform that offers a free plan for nonprofits. With Webflow, nonprofits can create beautiful, functional websites without having to write code. Nonprofits can take advantage of Webflow’s intuitive design tools, extensive design library, and customizable templates to create a website that meets their unique needs. To get started with Webflow, visit https://webflow.com/
: A code editor and development environment that is available for free to nonprofits. Codesandbox provides a collaborative environment for developers to create and test their code, making it easier for nonprofits to build and maintain their websites and applications. To access Codesandbox, go to https://codesandbox.io/
: A screen and camera recording tool with a free plan for nonprofits. Loom is a screen and camera recording tool that makes it easy to capture and share video content with others. The tool is available for free to nonprofits, providing organizations with a convenient and affordable way to create and share videos for a variety of purposes, including fundraising, marketing, and community engagement. To learn more about Loom and how it can help your nonprofit, visit https://www.loom.com/.
https://www.charitynavigator.org/You don’t pay taxes on communication services if you are certain type of nonprofit.
ewaste drives
https://www.idealist.org/en/fundraising-resources/free-or-low-cost-services
]]>Preparation:
Steps:
More Reading:
Note: This guide assumes that you have already signed up for a Gmail account and Cloudflare account.
Email security is important to protect your organization from phishing attacks and email fraud. There are several email security features that you can enable for your custom domain, including DNSSEC, SPF, DKIM, and DMARC. DNSSEC is a security protocol that authenticates DNS data and can help prevent DNS spoofing attacks. SPF is a security protocol that helps to prevent email spoofing by verifying that email messages come from authorized senders. DKIM is a security protocol that uses digital signatures to verify the authenticity of email messages. DMARC is a security protocol that helps to prevent email spoofing by verifying the alignment of SPF and DKIM policies. Enabling these email security features for your custom domain can help to protect you from email fraud and phishing attacks. As well as make sure that your legitimate email is not marked as spam.

Sign up for a free gmail.com account. Google has the best deliverability, and spam filters in my experience. I’d recommend signing up for cloudflare.com as well. They have the lowest cost domain registration as well. $8/year. They have a really good free account for everything else. They can help you set up the below domain, and email settings:
https://help.17hats.com/en/articles/865530-how-to-ensure-emails-do-not-end-up-in-spam
]]>Note: This is not an exhaustive list, and program names, eligibility criteria, and benefits may vary by state.
I’m consistently amazed at the level of assistant you can get from government, and non-profit organizations if you make less than 21K-40K a year. Here are programs I’ve had personal experience with. Also, some extra money saving tips.
For a comprehensive list of services (Dial 211 or visit www.dial211.com) I feel like their website is very hard to navigate. If it was better than there would be no need for this blog post.
Bottom Line: Minimize buying, but when you do, buy used and buy locally. For instance: Gold Country Craigslist, Nevada County Swap Shop Facebook group, thrift stores, yard sales, and sort by distance on eBay.
We are incredibly lucky. We have an immense good food network. I only eat organic, non-GMO, no sugar and local meat.
TIP: Save your vegetable scraps and meet scraps in the freezer to make vegetable and bone sock respectively.
TIP: Eat your food in the order that it will perish. Regularly eat all the food in your fridge.
TIP: Save your bacon grease. Cook with it, or make soap.
TIP: Nut/seed/grain milk is super easy to make. Kefir/Yogurt. Kombucha/jun. SaurKraut/Kimchi, Sprouts.
More info here: http://211nevadacounty.org/resources/food/
Federal Subsidized housing
Grass Valley First Time Home Buyer Program
Nevada County Habitat For Humanity Homeownership Program
Nevada County weatherization program Project Go call 1-800-655-7705
PGE Weatherization program
Habit for humanity REstore
Regional Housing Authority of Sutter and Nevada County
PG&E Care program – Gives a discount on Electricity and Natural Gas
Project Go For Energy Assistance, please call 1-888-524-5705 – Will pay your PG&E for a year, and/or will provide vouchers for wood, or propane.
Ferrelgas w/ neighborhood association or refurbished tank.
TIP: Composting toilet
TIP: Dryer lint and tp rolls for firestarters
TIP: Dry your clothes on a line!
TIP: Use cold water to wash your clothes.
TIP: If you use the dryer, add a dry towel with your wet clothes to speed up drying, or use wool dryer balls.
California and Federal Lifeline programs – A free cellphone and service, or a discount on your landline. For more info check out my article here: The Cell Phone Guru blog post
(Sprint) Freedompop – 200 Voice Minutes 500 Text Messages 500MB 3G/4G Data with $99 phone +$10 s/, OR activate your own Sprint phone for $20. Not limited to low income users.
Google Voice with Hangouts and dailer- free wifi calling for your smart phones or computers. Not limited to low income users.
MVNO’s: Republic Wireless (Sprint, Verizon, Wifi), Pageplus (Verizon), Airvoice (ATT) Not limited to low income users.
More info here: http://www.cheapinternet.com/low-income-internet
(Sprint) Freedompop – 500MB/month 4G connection free with $30 + $10 s/h hotspot purchase. Not limited to low income users.
(Sprint) Netzero – 200MB/month for a year.$76.90 for device and s/h. Not limited to low income users.
(T-mobile) http://basic-internet.com/everyoneoncampaign/ – $10/month hotspot for $62.51 1.2GB at 4G speed, then unlimited at 3G for month.
(Comcast) http://www.internetessentials.com/ – Most have a child that qualifies for some school lunch program. Actually you have tons of options if you qualify for school lunch programs.
(Sprint) https://yourkarma.com/
(ATT) Sonic – semi-local DSL company
TIP: Gasbuddy
scooter
electric bicycle
bicycle
Medi-cal @ Western Sierra Medical Center General and dentist, vision dr. moon, equine therapy
Women’s health specialist w/ qwest and fee waiver
Minimum insurance or
Pay as you go: Metromile
FirstUS Credit Union – Free checking and savings
River Valley Community Bank – Free checking and savings
Sierra College: FAFSA, Governor Fee Waiver
Nevada City Small Business Loans and Grant
David Nelson – Nevada City CDBG Program Manager
http://nevadacityca.gov/sites/all/modules/tinytinymce/tinymce/jscripts/tiny_mce/plugins/filemanager/files/admin/EconomicDevel.pdf
Sierra commons
Kickstarter Indiegogo, etc…
HangLeft Hosting
Ubuntu
Open source software
Use white vinegar to clean everything
Make your toothpaste
Use soap nuts for soap or make it
Use apple cider vinegar and baking soda to wash hair, coconut oil to condition
coconut oil for all lotion, moistorizer, sunblock
Use reusable toilet rags instead of toilet paper
Petfood: Animalsave program or make your own.
Make cloth bags for bulk items and produce
Store vegetables in cloth bags or dish towels
These are the programs that I personally use. A resourced, single, white male living in Western Nevada County. If you are a person without reliable transportation, a person without a permanent home, a person with two X chromosomes, a person with children, a person with a disability, a person suffering from chronic illness, a person who has suffered violence, a person suffering from addiction, a person that has served in the military, a person with more than 65 years under your belt, of you live in Eastern Nevada County, check out the site below where you will find even more services.
Nevada County Community Resource Directory (available 24 hours a day)
Emergency Assistance Coalition (EAC)
877-847-0499 (Dial 211 / www.dial211.com)
You can view Nevada County’s 2014-2015 Cummunity Action Plan (CAP) that was created so that we could receive the $1.6M Federal CSBG* grant that helps fund these services here: CAP. Note: Each non-profit that applied and was approved got $60K/year for 2 years.
*The Community Services Block Grant (CSBG), administered by the states, provides core funding to local agencies to reduce poverty, revitalize low-income communities and to empower low-income families to become self-sufficient.
]]>A domain name can contain all 26 letters, 10 numbers, and a hyphen (-). You cannot start or end a domain name with a hyphen. Domain names are not case sensitive, so you can use upper and lower case letters interchangeably. A domain name can be up to 67 characters long — including the 4 characters used to identify the Top Level Domain (.net, .com or .org).
A little known fact is that you CAN have multiple dashes right next to each other. (e.g. domain--names.com) Opened up a few more possibilities? There is one restriction: Double Hyphens in the third and fourth position are not allowed. e.g. XX--XXXXXXXX.com. This allows for IDNs and other encodings.
All three letter .com domains are taken. However, there are still 3 character .net and .org domain names.
.com – All three character .com names are registered.
.net – All three letter, or all 3 number names are taken. All LLN (Letter Letter Number) or anything with a hyphen is taken.
.org – All three letter, or all three 3 number names are taken NNN.org, and LLL.org. All L-L.org domains are taken. Checked the N-L.org, L-N.org, and N-N.org. Looks like there are a number of hyphenated 3 charactor .org domains left, but they all contain numbers.
I just wrote and ran a bash scripts to check all three character .org domains.
#!/bin/bash
#All three character .org domains with a hyphen in the middle
for x in {0..9} {a..z}; do
for y in "-"; do
for z in {0..9} {a..z}; do
domnf=""
domnf=$(whois $x$y$z.org|grep "Domain not found.")
if [ "$domnf" == "Domain not found." ]; then
echo $x$y$z.org
fi
domnf=""
sleep 1
done
done
done
Complete list of available hyphenated three character .org (N/L-N/L.org) domain names:
0-5.org
0-8.org
0-c.org
0-e.org
0-h.org
0-i.org
0-j.org
0-l.org
0-m.org
0-q.org
0-s.org
0-t.org
0-u.org
0-v.org
0-w.org
0-y.org
0-z.org
1-d.org
1-e.org
1-f.org
1-l.org
1-n.org
1-p.org
1-r.org
1-s.org
1-u.org
1-y.org
2-8.org
2-9.org
2-e.org
2-f.org
2-i.org
2-j.org
2-l.org
2-m.org
2-n.org
2-p.org
2-w.org
2-x.org
2-z.org
3-1.org
3-j.org
3-n.org
3-o.org
3-t.org
3-u.org
3-z.org
4-1.org
4-b.org
4-f.org
4-g.org
4-n.org
4-o.org
4-v.org
4-x.org
4-z.org
5-0.org
5-8.org
5-9.org
5-c.org
5-e.org
5-f.org
5-j.org
5-l.org
5-n.org
5-o.org
5-q.org
5-s.org
5-t.org
5-u.org
5-w.org
5-x.org
5-y.org
5-z.org
6-2.org
6-8.org
6-a.org
6-b.org
6-c.org
6-d.org
6-f.org
6-g.org
6-h.org
6-i.org
6-j.org
6-k.org
6-l.org
6-m.org
6-n.org
6-o.org
6-p.org
6-q.org
6-r.org
6-s.org
6-u.org
6-w.org
6-x.org
6-y.org
6-z.org
7-2.org
7-b.org
7-e.org
7-h.org
7-j.org
7-l.org
7-n.org
7-o.org
7-p.org
7-s.org
7-u.org
7-v.org
7-w.org
7-y.org
8-1.org
8-4.org
8-7.org
8-a.org
8-c.org
8-e.org
8-f.org
8-g.org
8-j.org
8-l.org
8-m.org
8-n.org
8-r.org
8-t.org
8-u.org
8-v.org
8-w.org
8-x.org
8-y.org
8-z.org
9-1.org
9-8.org
9-c.org
9-e.org
9-f.org
9-g.org
9-i.org
9-j.org
9-k.org
9-l.org
9-m.org
9-n.org
9-o.org
9-p.org
9-q.org
9-r.org
9-s.org
9-t.org
9-u.org
9-v.org
9-y.org
9-z.org
a-6.org
b-5.org
b-6.org
b-8.org
c-2.org
c-7.org
c-9.org
d-0.org
d-4.org
d-5.org
e-0.org
e-6.org
f-0.org
f-6.org
f-7.org
f-8.org
f-9.org
g-6.org
g-7.org
g-9.org
h-0.org
i-6.org
j-0.org
j-7.org
j-9.org
k-0.org
l-4.org
l-5.org
l-9.org
m-0.org
n-0.org
n-4.org
o-3.org
o-5.org
o-9.org
p-0.org
p-2.org
p-4.org
p-6.org
p-7.org
q-0.org
q-2.org
q-3.org
q-6.org
r-0.org
r-7.org
r-8.org
r-9.org
s-6.org
s-8.org
t-5.org
t-8.org
t-9.org
u-0.org
u-3.org
u-5.org
v-0.org
v-1.org
v-3.org
v-7.org
w-1.org
w-4.org
w-7.org
x-6.org
x-8.org
y-0.org
y-1.org
y-8.org
y-9.org
z-0.org
z-3.org
z-4.org
z-5.org
Looks like there are still LNL LLN and NLL .org domains left as well.
#!/bin/bash
#All three character .org domain names with numbers and letters.
for x in {0..9} {a..z}; do
for y in {0..9} {a..z}; do
for z in {0..9} {a..z}; do
dom=""
dom=$(whois $x$y$z.org|grep "Domain not found.")
if [ "$dom" == "Domain not found." ]; then
echo $x$y$z.org >> domainlist.txt
fi
dom=""
sleep 1
done
done
done
inComplete list of available non-hyphenated three character .org domain names: closed my laptop after the letter n.
Here is a report of cost of 3 character domain names for .com .net .org, etc.. http://www.3character.com/price-guide.html
Here is an OK search tool: http://www.namestall.com/3-4-letter-domains
]]>Some advantages of hosting your own custom WordPress website with Docker include: – You have full control over your website and can customize it however you want. – Docker makes it easy to set up and maintain your website. – You can run your website on any platform that supports Docker. – Your website will be more scalable and reliable than if it were hosted on a traditional web server.

Create account, and add domains.
From: https://cloud.google.com/free/docs/free-cloud-features
Set up billing notifications if it goes over $0.03
Compute Engine free tier
1 non-preemptible e2-micro VM instance per month in one of the following US regions:
Oregon: us-west1
Iowa: us-central1
South Carolina: us-east1
30 GB-months standard persistent disk
5 GB-month snapshot storage in the following regions:
Oregon: us-west1
Iowa: us-central1
South Carolina: us-east1
Taiwan: asia-east1
Belgium: europe-west1
1 GB network egress from North America to all region destinations (excluding China and Australia) per month
Your Free Tier e2-micro instance limit is by time, not by instance. Each month, eligible use of all of your e2-micro instance is free until you have used a number of hours equal to the total hours in the current month. Usage calculations are combined across the supported regions.
Compute Engine free tier does not charge for an external IP address.
GPUs and TPUs are not included in the Free Tier offer. You are always charged for GPUs and TPUs that you add to VM instances.
Learn more
From: How to use Cloudflare for Dynamic DNS on Ubuntu 22.04
From: https://docs.docker.com/engine/install/ubuntu/
##Set up the repository
#Update the apt package index and install packages to allow apt to use a repository over HTTPS:
sudo apt-get update
sudo apt-get install
ca-certificates
curl
gnupg
lsb-release
##Add Docker’s official GPG key:
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
#Use the following command to set up the repository:
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
#Install Docker Engine
#Update the apt package index, and install the latest version of Docker Engine, containerd, and Docker Compose, or go to the next step to install a specific version:
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-compose
From: https://carlwillimott.medium.com/quickly-setup-wordpress-ssl-via-lets-encrypt-and-certbot-b29e8abf2072
git clone https://github.com/carlwillimott/docker-compose-wordpress-ssl.git
cd docker-compose-wordpress-ssl
nano -w docker-compose.yml
version: '3.3'
services:
swag:
image: linuxserver/swag
container_name: swag
restart: always
depends_on:
- wordpress
volumes:
- ./config:/config
- ./default:/config/nginx/site-confs/default
environment:
- [email protected]
- URL=blog.jphein.com
- VALIDATION=http
- TZ=America/Los_Angeles
- PUID=1001
- PGID=1002
ports:
- "443:443"
- "80:80"
wordpress:
image: wordpress:latest
container_name: wordpress
hostname: wordpress
depends_on:
- db
restart: always
ports:
- "8080:80"
volumes:
- ./www/:/var/www/html/
- ./custom.ini:/usr/local/etc/php/conf.d/custom.ini
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wp_db_user
WORDPRESS_DB_PASSWORD: wp_db_pass
WORDPRESS_DB_NAME: wp_db
WORDPRESS_CONFIG_EXTRA: |
define( 'WP_MEMORY_LIMIT', '96M' );
db:
image: mysql:5.7
container_name: db
volumes:
- /var/lib/mysql:/var/lib/mysql
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: mysql_root_pass
MYSQL_DATABASE: wp_db
MYSQL_USER: wp_db_user
MYSQL_PASSWORD: wp_db_pass
docker-compose up -d
From: https://bootvar.com/systemd-service-for-docker-compose/
# Write systemd service in
nano -w /etc/systemd/system/mysite.service
[Unit]
Description=Service for mysite
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
WorkingDirectory=/home/jp/jphein.com
Environment=COMPOSE_HTTP_TIMEOUT=600
ExecStart=/usr/bin/env /usr/bin/docker-compose -f /home/jp/jphein.com/docker-compose.yml up -d
ExecStop=/usr/bin/env /usr/bin/docker-compose -f /home/jp/jphein.com/docker-compose.yml stop
StandardOutput=syslog
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Now you have created the systemd service, enable it and start the service. Enabling service will make sure to start this service at server startup.
# will enable service to start at server bootup
systemctl enable mysite
# start service ( Executes ExecStart command )
systemctl start mysite
To be continued…
Go to yourdomain.com
Test SSL: www.ssllabs.com/ssltest/…
Test Pagespeed module: ismodpagespeedworking.co…
Test Varnish: https://isvarnishworking.uk/
Test your server response time: www.bytecheck.com
Should be 500ms or under. Ideally under 200ms.
Test email: https://www.mail-tester.com/
Cloudflare offers this service for free
Free tier
| Cloud Storage | 5 GB-months of regional storage (US regions only)5,000 Class A Operations per month50,000 Class B Operations per month1 GB network egress from North America to all region destinations (excluding China and Australia) per month |
|---|---|
Free Tier is only available in us-east1, us-west1, and us-central1 regions. Usage calculations are combined across those regions. |
Create a bucket in the google cloud console or terminal.
Install gcsfuse
Download .deb package frome: https://github.com/GoogleCloudPlatform/gcsfuse/releases
wget https://github.com/GoogleCloudPlatform/gcsfuse/releases/download/v0.41.6/gcsfuse_0.41.6_amd64.deb
sudo dpkg -i gcsfuse_0.41.6_amd64.deb
Permissions
You may need to run “gcloud init” if your permissions aren’t set up correctly. You may also need to edit your bucket permissions as well.
Mount bucket
From: https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/mounting.md
gcsfuse bucket_name mount_point
#unmount
fusermount -u /path/to/mount/point
Add to fstab to mount on boot
sudo echo "jphfree /home/jp/jphfree gcsfuse rw,_netdev,allow_other,uid=1001,gid=1002" >> /etc/fstab
#Backup script
NOTE: If you want to use duplicity gs: urls then you should follow this guide: https://jphein.com/how-to-use-duplicity-to-backup-directly-to-a-google-cloud-storage-bucket-to-achieve-time-machine-like-incremental-backups-on-ubuntu-15-10-wily/
#Install mysqldump
sudo apt install mysql-client-core-8.0
#Install duplicity
sudo apt install duplicity
nano -w backup
#!/bin/bash
#--A simple backup script
#----Change the variables below to reflect your information
echo "------------------------------------------------------------------"
echo " Website Backups"
echo "------------------------------------------------------------------"
echo "Creating variables..."
printf "$0 <-- Name and path of this script.n"
#Working directory
WD="/home/jp"
printf "$WD <-- Working Directory on local server.n"
echo "------------------------------------------------------------------"
#Google Cloud storage bucket"
printf "A Google Cloud storage bucket is used for longterm storage of incremental backups.n"
BUCKET="jphfree"
printf "$BUCKET <-- Google Cloud storage bucket namen"
echo "------------------------------------------------------------------"
#MySQL database
MYSQL_DB="wp_db"
MYSQL_USER="root"
MYSQL_PASS="db_root_pass"
printf "$MYSQL_DB <-- MySQL Database Namen"
printf "$MYSQL_USER <-- MySQL Database Usernamen"
echo "------------------------------------------------------------------"
#Google Cloud Storage Mount the storage bucket
printf "Mounting Google Cloud storage bucket...n"
gcsfuse $BUCKET $WD/$BUCKET
echo "------------------------------------------------------------------"
#MySQL dump
printf "Dumping MySQL database...n"
mysqldump --opt -h localhost --protocol=tcp --user=$MYSQL_USER --password=$MYSQL_PASS $MYSQL_DB > $WD/mysqldump/database.sql
echo "------------------------------------------------------------------"
#-------Duplicity Backup everything to the bucket
echo "------------------------------------------------------------------"
echo "Backing up data to a Google Gloud storage bucket using duplicity.."
echo "------------------------------------------------------------------"
echo "An incremental backup every day. A full backup every month."
echo "We keep 12 full backups and their corresponding incrementals."
echo "One year of daily back up data!"
echo "------------------------------------------------------------------"
#Clean up in case of aborted backups
duplicity cleanup --no-encryption file://$WD/$BUCKET/backups
#Backup data to bucket
duplicity --progress --no-encryption --exclude $WD/$BUCKET --full-if-older-than 1M $WD file://$WD/$BUCKET/backups
#Delete old backups
#duplicity remove-older-than 1Y --force $SYNC_DIR/$i gs://$BUCKET/$i
duplicity remove-all-but-n-full 12 file://$WD/$BUCKET/backups
#------------------------------------------------------------------------------
chmod 700 backup
#Add to crontab
crontab -e
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').
#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
0 0 * * * /home/jp/backup > /home/jp/backup.log 2>&1
duplicity restore file:///home/jp/jph-backups/backups /home/jp/restored/ --no-encryption
]]>
ATTENTION: I AM NO LONGER HELPING INDIVIDUALS SIGN UP FOR LIFELINE.
For questions call the Lifeline Administration here: https://www.cpuc.ca.gov/consumer-support/financial-assistance-savings-and-discounts/lifeline/california-lifeline-contacts
or, go to the lifeline website here: https://www.californialifeline.com/en
| Lifeline Provider | Cellular Network(s) | Website |
|---|---|---|
| Safelink Wireless | Verizon | https://www.safelinkwireless.com/ |
| StandUp Wireless | T-Mobile | https://www.standupwireless.com/ |
| TruConnect | T-Mobile | https://truconnect.com/ |
| Life Wireless | AT&T, T-Mobile | https://www.lifewireless.com/ |
| TAG Mobile | Verizon, T-Mobile | https://www.tagmobile.com/ |
| Access Wireless | T-Mobile | https://www.accesswireless.com/ |
| SafetyNet Wireless | T-Mobile | https://www.safetynetwireless.com/ |
| Feelsafe Wireless | AT&T | https://www.feelsafewireless.com/ |
| Assurance Wireless | T-Mobile | https://www.assurancewireless.com/ |
| American Assistance | ?Verizon, T-mobile? | https://americanassistance.com/ |
| Infiniti Mobile | ?AT&T,Verizon,T-mobile? | https://www.infinitimobile.com/ |
To create the above list, I cross referenced the California lifeline list here:
https://www.californialifeline.com/en/provider_search and here: https://cnm.universalservice.org/
with the Wikipedia article here:
https://en.wikipedia.org/wiki/List_of_United_States_mobile_virtual_network_operators
NOTE: Since Verizon’s purchase of Movil the owner of Safelink, Net10, tracfone, pageplus. etc.. They only support the Verizon network.
I chose Safelink Wireless, because it is the only lifeline mobile virtual network operator who resells all 3 networks in California. You get unlimited talk, text, and data. As well as unlimited international calling to 69 countries. List of the 69 countries here: https://www.net10wireless.com/ilddestinations
Safelink also supports advanced features, such as: WiFi calling, WiFi texting (RCS), Hotspot, call forwarding, etc..
The SIM card
You will get a T-mobile, Verizon, or AT&T SIM card depending on stock. You can tell by the first 5 numbers of the ICCD # on your phone box:
The phone
NOTE: This information is outdated! You get a better phone now.
The free smartphone is the Alcatel TCL A2:

Full review here: https://tracfoneusermanual.net/tcl-a2-review/
You need proof of address, AND proof of eligibility. Here are some things you can use:
You need one of these :

If your name, DOB, or social security number is not in their database then you’ll need a signed social security card, and a birth certificate, or ID.
AND, you need one of these:
If the address is not a valid residential address, you will need one of the below proofs:
Swipe right to access your home screen
Your new number will be in your text messages from 611611.
Make a call or text once a month to keep the service active.
Charge with included charger.
Look out for the pink letter welcoming your to the program.
Your recertification letter will come in 11.5 weeks.
It will take 5 days for ebb, your unlimited data and international calling to kick in.
Call 611 for customer service
Text ild to 611611 for the info. ItTo make International calls, dial 1-800-584-7652. or, You can download the International Dialer App here: iPhone: http://n10w.co/N9XmBm3 Android: http://n10w.co/NlVGgWq
Cancel it right away if you lose it. 1-800-safelin. Or call them to buy a new phone or sim card. I can give you a new phone 90 days after you cancel your service. Or, you can switch companies to get a new phone right away.
SafeLink uses NET10 sim cards. If you need a new one.
You can almost always port your old number in. It’s a federal law. More info here: https://www.fcc.gov/consumers/guides/porting-keeping-your-phone-number-when-you-change-providers Call 1800-safelin from a different phone.
Text 611611 one of the keywords found here: https://dsweb.safelink.com/611611/help/
SPEED To check if your data speed has been reduced, text the word SPEED to 611611
MINC To change your phone number, text the word MINC to 611611 or click here.
USAGE To see your current usage, text the word USAGE to 611611 or click here.
CHAT To get help through chat, text the word CHAT to 611611 or click here.
SUPPORT If you are experiencing issues with your service, text SUPPORT to 611611 or click here.
APP To download My SafeLink App, text the word APP to 611611 or Download your My Account app here: http://sflnk.co/L71Q4XZ
Free phones Nevada City, Grass Valley, Cedar Ridge, North San Juan, Penn Valley, Chicago Park, Camptonville, etc…
]]>
https://www.ntia.gov/press-release/2021/ntia-creates-first-interactive-map-help-public-see-digital-divide-across-country
]]>The CTF program provides a 25% off voice services and a 50% discount for broadband on select communications services to schools, libraries, hospitals and other non-profit organizations.
The program was established by Decision 96-10-066 on October 25, 1996. In this decision, the California Public Utilities Commission reaffirmed its commitment to universal service, and created the CTF program in accordance with state and federal directives. The program is funded through a surcharge on all customers that purchase intrastate telecommunications services.
Eligible types of nonprofits:
More info here: http://www.cpuc.ca.gov/ctf/
Onced approved, if you have Comcast, you’ll want to send an email to [email protected]. Please make sure to include your account number, CTF approval number, and a PDF copy of your CTF approval letter.
]]>As you can see from the matrix below there are MANY ways of providing desktops to your users.
However, I think this way has many advantages for a Nonprofit. I would recommend it generally, although of course other topographies are more useful in specific situations.
Benefits for a Nonprofit
Terms
Guide
Follow along. At the end of this guide you should be able to plug in any number of old computers without hard drives into your local network. Then have them boot blazingly fast Windows based modern software. Wireless, and remote VPN clients are also supported.
In this setup all thin clients will be sharing a single Windows 2016 Datacenter instance. However, you can provide any number of environments using this method, including huge VDI deployments. My favorite is using LTSP Ubuntu fat client desktops with RemoteApps for seamless cloud integration of necessary windows based proprietary software.
I am using Ubuntu 18.04 Bionic Beaver for the LTSP server, because LTSP does not currently work with Ubuntu 18.10 Cosmic Cuttlefish.* In my case the entire setup was virtualized in the Azure cloud using KVM Virtual Machine Manager for virtual thin clients.
It might look like this:
[Azure Standard D4s v3[[PXE thin client – KVM guest] –> [Ubuntu 18.04] LTSP Server]] –>[Azure Standard NV6 [Windows 2016]]
In real life the more likely scenario would be to install Ubuntu on a bare metal server onsite. Then, install Ubuntu 18.04 inside a KVM vm. Plug a thin client into your network, and configure it for PXE boot in BIOS. It would look a little like this:
[PXE thin client] –> [[Ubuntu 18.10] [Ubuntu 18.04 KVM guest LTSP server]] –> [Firewall] –> [Internet] –> [Azure Standard NV6 [Windows 2016]]
In this guide I will be first showing you how to set up the virtualized system, and then go into some changes you’ll need to make in the field.
Requirements
IPs
After signing up and being accepted to Microsoft Nonprofit, verify your $3500 credit here: https://www.microsoftazuresponsorships.com/Balance
Create your virtual machines here: https://portal.azure.com
Note: DO NO USE accelerated networking on the Ubuntu Server.

LTSP Server
Desktop Server
[jbox]Azure comes with a premade Ubuntu 18.04 image, but if you are doing this in the field you would need to install Ubuntu on your server:
Install Ubuntu 18.04.1 Desktop (Minimal)
If you decide to have a local Windows server instead or in addition to the Azure vm, you’ll need to install Windows locally.
Install Windows 2016 Datacenter
[/jbox]
Configure remote desktop for microphone redirection:
Configure graphics acceleration: https://lg.io/2016/10/12/cloudy-gamer-playing-overwatch-on-azures-new-monster-gpu-instances.html
[jbox]You can find a bash script automating all the below commands here: https://raw.githubusercontent.com/jphein/boxen/master/boxenbrain [/jbox]
To manually install BoXenLinux we will be configuring LTPS using the Chrootless Proxy mode for in the field. It is the easiest of the 4 ways to install LTSP. However, for the Azure cloud we’ll need to install using a chroot.
[jbox color=green]Set a static IP for your wired network interface in the field
Microsoft azure VM comes with the static IP set on your default interface. However, in the field you’ll need to set a static IP address.
https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/netplan-how-to-configure-static-ip-address-in-ubuntu-18-04-using-netplan.html
https://netplan.io/examples
[/jbox]
Optional: Install OpenSSH server
If using the Azure install as the LTSP server, you’ll want to overwrite the existing sshd_config so that you can using password login if you used a key when creating the VM.
sudo apt install ssh
Install LTSP and epoptes (epoptes lets you remote desktop in and help anyone using a thin client), Instructions from http://wiki.ltsp.org/wiki/Installation/Ubuntu:
sudo add-apt-repository --yes ppa:ts.sch.gr #The Greek Schools repository sudo apt install --yes --install-recommends ltsp-server-standalone ltsp-client epoptes
Configure dnsmasq
Note: You may want to edit the /etc/dnmasq.d/ ltsp-server-dnsmasq.conf and add “dhcp-option=3,192.168.122.1” to set a different gateway, but probably not.
sudo ltsp-config dnsmasq --enable-dns
sudo service dnsmasq restart
Add yourself the epoptes group
sudo gpasswd -a ${SUDO_USER:-$USER} epoptes
Was told to remove these packages
sudo apt purge --yes --auto-remove mate-hud snapd
[jbox color=blue title=”Optional: Chroot Install”]
Grab freerdp’s key
cd /etc/ltsp sudo wget http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc
sudo ltsp-build-client --purge-chroot --mount-package-cache --mirror 'http://azure.archive.ubuntu.com/ubuntu/' --apt-keys '/etc/ltsp/ADD6BF6D97CE5D8D.asc, /etc/apt/trusted.gpg.d/ts_sch_gr_ubuntu_ppa.gpg' --extra-mirror 'http://ppa.launchpad.net/ts.sch.gr/ppa/ubuntu bionic main, http://pub.freerdp.com/repositories/deb/bionic/ freerdp-nightly main' --late-packages epoptes-client freerdp-nightly --prompt-rootpass --fatclient
sudo wget https://github.com/jphein/boxen/raw/master/etc/ltsp/ltsp-build-client.conf sudo ltsp-build-client --config ltsp-build-client.conf
You may want to install a new kernel like this one if the azure kernel doesn’t work with all of KVM’s input drivers:
sudo apt-get install linux-image-lowlatency
Then you have to edit the update-kernels.conf file, so that LTSP chooses that one to boot the client.
Create some symlinks so freerdp-nightly is more easy t my lazy scripting
sudo ltsp-chroot ln -s /opt/freerdp-nightly/bin/xfreerdp /usr/bin/xfreerdp-nightly ln -s /usr/share/ltsp/screen.d/xfreerdp /usr/share/ltsp/screen.d/xfreerdp-nightly exit
Create GUI login screen for xfreerdp-nightly (Not updated!)
cd /opt/ltsp/amd64/usr/share/ltsp/screen.d/ sudo wget https://raw.githubusercontent.com/jphein/boxen/master/rdpgui sudo wget https://raw.githubusercontent.com/jphein/boxen/master/xfreerdp-prompt sudo chmod +x rdpgui xfreerdp-prompt
sudo ltsp-update-image
Note: You may get this error on Microsoft Azure VM! https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1802707 hmmmm…. This script seems to fix it:
#!/bin/bash
# tadaen sylvermane | jason gibson
# configure locales for ubuntu bionic ltsp chroot creation
for var in LC_ALL= LANG= ; do
export "$var"en_US.UTF-8
done
ltsp-build-client --chroot "$1"
[/jbox]
[jbox color=green title=”Local Chrootless Install”]
This is the recommended, and simplest install
Install FreeRDP-nightly and client zenity GUI
sudo sh -c 'echo "deb http://pub.freerdp.com/repositories/deb/$(lsb_release -cs)/ freerdp-nightly main" >> /etc/apt/sources.list.d/freerdp-nightly.list' wget -O - http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc | sudo apt-key add - sudo apt update sudo apt install --yes freerdp-nightly sudo ln -s /opt/freerdp-nightly/bin/xfreerdp /usr/bin/xfreerdp-nightly cd /usr/share/ltsp/screen.d/ sudo ln -s xfreerdp xfreerdp-nightly sudo wget https://raw.githubusercontent.com/jphein/boxen/master/usr/share/ltsp/screen.d/rdpgui sudo wget https://raw.githubusercontent.com/jphein/boxen/master/usr/share/ltsp/screen.d/xfreerdp-prompt sudo wget https://raw.githubusercontent.com/jphein/boxen/master/usr/share/ltsp/screen.d/launch sudo mkdir boxen cd boxen sudo wget https://raw.githubusercontent.com/jphein/boxen/master/usr/share/ltsp/screen.d/boxen/welcome cd .. sudo ln -s launch welcome sudo ln -s /sbin/shutdown shutdown sudo chmod +x rdpgui xfreerdp-prompt launch boxen/welcome
Create LTSP client NBD image using the chrootless method of the servers root /
You need to run this any time you make changes to your filesystem you want to be updated in your LTSP client.
sudo ltsp-update-image --cleanup /
[/jbox]
Grab the lts.conf for our thin clients
cd /var/lib/tftpboot/ltsp/amd64/ sudo wget https://raw.githubusercontent.com/jphein/boxen/master/var/lib/tftpboot/amd64/lts.conf
Edit lts.conf to suit your needs
nano -w lts.conf
If you are already using KVM to install Ubuntu in a VM then you don’t need to install it again. However, if you are using a real bare metal server then you’ll need to run the install command.
sudo apt install virt-manager
[jbox]Libvirtd will run dnsmasq on virbr0 by default. We need to kill that instance and restart the global dnsmasq with our LTSP configs. You will need to killall and restart dnsmasq every time you reboot.
###dnsmasq hack for testing sudo mv /etc/dnsmasq.d/libvirt-daemon /root/ sudo sh -c 'echo "dhcp-range=192.168.122.20,192.168.122.250,8h" >> /etc/dnsmasq.d/ltsp-server-dnsmasq.conf #These steps will need to performed again if you reboot sudo killall dnsmasq sudo service dnsmasq restart
[/jbox]
#Create the PXE test KVM client sudo virt-install --name pxe --memory 4096 --vcpus 2 --disk none --pxe --os-variant ubuntu17.10 --wait 0
Connect locally using very nice spice
virt-viewer --connect qemu:///system pxe
Connect remotely using spice
virt-viewer --connect qemu+ssh://[email protected]/system pxe


Tada!!!
lts.conf manpage ltsp-build-client manpage ltsp-update-image manpage ltsp-config manpage ltsp-chroot manpage http://wiki.ltsp.org/wiki/Installation/Ubuntu https://help.ubuntu.com/community/HowToSetupLTSPDevelEnvironment https://github.com/wyllianbs/xfreerdp-gui https://unix.stackexchange.com/questions/119880/make-freerdp-prompt-user-for-username-and-password/187370 http://www.saminiir.com/debugging-pxe-boot/
* Ubuntu 18.10 I previously tried this with Ubuntu 18.10 Cosmic Cuttlefish, and ran into some issues. Mainly the maintainer of LTSP for Ubuntu does not fix anything that is not a LTS release.
Optional Install ltsp-manager
sudo add-apt-repository --yes ppa:franz-die/ltsp-manager; apt update sudo apt install ltsp-manager
Optional: Install X2Go remote desktop software
sudo add-apt-repository ppa:x2go/stable sudo apt-get update sudo apt-get install x2goserver x2goserver-xsessions x2gomatebindings
Optional: Install Ubiquity to install Ubuntu on PXE booted clients or servers
sudo apt-get install ubiquity ubiquity-frontend-gtk
Running it is a manner of running from the client
ubiquity gtk_ui
Optional: Add iPXE to grub menu
apt install grub-ipxe
[jbox]Optional: Set up Firewall with IP Masquerading
Probably won’t need to do this.
First, packet forwarding needs to be enabled in ufw. Two configuration files will need to be adjusted, in /etc/default/ufw change the DEFAULT_FORWARD_POLICY to “ACCEPT”:
sudo nano -w /etc/default/ufw #change DEFAULT_FORWARD_POLICY="ACCEPT"
Then edit /etc/ufw/sysctl.conf,
sudo nano -w /etc/ufw/sysctl.conf
and uncomment:
net/ipv4/ip_forward=1 net/ipv6/conf/default/forwarding=1
Now add rules to the /etc/ufw/before.rules file. The default rules only configure the filter table, and to enable masquerading the nat table will need to be configured. Add the following to the top of the file just after the header comments:
sudo nano /etc/ufw/before.rules
# nat Table rules *nat :POSTROUTING ACCEPT [0:0]
# Forward traffic from eth1 through eth0.
-A POSTROUTING -s 192.168.122.0/24 -o eth0 -j MASQUERADE
# don’t delete the ‘COMMIT’ line or these nat table rules won’t be processed
COMMIT
Allow SSH
sudo ufw allow 22
sudo ufw allow from 192.168.122.0/24 sudo ufw enable
Optional: Install apt-cacher
apt-cacher will cache packages so you don’t waste your time downloading them again again.
sudo apt install apt-cacher sudo nano /etc/apt-cacher/apt-cacher.conf #Uncomment allowed_hosts= *
sudo ufw allow 3142/tcp
sudo sh -c 'echo "Acquire::http::Proxy "http://10.0.0.5:3142"";' > /etc/apt/apt.conf.d/01proxy
sudo /usr/share/apt-cacher/apt-cacher-import.pl -l /var/cache/apt/archives
sudo service apt-cacher restart
Optional: Test with QEMU
Set up virtual bridge for client networking
On the azure VM I was able to use the default virtual bridge virbr0. Just commented out the dnsmasq.d/ file libvirt that prevented dnsmasq from serving IPs on that network. However, testing on a real server I needed to make my own bridge. These commands should not be issued if working on your server remotely. Only a local bare metal install should issue these commands.
sudo ip tuntap add dev virttap mode tap user $USER sudo brctl addbr virtbr sudo brctl addif virtbr eth0 # your LAN interface sudo brctl addif virtbr virttap sudo ip link set virtbr up sudo ip link set eth0 up sudo ip link set virttap up dhclient virtbr
You may need to restart dnsmasq again
sudo service dnsmasq restart
Run QEMU to test your LTSP setup
cd qemu-img create -f vmdk testpxe.vmdk 10
/usr/bin/qemu-system-x86_64 -m 1024 -hda testpxe.vmdk
-boot n
-option-rom /usr/share/qemu/pxe-rtl8139.rom
-net nic
-net tap,ifname=virttap,script=no,downscript=no
]]>