| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> Redragon^ hey coder of gnuhh ;) <0> unix timestamp? how do i get the in unix command? <0> echo "my text inside a file" >>`date +%N` <0> the users will create a file in the same directory, do you think there is a chance they can get the same filename? <1> %s is unix timestamp <0> since im using nanoseconds, it is impossible to have same filename right? <0> am i correct? <2> hiyas <0> Redragon^ random 6 digits? does unix have a one-liner command for that? <2> got a small problem ;) <3> $random? <3> Not sure if it'll be six digits <2> libz.so*1: cannot open shared object file: No such file or directory <3> or how to make it n length <0> hehe dang? <2> using fc5 , did nothing to get to this... maybe except installing flash player for opera and mozilla
<0> echo $random displays nothing <3> that's using bash. <0> yes how dang? <3> [dan@webdev ~]$ echo $RANDOM <3> 789 <0> oh right <0> ok all caps <1> ting-init no it isn't impossible <1> nothing is impossible, even my method isn't impossible <0> hehe ok <1> just more improbable than even using nano seconds <1> i think of it in a scalability view <0> why more improbable than nanoseconds? <0> scalability? <1> yes <0> another english word for scalability pls? im no good in english <1> if you have 1 user creating files then timestamp is probably sufficient <1> as most people dont do 2 things at once <1> but if you look at gnuhh which can handle 200,000 domains across hundreds of servers via a single (or multiple) client interfaces <1> you greatly increase the potential for duplication <1> so to reduce this potential i add a 6 digit randomly generated number along side the time stamp <1> the odds that 2 people will hit the exact same randomly generated number at the exact same time is much less probable than 2 users creating a file at the exact same time <0> timestamp like date +%s, is this right? <1> yes <0> ok what about adding $$ or process id ? <1> i go a bit further to increase it even more by adding something specific to it like a user id or a domain id because then it would have to be 2 users on the same domain, at the same time, with the exact same randomly generated 6 digit number <1> very improbable that this will happen :) <1> but my system does create many temporary files <1> grr enter key <3> unF. <3> haha <3> if you find any, let me know. <1> you can't hide it from me forever, i want those millions.... <3> ;) <1> oh well, off to bed, need sleep :) <3> 'nite. <1> gnight <2> danq, have a few seconds ? <0> Redragon^ what distro are you using? <4> nooooooooo, you must stay awake forever! <4> and I'm hungry <0> ubuntu cant install gnuhh <1> ting i use centos <0> gave me lots of error <1> and ubuntu shouldn't have any problems installing it <1> what kind of errors? <0> chkconfig <0> chkconfig is for redhat like <1> ubuntu doesn't have chkconfig <0> i used that ./install.sh <1> hmm odd, it shouldn't do anything with chkconfig unless you tell it the installer the system has a rh based init system <1> when that question comes up (though i wouldn't think it would) just answer no to it <0> ubuntu is more like debian right? <1> yup <0> and centos is more like redhat <1> see the install.sh should test for the directory /etc/sysconfig (which is on rh based distros) <1> if that directory doesn't exist it should ***ume right off that its not a rh based distro and skip the chkconfig stuff <1> if it does see it for some strange reason and asks if its a redhat based distro just say no <0> ok ill try that again later
<1> yes centos is a rebuild of RHEL <1> i need more machines and more isos <1> ahh it asks that anyways, just make sure you answer n to it and you shouldn't have any issues with it <1> i will probably spit out 2.02 monday or tuesday <1> a few small glitches i wanna address like a packaging error on last release <1> i haven't gotten much in the way of bug reports back on last release so dont have much in the way of fixes <1> okay laters all <2> anyone still here ? <0> what does ' exit 0 ' mean in bash shell scripting? <5> pst! <0> is this correct in bash shell scripting? if [ $1 -eq 1 ] <6> ting-init: shouldn't it be s/]/] ;? <7> Hello <6> hiya <7> not if it's in a shell script rather than on the command line <6> i think i specifically remember having to added ;'s after my loops/branches when shell scripting <6> s/added/add <6> i could be mistaken though <6> i don't bash script too often really <8> I have centos 4.2 and I am wanting to install the Kernel Source, I have never done this and I am a newbie can anyone help please <5> No_Nick31: look for the kernel-devel <8> So the Kernel Source is the Kernel Devel? <9> isn't it kernel-source? <6> isn't the package name distro-dependent? <5> No_Nick31: what im trying to tell is if you need the source you also need the devel..lols <9> sinthetek: it is most of the time <7> why not fetch the sources from kernel.org ? <8> *blush* spot the newbie <6> kernel.org sources haven't had a chance to be mutilated ...err, i mean patched, by distro maintainers yet :P <7> yes, that's true <7> but it doesn't *always* matter <6> kuto: i've never heard of kernel development tools outside of kernel source and regular build utils (make, gcc, etc) <6> s/tools/packages <6> it rarely matters, heh. i nearly always download source from kernel.org <2> libz.so*1: cannot open shared object file: No such file or directory , can someone help ? <7> I'm surprised that a newbie would go for CentOS rather than Fedora Core .. or something not RH derived like the current media star child Ubuntu <6> but some people still prefer their distro's stuff... either cuz it's patched or cuz it's packaged neatly in rpm <3> Elvis-wrk, is zlib installed? <2> yup <7> sinthetek: so do I <3> where is it located? <6> isn't ubuntu debian-based? :P <6> i thought sentos was rh-based and ubuntu wasn't <2> [root@elvis-wrk RPMS]# whereis zlib <2> zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz <6> s/sentos/centos, lol <10> it is debian based. <6> ahhhh <3> that's not libz.so, Elvis-wrk. <3> which distro, Elvis-wrk/ <3> ? <6> yeah, i knew that <2> fc5 <6> sorry, i'm just waking up :P <3> yum install zlib <2> yum crashes <3> .. <3> fix it <2> [root@elvis-wrk RPMS]# yum <2> There was a problem importing one of the Python modules <2> required to run yum. The error leading to this problem was: <2> libz.so*1: cannot open shared object file: No such file or directory <3> define "crashes" <3> Excellent. What did you do? <3> updatedb && locate libz.so <2> nothing ? :D <3> what does that say <2> [root@elvis-wrk RPMS]# locate libz.so <2> /usr/lib/libz.so <2> /usr/lib/libz.so.1 <2> /usr/lib/libz.so.1.2.3 <6> 1x25 :D
Return to
#linuxhelp or Go to some related
logs:
#php teacher likes going barefoot ubuntu flasplayer plugins #AllNiteCafe Copilul de Aur - Fac ce vrei tu hakutzu #linux #linux linux chmod rwt 00yeah
|
|