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.
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...
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?
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...
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...
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
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.