This forum is in archive mode. You will not be able to post new content.

Author Topic: Arch Linux  (Read 6433 times)

0 Members and 4 Guests are viewing this topic.

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Arch Linux
« on: December 29, 2012, 07:26:13 PM »
I'm falling in love with Arch and I know a fair portion of the users on this forum use it. Can you tell me why you moved to Arch? What do you like about it better than other, more traditional OS's like Debian or Ubuntu(other than speed[less abstraction])?
« Last Edit: December 29, 2012, 07:26:49 PM by frog »

Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Re: Arch Linux
« Reply #1 on: December 29, 2012, 11:38:34 PM »
Actually I'm also considering moving to Arch. Got tired of Mint.

Offline Xtatics

  • Serf
  • *
  • Posts: 47
  • Cookies: 0
    • View Profile
Re: Arch Linux
« Reply #2 on: December 30, 2012, 01:05:37 AM »
It's on my to try list. I use Fedora at work with KDE. Yes I'm a rebel, I use KDE. (I've crashed every other WM including XFCE at work). We're stuck on VMs so I can't actually fix the crap that is wrong with them without just starting a whole new profile. But I think I may give Arch a try.
I play the role of a human on earth.

Offline namespace7

  • Sir
  • ***
  • Posts: 561
  • Cookies: 115
  • My Brother's Keeper
    • View Profile
Re: Arch Linux
« Reply #3 on: December 30, 2012, 01:18:08 AM »
arch is amazing, but only as amazing as you configure it to be. So for someone who knows exactly what software and features he wants in his environment, arch is nice. Its also a good way to learn more about linux, as you have to install and set up most things yourself.

Its my second favourite linux distro (after crunchbang).
"A programmer’s greatest enemy isn’t the tools or the boss or the artists or the design or the legacy code or the third party code or the API or the OS. A programmer’s greatest enemy is getting stuck.
Therefore a crucial step to becoming a better programmer is learning how to avoid getting stuck, to recognize when you’re stuck, and to get unstuck." -Jeff Wofford

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Arch Linux
« Reply #4 on: December 30, 2012, 01:51:35 AM »
Its my second favourite linux distro (after crunchbang).
Crunchbang is awesome! You can also try Archbang. They're both good systems for those old computers laying around.
« Last Edit: December 30, 2012, 01:52:37 AM by Snayler »

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Arch Linux
« Reply #5 on: December 30, 2012, 03:21:38 AM »
arch is amazing, but only as amazing as you configure it to be. So for someone who knows exactly what software and features he wants in his environment, arch is nice. Its also a good way to learn more about linux, as you have to install and set up most things yourself.

Its my second favourite linux distro (after crunchbang).


I need control and understanding over my Linux. I am compulsive about configuration and cleanliness. Mint has too many extra sub-systems(is feature-rich) and as a result, runs very slowly compared to Arch or just debian by itself. It depends on what you need to get done. I find Arch's filesystem layout is much friendlier and more straight forward. The only thing I need now is a utility to install official Nvidia drivers to get my HDMI audio working correctly.

I just installed Cinnarch on a Pentium 4 Hyperthreaded(2 logical processors) and 2gb of DDR2. It runs better than a Athlon X2 215(2 physical cores) with 2gb of DDR2 running Mint 13. I like Cinnamon much better on Arch and this will be my official OS because I didn't have to do a whole lot as far as configuration after installation.

The most of my worries were getting some good applications installed(nmap, tor, geany, wireshark, vim, conky) and configuring my usual stuff(.vimrc, .conkyrc, .bashrc, /etc stuff).

I do have one question.. is there a way to add/remove items from init like debian's `update-rc.d -f sshd remove` or `update-rc.d sshd defaults`. I'm talking about the different systemd startup that I'm not used to. If I was disable a service from startup I would probably just chmod u-x <filename>. Is this the right or wrong way?

Offline fluxdaemon

  • Peasant
  • *
  • Posts: 104
  • Cookies: -7
  • Galatians 2:20
    • View Profile
Re: Arch Linux
« Reply #6 on: December 30, 2012, 04:18:59 AM »
Crunchbang is awesome! You can also try Archbang. They're both good systems for those old computers laying around.


I'm using Archbang as I type this :P
It's been my favorite so far


I do have one question.. is there a way to add/remove items from init like debian's `update-rc.d -f sshd remove` or `update-rc.d sshd defaults`. I'm talking about the different systemd startup that I'm not used to. If I was disable a service from startup I would probably just chmod u-x <filename>. Is this the right or wrong way?


Is this what you needed?
https://wiki.archlinux.org/index.php/Daemons
« Last Edit: December 30, 2012, 04:19:45 AM by fluxdaemon »

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Arch Linux
« Reply #7 on: December 30, 2012, 05:38:02 AM »
Well, that pointed me in the right direction as far as describing what I'm looking for..

What I'm trying to do is add/remove items from the daemon list in arch. If I wanted to keep the startup script for later, I suppose it would be best to just make it non-exec and that would do the trick.

Offline fluxdaemon

  • Peasant
  • *
  • Posts: 104
  • Cookies: -7
  • Galatians 2:20
    • View Profile
Re: Arch Linux
« Reply #8 on: December 30, 2012, 05:54:37 AM »
Well daemons are stored in several places


/etc/systemd/system
/usr/lib/systemd/system
/run/systemd/system


To remove them from boot just do:
systemctl disable <service name>


And to stop at runtime do:
systemctl stop <service name>


Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Arch Linux
« Reply #9 on: December 30, 2012, 06:01:08 AM »
That's helpful; thank you. I don't want to kill at runtime though, I want to set it up so that I keep something from running at boot time or so that I can start something at boot time.
« Last Edit: December 30, 2012, 06:03:14 AM by frog »

Offline fluxdaemon

  • Peasant
  • *
  • Posts: 104
  • Cookies: -7
  • Galatians 2:20
    • View Profile
Re: Arch Linux
« Reply #10 on: December 30, 2012, 06:05:44 AM »
To start or stop something from running at boot just do

systemctl enable/disable <service name>


not sure if you have to be root or not though
« Last Edit: December 30, 2012, 06:06:58 AM by fluxdaemon »

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Arch Linux
« Reply #11 on: December 30, 2012, 06:15:34 AM »
Wow, that's easy. When I searched for the sshd.service file I found out everything I needed to know. The .service file is the initscript and it calls the daemon right out of /usr/sbin/. Thank you for the reply fluxd.

One more question. If there are multiple directories for your daemons(.service files), how does systemctl know where to look to read them and enable or disable them?

EDIT: Being able to add/remove from startup and enable/disable in runtime from the same command == glorious :) also you have to be root.
« Last Edit: December 30, 2012, 06:19:17 AM by frog »

Offline fluxdaemon

  • Peasant
  • *
  • Posts: 104
  • Cookies: -7
  • Galatians 2:20
    • View Profile
Re: Arch Linux
« Reply #12 on: December 30, 2012, 06:20:12 AM »
Yea, no problem


It knows that daemons will be in those directories and keeps track of what's enabled and disabled


If you just type


systemctl


It will list all of the services, what state they're in and a description for each one


systemctl enable/disable and systemctl start/stop are different though
enable/disable will change if they start at boot and start/stop will only change the service until you reboot
« Last Edit: December 30, 2012, 06:24:24 AM by fluxdaemon »

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Re: Arch Linux
« Reply #13 on: December 30, 2012, 06:23:25 AM »
Fair enough. It's safe to assume those directories are hard coded into the program.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Arch Linux
« Reply #14 on: December 30, 2012, 09:56:25 AM »
Welcome to club archlinux.
If you got any specific questions in the future ; been arch user for ~ 1 year.


Im still running initscripts.
Gonna move to systemD soon , when I have a stable Inet connection.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.