OpenSSL Upgrade
|
1 2 3 4 5 6 7 8 9 |
wget http://www.openssl.org/source/openssl-0.9.7b.tar.gz tar -xvzf openssl-0.9.7b.tar.gz cd openssl-0.9.7b ./config make make test make install |
|
1 2 3 4 5 6 7 8 9 |
wget http://www.openssl.org/source/openssl-0.9.7b.tar.gz tar -xvzf openssl-0.9.7b.tar.gz cd openssl-0.9.7b ./config make make test make install |
|
1 2 3 4 5 |
> useradd [username] > passwd [username] --> will be prompted to enter initial password > chage -d 0 [username] |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
http://www.proftpd.org > wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.gz > tar -xvzf proftpd-1.2.9.tar.gz > cd proftpd-1.2.9 > ./configure --prefix=/usr/local --sysconfdir=/etc \ --localstatedir=/var/run > make > make install > cd contrib/dist/rpm > cp proftpd.init.d /etc/init.d/proftpd > chmod 755 /etc/init.d/proftpd > cp proftpd.logrotate /etc/logrotate.d/proftpd > cp ftp.pamd /etc/pam.d/ftp > groupadd nogroup Edit /etc/proftpd.conf a. Comment out the section from: <Anonymous ~ftp> to </Anonymous> b. Add the following line to the end of the file: DefaultRoot ~ Save the modified config file. > chkconfig --add proftpd > chkconfig --level 345 proftpd on > service proftpd start |
Here are some services that I like to turn off on RedHat:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
chkconfig --level 2345 netfs off service netfs stop chkconfig --level 2345 pcmcia off service pcmcia stop chkconfig --level 2345 isdn off service isdn stop chkconfig --level 2345 portmap off service portmap stop chkconfig --level 2345 nfslock off service nfslock stop chkconfig --level 2345 rhnsd off service rhnsd stop chkconfig --level 2345 xfs off service xfs stop chkconfig --level 2345 cups off service cups stop chkconfig --level 2345 vncserver off service vncserver stop |
Reliable Penguin provides managed web hosting, systems administration, website and server migrations, and expert consulting.
Submit the form—or for immediate service call 866-649-7984.