Line 5: |
Line 5: |
| you can find my own smeserver wiki ( in French) http://smeserver.pialasse.com | | you can find my own smeserver wiki ( in French) http://smeserver.pialasse.com |
| | | |
| + | ==input model== |
| + | <inputbox> |
| + | type=create |
| + | preload=Contrib/Template |
| + | buttonlabel=Create |
| + | inline=true |
| + | break=no |
| + | </inputbox> |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | |create a new page for a regular package : |
| + | |<inputbox> |
| + | type=create |
| + | preload=Contrib/Template |
| + | buttonlabel=Create |
| + | inline=true |
| + | break=no |
| + | </inputbox> |
| + | |- |
| + | |create a new page for a smeserver-* package : |
| + | |smeserver-<inputbox> |
| + | type=create |
| + | preload=Contrib/Template-smeserver- |
| + | buttonlabel=Create |
| + | inline=true |
| + | break=no |
| + | </inputbox> |
| + | |} |
| + | |
| + | ==table== |
| | | |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 14: |
Line 45: |
| |} | | |} |
| | | |
| + | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> This text is not collapsible; but the next is collapsible and hidden by default: <div class="mw-collapsible-content">{{Lorem}}</div> </div> |
| + | ==Available Contribs for sme9 (with a page)== |
| + | |
| + | {{#ask: [[Version::~*9]] [[Category:Contrib]] |
| + | |format=ul|link=all|headers=show|columns=3|limit=150 }} |
| | | |
− | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> This text is not collapsible; but the next is collapsible and hidden by default: <div class="mw-collapsible-content">{{Lorem}}</div> </div>
| |
| | | |
| + | ==Available Contribs for sme9 in smetest == |
| + | |
| + | {{#ask: [[Version::Devel9]] [[Category:Contrib]] |
| + | |format=ul|link=all|headers=show|columns=3|limit=150 }} |
| + | |
| + | |
| + | ==Available Contribs for sme9 in smedev == |
| + | |
| + | {{#ask: [[Version::Alpha9]] [[Category:Contrib]] |
| + | |format=ul|link=all|headers=show|columns=3|limit=150 }} |
| + | |
| + | ==Not Available Contribs for sme9 (with a page)== |
| + | |
| + | {{#ask: [[Version::!~*9]] |
| + | |format=ul|link=all|headers=show|columns=3|limit=150 }} |
| + | |
| + | ==tests== |
| | | |
| Version: Contrib8 pas Contrib9 | | Version: Contrib8 pas Contrib9 |
Line 74: |
Line 126: |
| yum remove postfix -y | | yum remove postfix -y |
| | | |
− | /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public
| |
− | /sbin/e-smith/signal-event remoteaccess-update
| |
− | config setprop httpd-admin ValidFrom YOURIP/255.255.255.255
| |
− | /sbin/e-smith/signal-event post-upgrade
| |
| #to avoid being locked out in case | | #to avoid being locked out in case |
| unlink /etc/e-smith/events/post-install/S10init-passwords | | unlink /etc/e-smith/events/post-install/S10init-passwords |
| /sbin/e-smith/signal-event post-install | | /sbin/e-smith/signal-event post-install |
| /sbin/e-smith/db accounts setprop admin PasswordSet yes | | /sbin/e-smith/db accounts setprop admin PasswordSet yes |
| + | /sbin/e-smith/config set PasswordSet yes |
| rm /service/*/supervise/control -f | | rm /service/*/supervise/control -f |
| # configure your server correctly | | # configure your server correctly |
Line 89: |
Line 138: |
| set your admin password | | set your admin password |
| passwd admin | | passwd admin |
| + | |
| + | /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public |
| + | /sbin/e-smith/signal-event remoteaccess-update |
| + | config setprop httpd-admin ValidFrom YOURIP/255.255.255.255 |
| + | /sbin/e-smith/signal-event post-upgrade |
| + | |
| + | last time |
| + | find /var/service/ -type f -iname control -exec rm {} \; |
| | | |
| and reboot | | and reboot |
| | | |
| /sbin/e-smith/signal-event reboot | | /sbin/e-smith/signal-event reboot |
| + | |
| + | ==== create a raid lvm aside ==== |
| + | I had a couple of drive in an external eSATA dock. So first I removed one, put the new storage drive and create a degraded RAID1+ LVM |
| + | mdadm --create /dev/md4 --level=raid1 --raid-devices=1 /dev/sde --force |
| + | pvcreate /dev/md4 |
| + | vgcreate nasdrive /dev/md4 |
| + | lvcreate -L 1.1T -n video nasdrive |
| + | lvcreate -L 500G -n music nasdrive |
| + | lvcreate -L 2T -n backup nasdrive |
| + | lvreduce -L 400G /dev/nasdrive/music |
| + | lvresize -l +100%FREE /dev/nasdrive/video |
| + | mkfs.ext4 /dev/nasdrive/backup -L backuppc |
| + | mkfs.ext4 /dev/nasdrive/music -L music |
| + | mkfs.ext4 /dev/nasdrive/video -L video |
| + | then copy files from needed drives |
| + | |
| + | then umount the drives : |
| + | umount /dev/nasdrive/* |
| + | unmount /dev/oldrives |
| + | vgchange -a n nasdrive |
| + | mdadm --stop /dev/md4 |
| + | change disk in the dock |
| + | mdadm --assemble --scan |
| + | vgchange -a y nasdrive |
| + | mdadm --grow /dev/md4 --add /dev/sdc --raid-devices=2 |
| + | mdadm --add /dev/md4 --add /dev/sdc |
| + | |
| + | then final step fill fstab to have it mounted on boot. |
| + | |
| + | sources |
| + | * https://linoxide.com/how-tos/how-extend-resize-lvm-partition-linux/#3_Resizing_filesystem |
| + | * https://linoxide.com/linux-how-to/lvm-configuration-linux/ |
| + | * [[Raid]] |
| + | * https://forums.centos.org/viewtopic.php?t=65165 |
| + | *http://ryandoyle.net/posts/expanding-a-lvm-partition-to-fill-remaining-drive-space/ |