i'm not bad at linux but I don't know too much about server stuff so i'm wondering what packages should I install to my minimum debian server
currently i'm thinking of:
openssh-server
rtorrent (for more linux distros obviously)
trickle (i don't want all my linux distro torrents taking all my house internet down)
can't think of anymore
so is there anything I can use so that I can go into windows explorer and play movies and stuff from my server in windows explorer from my other computer
also, i need some other good packages to stick in
[QUOTE=cryticfarm;27271102]i'm not bad at linux but I don't know too much about server stuff so i'm wondering what packages should I install to my minimum debian server
currently i'm thinking of:
openssh-server
rtorrent (for more linux distros obviously)
trickle (i don't want all my linux distro torrents taking all my house internet down)
can't think of anymore
so is there anything I can use so that I can go into windows explorer and play movies and stuff from my server in windows explorer from my other computer
also, i need some other good packages to stick in[/QUOTE]
Samba for filesharing, and use transmission instead of rtorrent, it has a nice web GUI and you can connect to it remotely with Transmission Remote GUI, which is cross platform (it also has a built in upload/download limiter)
Depending on all you are interested in doing, you could add in media streaming (there's a million apps for this), Web server bits for local testing, etc.
Transmission requires X11-dependancies, and you need to have a GUI up to even have it running, as far as I know.
Waste of RAM. The web interface is nice though.
[QUOTE=blaze_r20;27266982]I can't repost, but the short and nasty version should more or less be
[code]
sudo apt-get install tasksel samba smbfs
sudo tasksel (run through the quasi-graphical setup for SSHd, it's extremely straightforward)
sudo mkdir /my/shared/folder
sudo nano /etc/samba/smb.conf
[set up the config as needed, guide at [url]https://help.ubuntu.com/10.10/serverguide/C/samba-fileserver.html#samba-fileserver-configuration [/url]]
sudo /etc/init.d/samba restart
[/code]
[url]http://www.ubuntugeek.com/how-to-install-and-configure-compiz-fusion-in-ubuntu-9-10karmic.html[/url] will take you through basic graphical setup. Ubuntu should detect graphic drivers and offer them as restricted - it'll have a pop-up icon on the start bar, otherwise you'll need to do some research.[/QUOTE]
Does it work with mint?
You know shit has hit the fucking fan when Yum determines ftp.funet.fi is the fastest mirror available.
And why the fuck does control-c never fucking work, yum update failing all over the place due to nameserver failure, I'm fucking spamming control-c and the piece of shit isn't stopping.
[QUOTE=nikomo;27260768]You need to open it as root (you might be familiar with the sudo command).[/QUOTE]
I just give up it is far to hard, For me anyway.
[QUOTE=nikomo;27277927]You know shit has hit the fucking fan when Yum determines ftp.funet.fi is the fastest mirror available.
[/quote]
Why is that bad?
[quote]
And why the fuck does control-c never fucking work, yum update failing all over the place due to nameserver failure, I'm fucking spamming control-c and the piece of shit isn't stopping.[/QUOTE]
[code]
sudo pkill yum
[/code]
You said you were spamming control-C. You're supposed to press it twice in a row, but I don't know how close together you were spamming it.
ftp.funet.fi sucks dicks, basically everyone downloads from it, and by spamming I mean holding the control down and pressing the c-key 10 times a second.
In yum's defense, I think the entire machine locked up at that point.
I got it working now, for some reason I had no nameservers defined, which is why Internet access was failing.
[QUOTE=nikomo;27277220]Transmission requires X11-dependancies, and you need to have a GUI up to even have it running, as far as I know.
Waste of RAM. The web interface is nice though.[/QUOTE]
Transmission-cli
I thought that died a long time ago?
Am I right in saying that by the time init is called only the FS holding /, /sbin and /boot is guaranteed to have loaded?
[QUOTE=nikomo;27284249]I thought that died a long time ago?[/QUOTE]
Transmission-cli is still alive. Not sure if it's part of the main transmission or if it's a separate package, but you don't need X11 to run it.
How is it done?
Is it just the GUI version, but with the GUI stripped out and CLI added, or is it just some stripped down version that doesn't have some features like WebUI?
It's a full featured torrent server with an optional Web GUI.
How does one restart MySQL on CentOS? I have it all installed and running, but it isn't listed in services nor can I find it at /etc/init.d/.
if you can't figure it out you could always just reboot
Yeah, but I'm a bit afraid of doing that.
I'm currently running a website with some ~30 active users (an uploading site) and if the MySQL doesn't start at all, and I have no clue how to start it, it may be a bit of a problem.
Does MySQL always run as a service, or...? Grepping "mysql" from ps x returned the following:
[code] 4891 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --user=mysql[/code]
[QUOTE=Dragory;27296783]How does one restart MySQL on CentOS? I have it all installed and running, but it isn't listed in services nor can I find it at /etc/init.d/.[/QUOTE]
I just installed MySQL on my CentOS server and I have /etc/init.d/mysqld. (I use PostgreSQL)
Try reinstalling mysql-server and/or mysql, that may bring back your init script.
I also pastebin'd my init script if you'd rather just copy that.
[url]http://pastebin.com/Cy5Ht1P0[/url]
not entirely sure to be honest, I don't use mysql, as postgres is vastly superior
[QUOTE=PvtCupcakes;27297255]I just installed MySQL on my CentOS server and I have /etc/init.d/mysqld. (I use PostgreSQL)
Try reinstalling mysql-server and/or mysql, that may bring back your init script.
I also pastebin'd my init script if you'd rather just copy that.
[url]http://pastebin.com/Cy5Ht1P0[/url][/QUOTE]
I don't seem to have mysqld_safe either at /usr/bin.
Interesting...
[editline]9th January 2011[/editline]
Wait, the process I pasted earlier implies that I have that file. What.
[editline]9th January 2011[/editline]
I also haven't removed anything myself.
If you run arch:
sudo /etc/rc.d/mysqld start
or restart
Got it working by reinstalling (10 times - did something wrong almost each time).
Apparently I hadn't done mysql_install_db on the first time or something. Not sure how it even started, but now it works.
Thanks for the help!
[QUOTE=nikomo;27259358]Huh, funny.
Even after doing an rm -rf /* as root, exit worked. Everything else was obviously broken because the programs had been deleted.
At least the uptime on that machine can be stupidly high since you literally cannot run any programs on it. Can't even SSH into it.[/QUOTE]
i was speaking to a consultant the other day, he was telling me how his dimwitted offsider accidentally rm -rf'd an entire company's SCO Unix ERP system from root as root
thankfully they had good backup systems and disaster recovery to recover, with about a day worth of extra work.
thing is, the guy responsible for it mustn't have had the balls to admit the mistake and was nowhere to be found, the guy said he must have taken off and changed careers or something because the fella was never heard from again, he left the project site without anyone knowing or anything.
the two things I took from this
always pwd when root
always admit your mistakes, they may not be as bad as you initially imagine
[QUOTE=HubmaN;27285782]Am I right in saying that by the time init is called only the FS holding /, /sbin and /boot is guaranteed to have loaded?[/QUOTE]
Yeah.
init then calls the boot scripts to mount /sys /dev and such, then calls udev. The root file system is then re-mounted as rw and the rest of the boot scripts are called, ending with login shells being spawned on each VT.
/dev/sdc1 is mounted
Refusing to make a filesystem here
reckon the disc is fucked?
[QUOTE=Roo-kie;27311104]/dev/sdc1 is mounted
Refusing to make a filesystem here
reckon the disc is fucked?[/QUOTE]
You create filesystems when the disk isn't mounted.
yeah i just realized that
bit of an oversight on my part
[editline]10th January 2011[/editline]
ta
I want to use Linux, but i'm unsure what distribution to get, and all this talk is confusing me, is Linux as confusing as it sounds?
[QUOTE=Theorisable;27332907]I want to use Linux, but i'm unsure what distribution to get, and all this talk is confusing me, is Linux as confusing as it sounds?[/QUOTE]
no
It is if you want it to be.
Install Ubuntu, the simplest general-use distro, and you may never have to see a terminal, and it will walk you through installing side-by-side with an existing Windows partition.
Install Gentoo, and, well, you're screwed
Sorry, you need to Log In to post a reply to this thread.