Skip to content

Arch Server Progress

Chitchat
  • I have my arch server web host setup and running. I have Nginx, Mariadb, PHP, PHP-fpm and phpmyadmin. I have each website under it’s own user in the home directory to keep the sites separate and more secure. I have to say that it was a lot of fun to set it up and I have been learning a lot in regards to arch linux and setting things up and such.

    I am currently in the process of installing the email server using postfix, dovecot and postfixadmin. By setting this up manually, I have been learning a lot with how an email server works and such. One of the things I have learned is that most of the tutorials are for Debian or Ubuntu or one of the other more popular OSs. I have been using a tutorial not for Arch but then also referencing Arch instructions to complement the tutorial.

    It has been a lot of fun. I have been updating my dev environment every couple of day and verifying that things are working. Then once a week I have been updating my production server. I update my dev environment every couple of days so that if I need the latest update for security reasons or what have you, I can do the update on the production server sooner to cover whatever may be happening.

    I know I have a lot more to learn and look forward to that as well. So far this has been a fun journey and I look forward to learning more.

  • @Madchatthew I have to admire the bravery here in the sense that not only are you using Arch without any real “hard and fast” guides, but also are doing everything individually instead of relying on something like Webmin or Virtualmin. Whilst this is daunting, it’s absolutely the best way to learn in my view, as it forces you to roll up your sleeves and get under the hood.

    Postfix and Dovecot can equally prove to be very challenging. There are a number of guides on the internet in relation to best configuration settings, although some of these are sadly either outdated, or completely wrong (or in some cases, both!).

    All in, a great update - keep us posted! 🙂

  • @phenomlab Yeah, they are both very challenging. I’m not completely done with setting them up yet and have a ways to go. I can see how using Webmin/Virtual min is really nice because they take care of all that stuff for you. It is nice to learn and see how everything works under the hood. I don’t know if I will remember all of it, but I have enjoyed going through this process.

    I am able to send emails from my server now, so I am doing something right, hahaha! I would say that I am about 1/2 way done with the whole email server setup. This has been spending anywhere from 2 to 4 hours on it at a time. My schedule doesn’t allow me to sit and get it done all in one day. I never realized how involved and time consuming setting up an email server can be.

  • good job 🙂

  • @DownPW said in Arch Server Progress:

    good job 🙂

    Thank you very much!

  • I just installed Redis today and am using that for caching with the two Wordpress sites that I have on my server. I wanted to install Redis anyways in case if I ever start using Nodebb I can have the multiple sessions going to make it faster.

    The wordpress sites run super fast as well after adding and configuring them to work with Redis. I need to configure Redis a little more but for the most part it is working great.

  • @Madchatthew yes, it takes time, but no so much once you grow accustomed to the process. After a while you get a sense of what will work and what will not, and it also pays - certainly in the sense of PostFix to keep a golden configuration file that you know works.

    It’s disturbingly easy to take PostFix offline with one single mistake.

  • @phenomlab yeah I have been reading about that as well in regard to Postfix. One little piece forgotten or changed in any little way can topple the whole thing down haha. It is crazy. And also, thank you for reminding me that once I get everything working and running to make a copy of those config files. That will help in the future and just may save my bacon.

  • I wanted to give an update on this. I have been working on trying to get a postfix, dovecot along with a couple of other programs working on this server. So far I have been unsuccessful. I am not giving up though and plan on starting a new thread to document each step that I take. Maybe someone will be able to see my mistake that I made or what I am missing and be able to help figure it out.

    I know it would be easier to just go through one of the mail websites that are out there, but I would really like to learn this process.

  • @Madchatthew Feel free to post the issues here 🙂

  • Well, I must say that I was finally able to get email working on my Arch server. I still need to setup postgrey and some spam assassin, get the dmarc and spf and one or two others setup and then it should be good to go for the most part. I am mainly using it to be able to send mail from websites, but having the option to have a separate email for their domains will be very nice.

    Once my brain solidifies after all of that, I will share what what I did. One thing I found is that it is important to just take it piece by piece and get each part working before moving on to the next. Also, test test test after each change, or each section.

  • I also wanted to post this. Here are the latest stats for the server so far. This is with all of the software setup and running along with doing updates once a week after testing them on my dev test server and making sure websites function properly.

    image.png


Related Topics
  • Linux on a Stick

    Linux
    8
    5 Votes
    8 Posts
    125 Views

    @phenomlab I will do that. I am hoping to buy it within the next week or two.

  • Linux Certification

    Linux
    4
    2 Votes
    4 Posts
    115 Views

    @Madchatthew You might be sorry you asked 🙂 This is the mentoring category below. Presently, it’s unused, but we have a dedicated area for it.

    https://sudonix.org/category/8/mentoring

    Other services

    https://sudonix.org/services

  • Arch Linux + Me = Crazy

    Unsolved Linux
    10
    0 Votes
    10 Posts
    169 Views

    @Madchatthew hmm, yes, that might be problematic.

  • Rename videos in bulk - linux commands

    Unsolved Tips
    12
    4 Votes
    12 Posts
    685 Views

    @Hari Yes, that’s one (of many) I would recommend. It’s going to be easier to do this under Windows and the fact that you are already connected using SMB is a huge plus.

  • Wasting time on a system that hangs on boot

    Blog
    3
    1 Votes
    3 Posts
    383 Views

    @Panda said in Wasting time on a system that hangs on boot:

    Why do you prefer to use KDE Linux distro, over say Ubuntu?

    A matter of taste really. I’ve tried pretty much every Linux distro out there over the years, and whilst I started with Ubuntu, I used Linux mint for a long time also. All of them are Debian backed anyway 😁

    I guess I feel in love with KDE (Neon) because of the amount of effort they’d gone to in relation to the UI.

    I agree about the lead and the OS statement which is why I suspect that Windows simply ignored it (although the Device also worked fine there, so it clearly wasn’t that faulty)

  • Linux vs Windows - who wins ?

    Blog
    8
    4 Votes
    8 Posts
    370 Views

    @phenomlab LOL ah yes, I remember all of that. The good ole days!

  • SSl expired on virtualmin

    Solved Configure
    18
    3 Votes
    18 Posts
    1k Views

    @justoverclock Not necessarily. You only need to use this if it fails from the Virtualmin window

  • 2 Votes
    28 Posts
    3k Views

    @phenomlab said in Advantages and disadvantages of changing to Ubuntu?:

    @jac Yeah, I wouldn’t just leap into it unless you have a valid reason (such as the laptop no longer working and needing to be reinstalled). Probably better the devil you know currently.

    Absolutely mate, and generally as discussed that is the only time I have changed over to Ubuntu once the laptop has got slower.

    For now I will carry on with Windows, purchase the VPN & BitDefender in later October / early November and then see how all that runs for a few more months 👍🏻.