[
05:48am
]
brocebeats
:
god damn it
[
05:49am
]
brocebeats
:
ok
[
05:49am
]
x4h
:
<x4h> type in "whereis yum"
[
05:49am
]
x4h
:
<x4h> does it give: "yum: /some/random/path/yum"
[
05:49am
]
brocebeats
:
yup
[
05:49am
]
brocebeats
:
do you want that dir?
[
05:49am
]
x4h
:
nope
[
05:49am
]
x4h
:
netstat -an | grep 80 | grep LISTEN
[
05:50am
]
x4h
:
does that come up with anything?
[
05:52am
]
brocebeats
:
nope
[
05:52am
]
brocebeats
:
it just goes back to the origional thing
[
05:52am
]
brocebeats
:
hold on
[
05:52am
]
brocebeats
:
how do i switch users
[
05:53am
]
brocebeats
:
never mind got that
[
05:53am
]
x4h
:
ok as root
[
05:54am
]
x4h
:
type:
[
05:54am
]
x4h
:
yum -y install httpd php mysql mysql-server php-mysql
[
05:54am
]
x4h
:
(or paste)
[
05:54am
]
x4h
:
[
05:54am
]
brocebeats
:
hold on it says i need to be root
[
05:54am
]
x4h
:
<x4h> ok as root
[
05:55am
]
x4h
:
if your logged in as the other uer
[
05:55am
]
x4h
:
type "su -"
[
05:55am
]
x4h
:
put in root pwd
[
05:55am
]
x4h
:
and it should give you root
[
05:56am
]
brocebeats
:
ahhh its doing something
[
05:56am
]
brocebeats
:
this remid
[
05:56am
]
brocebeats
:
this reminds me of playing hitchhikers guide to the galaxy
[
05:56am
]
x4h
:
lol
[
05:57am
]
brocebeats
:
Complete!
[
05:57am
]
x4h
:
type "service httpd start"
[
05:57am
]
x4h
:
and then type in the IP of your box into your browser
[
05:57am
]
x4h
:
you should get the default apache page
[
05:58am
]
brocebeats
:
YAY
[
05:58am
]
x4h
:
ok "service mysqld start"
[
05:58am
]
x4h
:
should start your mysql server as you will need a database for torrentflux
[
05:59am
]
brocebeats
:
ok got the database going
[
05:59am
]
x4h
:
k well you now have php, mysql and the webserver running
[
05:59am
]
brocebeats
:
should i still be in root?
[
05:59am
]
brocebeats
:
cool
[
06:00am
]
brocebeats
:
i did all that with like 3 lines
[
06:00am
]
brocebeats
:
awesome
[
06:00am
]
x4h
:
yeah, yum is great
[
06:00am
]
x4h
:
can install a fair amount of things auto
[
06:00am
]
x4h
:
doing that all yourself would have taken hours if you were to compile them
[
06:00am
]
brocebeats
:
holy shit
[
06:00am
]
brocebeats
:
i like yum
[
06:01am
]
x4h
:
umm I got to head out for an hour or so, if you want to continue you want to look into running apache as another user
[
06:01am
]
x4h
:
and moving the document root into that users directory
[
06:01am
]
•
x4h
hmmz
[
06:01am
]
x4h
:
unless it does it already
[
06:02am
]
x4h
:
you also want to install an ftp server
[
06:02am
]
x4h
:
meh, prob wait till im back unless you feel brave
[
06:02am
]
brocebeats
:
i will look but i will probably not fuck with anything untill you get back
[
06:02am
]
x4h
:
play around with yum and see how it works
[
06:02am
]
brocebeats
:
k
[
06:02am
]
x4h
:
things like "yum search xyz" will show you matches for that
[
06:03am
]
x4h
:
i.e. yum search php, will show you all the php packages it has
[
06:03am
]
x4h
:
you can also remove with yum
[
06:03am
]
x4h
:
bbiaf
[
06:03am
]
brocebeats
:
later