Search results

  1. fender0107401

    Can we make a perl script to download everything from a mirror and make a mirror?

    One more question, can I do some similar things to create a private mirror to run freebsd-update. I known freebsd-update may only need to download and update a few files, bu I still hope can make a private mirror to update the base system.
  2. fender0107401

    Can we make a perl script to download everything from a mirror and make a mirror?

    Can I config an Nginx Server to share this private mirror? I am not sure whether the pkg tool can access to this private mirror with Nginx. Here is the plan: Step 1 is to download everthing and make a private mirror wike pkg-repo. Step 2 is to share this private mirror with other FreeBSD...
  3. fender0107401

    Can we make a perl script to download everything from a mirror and make a mirror?

    This is the mirror I want to copy: https://mirrors.ustc.edu.cn/freebsd-pkg/ I hope I can make a private mirror for FreeBSD 13 or 14. So, can I just download everything and make a private mirror?
  4. fender0107401

    Solved Whether the $_POST variable is reliable for a multiple PHP call?

    I fond this page: https://www.php.net/manual/en/language.variables.superglobals.php Several predefined variables in PHP are "superglobals", which means they are available in all scopes throughout a script. There is no need to do global $variable; to access them within functions or methods...
  5. fender0107401

    Solved Whether the $_POST variable is reliable for a multiple PHP call?

    Page A run js (ajax post) to call a back end php script PA and the script use $_POST['foo'] to get the parameter (assume here foo = 1024). Page B run js (ajax post) to call a back end php script PB and the script use $_POST['foo'] to get the parameter (assume here foo = 2048). If same user...
  6. fender0107401

    Solved Help, need a regex to delete multi-line comments.

    I need a regex to delete the multi-line comments from the source code. The comments are general C++ comments, as the follows: /* * * */ I use the following command to delete the empty lines, and I also need a regex to delete the multi-line comments. perl -pi -e "s/^\s*$//" file_name
  7. fender0107401

    How to make a local mirror for FreeBSD.

    I will find a way to work around it.
  8. fender0107401

    How to make a local mirror for FreeBSD.

    I need a local mirror server, because I need an FreeBSD cluster (run ZFS and PostgreSQL). For Debian system, the local mirror can easily be created with the apt-mirror tool. Is there some tools to create a local mirror for FreeBSD to run freebsd-update and pkg commands, so the entire cluster...
  9. fender0107401

    How can I run 2 commands simultanionsly?

    Google multi-thread.
  10. fender0107401

    Using FreeBSD as Desktop OS

    FreeBSD is also good for desktop users.
  11. fender0107401

    Need some high resolution BSD logo pics.

    Hi all, I need some high resolution logo pictures (as follows) to make some art works (yes art work!).
  12. fender0107401

    Can't destroy virtual machine.

    in /etc/rc.conf vm_enable="YES" vm_dir="/data_pool/bhyve" root@PC-bhyve:~ # vm destroy vm-freebsd-00 Are you sure you want to completely remove this virtual machine (y/n)? y root@PC-bhyve:~ # ls /data_pool/bhyve/ .config .img .iso .templates vm-freebsd-00...
  13. fender0107401

    How to get freebsd-boot partition size and partition lable?

    For an installed FreeBSD system, I just need to know: 1.freebsd-boot partition size 2.all the lables of disk partitions
  14. fender0107401

    Run pkg with https is official supported?

    http://mirrors.ustc.edu.cn/help/freebsd-pkg.html Sorry, most guys around here can't read that. This page recommends to install security/ca_root_nss and use pkg+https instead of pkg+http with the pkg command. I tested that and it looks fine. So, I just want to know that run pkg command with...
  15. fender0107401

    One simple question: can I install Nvidia official driver without linux support?

    I got a new system and it has a 4K screen. I ran Win10 with this system a few weeks, and it is not stable (the screen will randomly blink and blink). I also ran Debian Linux with this system, and it is quite stable, the screen will not blink at all. Now I want to try this system with FreeBSD...
Back
Top