Archive for October, 2008
IRC
by st373n on Oct.28, 2008, under IRC
So what is IRC, well i know it some sort of messaging platform, one of the earliest around.
My goal to learn what and how to use it, what apps, what commands, and what servers and rooms.
Is it just text, is there video, is there voice.
So far ive installed Colloquy as my IRC client, it looks the easiest to get to grips with.
So the most popular servers are listed and quick google will find some, so i added three that i thought would be interesting to Colloquy, a IRC server for a podcast i listen to, a server for a tv listing website and a server for a forum about irc.
So problems so far, it looks as though you need to register with some servers / roms and you do this by sending a private message to a server bot in a kind of backwards way, ok so my nickname that I’m logged into the server with is what Ive entered into colloquy but that does not stop someone else using that so i need to register it on the server, so i send this backwards message to the nickserver and its like this
/msg nickserv register mypass myemail@address.com
so im telling it what password i want and what my email address is but now what i want for my username because im currently logged in with it allbeit without authenticating yet, almost immediately i get a response back giving success that the nickname im logged in with now belongs / is registered to me.
now so i don’t have to identify myself each time i start up Colloquy i need to add the command
/msg nickserv identify mypass
to Colloquy connection window so it send the login info when it starts the connection.
This worked for two of the servers i registered with the third still requires me to manually enter the command /msg nickserv identify mypass and yet still does not recognise that i have registered, perhaps this server is just slow or perhaps I’m doing something incorrect i will have to work it out.
A Fresh Install
by st373n on Oct.06, 2008, under Asterisk
OK Well fresh install of Leopard 10.5 retail dvd on macbook, the goal to build a clean environment with the usual web bits, php, pear, mysql etc and then the asterisk bits before going on to load it up with usual day to day apps and data.
So first up was the wipe of the harddrive and the install from retail dvd of leopard 10.5, and then the developer tools from the same disk. Next a software update from apple to bring the base os up to date.
Then repeated the software update after a reboot to find any more files, to more updates.
Next up i copied a couple of useful tools from my main machine over to the laptop, Symlinker – a contextual menu plugin for quickly creating symbolic links of files, and a script to toggle hidden files in Leopard on and off.
No next i couldn’t recall if when i last installed mysql i had built it from source or not, so this time i downloaded the latest community edition from the mysql website (version 5.0.67-osx10.5-x86) and installed it along with the startup script and system preference pane and widget, the widget was copied across from my main machine., i added the mysql path to my bash_profile with
echo ‘export PATH=/usr/local/mysql/bin:$PATH’ >> ~/.bash_profile
in the terminal, then executed the mysql_secure_install script setting a root password and removing remote access to the database and deleting the example database.
php is already installed with leopard now so there was no need to install that, but i did need to edit the apache config to tell it to load php there is only one line to edit in /etc/apache2/httpd.conf and that was to remove the hash from the line loading the php5 module.
next up was to install pear, the php extensions by going to curl pear.php.net | get-pear.php in the terminal, following thru the automated process and just editing three variables when promted to
/usr/local$prefix/bin$prefix/share/pearthen a quick edit of /etc/php.ini to include the path to pear of /usr/local/share/pear
Next installed phpMyAdmin to configure the databases and also leech a download manager.
configured PhpMyAdmin with my mysql details and socket path and logged into it.
created a database for wordpress and a user for it.
downloaded wordpress and installed it into blog folder.
configuring it now, ok so has a problem with not being able to connect to mysql, need to resolve that by either editing loads of files to point to where it lives in leopard with apache 2 or fix it a simpler way, well last time i symlinked /tmp/mysql.sock to var/mysql/mysql.sock so i will do that as its quick n easy, and yep all works now ( hence this post to remind me in future when i forget or need to do it all again. )
next up will be to install some more apps, first though growl and appzapper are two of my frequently used.
Well thats it for now so the base install is complete. later this week i will compile and install asterisk on the new system with the goal to get it bundled in one place so its easier to manage, the standard install tend to throw files into lots of different places, im thinking somewhere like /usr/asterisk would be nice for the whole install although thats gona require some hacking around with the build paths.