Likewise tips
/usr/centeris/bin/domainjoin-cli join DOMAIN USERNAME service sshd restart service likewise-open restart
All Things Cain
Archive for the ‘UNIX’ Category.
/usr/centeris/bin/domainjoin-cli join DOMAIN USERNAME service sshd restart service likewise-open restart
When I first set up CainManor on slicehost, e-mail wasn’t working. The solution, based on this thread, was to install postfix.
apt-get install postfix -Install postfix
edit /etc/postfix/main.cf
mydomain = cainmanor.com
myorigin = cainmanor.com
mynetworks_style = host
service postfix start -start the service to see if it works as expected.
chkconfig –list postfix - make sure it will start on boot. The default install takes care of this
nmap -sP 10.1.1.0/24
When I need to find an open IP, this is a decent way to do it. I wish there were a way to find IPs that don’t respond, but this works for now. This won’t work if your network bans ICMP traffic, or your host doesn’t respond, but is alive.
Now that we have the OS ready for the wordpress install, let’s finish up…
Continue reading ‘Wordpress 2.5 on a fresh CentOS 5.0 install - Part 2’ »
I’m doing this on my new host - Slicehost (more about that later.) It’s VPS, which gives you a clean install of your choice of Linux Operating Systems (they have seven or eight choices.) In this case, I’m using CentOS, since it’s close to what we use at work.
Continue reading ‘Wordpress 2.5 on a fresh CentOS 5.0 install - part 1’ »
Let’s you use correct syntax on your code snippets, or rather - keeps WordPress from fucking up your code.
Download from here. To use, wrap your code with
<pre lang="LANGUAGE" line=”1″>and</pre>
line=”1″ is optional. This is based on syntax highlighting from GeSHI. You can visit their page for a full list of supported languages. The ones I care about are - or rather, may care about in the future:
find your public SMB shares with findsmb
findsmb
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
———————————————————————
10.0.0.4 NAS +[CAINMANOR] [Unix] [Samba 3.0.22]